Only the most commonly used options of the CUPS lpadmin command are shown here. For information about other options, see the lpadmin(8) man page. CUPS stands for Common UNIX Printing System. lpadmin is a command line tool used to configure printer and class queues provided by. CUPS manages print jobs and queues and provides network printing using the . root account enabled on your server, or authenticate as a user in the lpadmin.
|Published (Last):||17 January 2005|
|PDF File Size:||10.95 Mb|
|ePub File Size:||3.1 Mb|
|Price:||Free* [*Free Regsitration Required]|
A complete CUPS install has many package dependencies, but they may all be specified on the same command line. The web interface lpadin be used to perform all printer management tasks. For example, if you are the Administrator for the CUPS server, and your e-mail address is ‘bjoy somebigco.
To remove a printer from the class you can use the lpadmin command as cu;s in the below example:. These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time.
Specifies a PostScript Printer Description file to use with the printer.
Cjps printing system log files track the activity of the scheduler, printer drivers, and backends. The value is the integer number of pages that can be printed; double-sided pages are counted as two pages. Names starting with ” ” are interpreted chps UNIX groups.
The default value is “true”. The first form of the command -d sets the default printer or class to destination.
The default program is “none”. The second form of the command -p configures the named printer or class. Deprecated Options The following lpadmin options are deprecated: The latter two forms turn user-level access control off.
Sets a standard System V interface script or PPD file for the printer from the chps directory or using one of the driver interfaces. To remove a CUPS printer from the printer configuration file, you can use the -x option as shown below:.
For troubleshooting purposes, you can access CUPS server errors via the error log file ,padmin The default operation policy is “default”. Sets a System V style interface script for the printer.
CUPS can be configured and monitored using a web interface, which by default is available at http: Interface scripts are not supported by CUPS. The direct class of backends is used for directly-connected printers such as USB and Bluetooth.
Printing — MacAdmins Community Documentation documentation
Two cupsctl options control the general printer sharing features:. The additional options are described below.
Sets the page limit for per-user quotas.
PPD options can be listed using the -l option with the lpoptions command. The name must be one of “abort-job”, “retry-job”, “retry-current-job”, or “stop-printer”. Port Listen on port on all interfaces. Finally, the CUPS version of lpadmin may ask the user for an access password depending on the printing system configuration.
The cupsctl 8 program is used to manage the printing system as a whole, including things like debug logging and printer sharing. The default value is “true”. To enable listening for all network interfaces for which a certain hostname is bound, including the Loopback, you could create a Listen entry for the hostname socrates as such:.
This differs from the System V version which requires the root user to execute this command. For information on contributing see the Ubuntu Documentation Team wiki page. Subsequent print jobs submitted via the lp 1 or lpr 1 commands will use this destination unless the user specifies otherwise with the lpoptions 1 command.