*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> enable (1)              


 enable(1)                                                         enable(1)

 NAME    [Toc]    [Back]
      enable, disable - enable/disable LP printers

 SYNOPSIS    [Toc]    [Back]
      enable printers

      disable [-c] [-r[reason]] printers

 DESCRIPTION    [Toc]    [Back]
      The enable command activates the named printers, enabling them to
      print requests taken by lp.  Use lpstat to find the status of printers
      (see lp(1) and lpstat(1)).

      disable deactivates the named printers, disabling them from printing
      requests taken by lp.  By default, any requests that are currently
      printing on the designated printers are reprinted in their entirety
      either on the same printer or on another member of the same class.
      Use lpstat to find the status of printers.

    Options    [Toc]    [Back]
      disable recognizes the following options:

           -c             Cancel any requests that are currently printing on
                          any of the designated printers.

           -r[reason]     Associate a reason with the deactivation of the
                          printers.  This reason applies to all printers
                          mentioned up to the next -r option.  If the -r
                          option is not present or the -r option is given
                          without a reason, a default reason is used.
                          reason is reported by lpstat.  The maximum length
                          of the reason message is 80 bytes.  reason message
                          of length greater than 80 bytes is truncated to 80

    Environment Variables
      LANG determines the language in which messages are displayed.

      If LANG is not specified or is null, it defaults to C (see lang(5)).

      If any internationalization variable contains an invalid setting, all
      internationalization variables default to C (see environ(5)).

    International Code Set Support    [Toc]    [Back]
      Single- and multibyte character code sets are supported.

 EXAMPLES    [Toc]    [Back]
      Enable printer snowwhite to accept requests:

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 enable(1)                                                         enable(1)

           enable snowwhite

      Deactivate printer snowwhite and cancel any logged jobs:

           disable -c snowwhite

 WARNINGS    [Toc]    [Back]
      If the restrict cancel feature (selected by the lpadmin -orc option -
      see lpadmin(1M)) is enabled, and the user is neither administrator nor
      the owner of the currently printing request on the designated printer,
      disable ignores the -c option.

      enable and disable perform their operation on the local system only.

 FILES    [Toc]    [Back]

 SEE ALSO    [Toc]    [Back]
      lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rcancel(1M),
      rlp(1M), rlpdaemon(1M), rlpstat(1M).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
glDisableClientState Tru64 enable or disable
glEnableClientState Tru64 enable or disable
glcenable IRIX enable or disable GLC capabilities
keyok OpenBSD enable or disable a keycode
keyok FreeBSD enable or disable a keycode
mvGetTrackEnable IRIX Enable/Disable a track
acct HP-UX enable or disable process accounting
configAutoLogin IRIX enable or disable auto login
SSL_CTX_set_session_cache_mode Tru64 Enable or disable session caching
SSL_CTX_get_session_cache_mode Tru64 Enable or disable session caching
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service