1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: enable
Command Library

NAME

disable, enable - stop/start printers and classes  

SYNOPSIS

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

DESCRIPTION

enable starts the named printers or classes.

disable stops the named printers or classes. The following options may be used:

-c

Cancels all jobs on the named destination.
-r [ reason ]

Sets the message associated with the stopped state. If no reason is specified then the message is set to "Reason Unknown".

The -E option forces encryption when connecting to the server.  

SEE ALSO

accept(8), cancel(1), lp(1), lpadmin(8), lpstat(1), reject(8), CUPS Software Administrators Manual, http://localhost:631/documentation.html  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

More from About.com

  1. Home
  2. Computing & Technology
  3. Linux

©2008 About.com, a part of The New York Times Company.

All rights reserved.