1. Technology
Send to a Friend via Email
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

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.