Home OS X
OS X Syntax

enable /disable

Stop or start printers and classes.

SYNTAX
      disable [ -E ] [ -c ] [ -h server ] [ -r reason ] destination(s)

      enable [ -E ] destination(s)

Options
       -c  Cancel all jobs on the named destination.
	  
       -r [ reason ]
	    Set the message associated with the stopped state. If no reason
	    is specified then the message is set to "Reason Unknown".

       -E   Force encryption when connecting to the server.

enable starts the named printers or classes.
disable stops the named printers or classes.

"Kids always brighten up a house; mostly by leaving the lights on" - Rodney Dangerfield

Related commands:

lpr - Print files
lprm
- Remove jobs from the print queue
lpstat - Printer status information

Equivalent BASH command:

enable
- stop/start printers and classes.



Back to the Top

Simon Sheppard
SS64.com