IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > enable man page

enable man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                           enable(1)



NAME
     enable, disable - enable/disable LP printers

SYNOPSIS
     /usr/bin/enable printer...

     /usr/bin/disable [-c | -W]  [ -r [reason]] printer...

DESCRIPTION
     The enable command  activates  printers,  enabling  them  to
     print  requests  submitted by the lp command. enable must be
     run on the printer server.

     The disable command  deactivates  printers,  disabling  them
     from  printing  requests  submitted  by  the  lp command. By
     default, any requests that are currently printing on printer
     will  be  reprinted  in  their entirety either on printer or
     another member of the same class of  printers.  The  disable
     command must be run on the print server.

     Use lpstat -p to check the status of printers.

     enable  and  disable  only  effect  queueing  on  the  print
     server's  spooling  system.  Executing these commands from a
     client system will have no effect on the server.

OPTIONS
     The following options are supported for use with disable:

     -c              Cancels  any  requests  that  are  currently
                     printing  on  printer. This option cannot be
                     used with the -W option. If the  printer  is
                     remote,  the  -c  option  will  be  silently
                     ignored.



     -W              Waits  until  the  request  currently  being
                     printed   is   finished   before   disabling
                     printer. This option cannot be used with the
                     -c  option. If the printer is remote, the -W
                     option will be silently ignored.



     -r [reason]     Assigns a reason for the  disabling  of  the
                     printer(s).   This  reason  applies  to  all
                     printers specified. This reason is  reported
                     by lpstat -p. Enclose reason in quotes if it
                     contains  blanks.  The  default  reason   is
                     "unknown  reason"  for the existing printer,
                     and "new printer" for a printer added to the



SunOS 5.10           Last change: 9 Sep 1996                    1






User Commands                                           enable(1)



                     system but not yet enabled.



OPERANDS
     The following operand is supported for both enable and  dis-
     able:

     printer         The name of the printer  to  be  enabled  or
                     disabled. Specify printer using atomic name.
                     See printers.conf(4) for information regard-
                     ing the naming conventions for atomic names.



EXIT STATUS
     The following exit values are returned:

     0               Successful completion.



     non-zero        An error occurred.



FILES
     /var/spool/lp/*         LP print queue.



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWpcu                     |
    |_____________________________|_____________________________|
    | CSI                         | enabled                     |
    |_____________________________|_____________________________|


SEE ALSO
     lp(1), lpstat(1), printers.conf(4), attributes(5)









SunOS 5.10           Last change: 9 Sep 1996                    2





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:24:36 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (4765 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (4617 hits)
(Solaris 10 11_06)

CPAN man page (4352 hits)
(Suse Linux 10.1)

ssh man page (4196 hits)
(Suse Linux 10.1)

svn man page (3410 hits)
(FreeBSD 6.2)

startproc man page (1957 hits)
(Suse Linux 10.1)

pprosetup man page (1745 hits)
(Solaris 10 11_06)

netcat man page (1697 hits)
(Suse Linux 10.1)

signal man page (1686 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (1661 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: Touch Sensor Chip :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum