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.

Author: Dozshura Bak
Country: Slovenia
Language: English (Spanish)
Genre: Career
Published (Last): 15 March 2018
Pages: 18
PDF File Size: 7.76 Mb
ePub File Size: 1.36 Mb
ISBN: 864-6-50756-949-4
Downloads: 68756
Price: Free* [*Free Regsitration Required]
Uploader: Ket

The double meaning of the -E option is an unfortunate historical oddity. The CUPS web interface “http: The CUPS sample drivers the “drv: Enables the destination and accepts jobs; this is the same as running the cupsaccept and cupsenable programs on the destination.


Each line contains the backend “class” followed by the backend name or a full printer device URI, for example:. The value is an integer number of kilobytes; one kilobyte is cupz. The first form of the command -d sets the default printer or class to destination.

Also to list all the available ports or interfaces available to configure the printer can be displayed using lpinfo command:. Sets the binary communications program to use when cus, “none”, “bcp”, or “tbcp”. Use the -m option with the lpinfo command to get a list of supported models. The direct class of backends is used for directly-connected printers such as USB and Bluetooth.


This configuration information is stored in several cusp including printers.

lpadmin(8) – Linux man page

Specifies a PostScript Printer Description file to use with the printer. The default program is “none”. This option cannot be specified with the -P option PPD cyps and is intended for providing support for legacy printer drivers. The value is the integer number of pages that can be printed; double-sided pages are counted as two pages.

Command-Line Printer Administration

Use the -v option with the lpinfo command to get a list of supported device URIs and schemes. Sets the error policy to be used when the printer backend is unable to send the job to the fups.

The lpadmin command is used to create, modify, or delete a class. For troubleshooting purposes, you can access CUPS server errors via the error log file at: If the error log does not show enough information to troubleshoot any problems you encounter, the verbosity of the CUPS log can be increased by changing the LogLevel directive in the configuration file discussed below to “debug” or even “debug2”, which logs everything, from the default of “info”. Sets a standard System V interface script or PPD file for the printer from the model directory or using one of the driver interfaces.

The default error policy is “stop-printer” for printers and “retry-current-job” for classes.

Enter the following at a terminal prompt to install CUPS: Subsequent print jobs submitted via the lp or lpr commands will use this destination chps the user specifies otherwise with the lpoptions command. The default value is “true”. PPD options can be listed using the -l option with the lpoptions 1 command. For security reasons, CUPS won’t authenticate a user that doesn’t have a password.


The name must be defined lpwdmin the cupsd.

To install CUPS on your Ubuntu computer, simply use sudo with the apt command and give the packages to install as the first parameter. Cu;s information on contributing see the Ubuntu Documentation Team wiki page. The latter two forms turn user-level access control off. When specified before the -d-por -x options, the -E option forces encryption when connecting to the server.

The name must be one of “abort-job”, “retry-job”, “retry-current-job”, or “stop-printer”. Upon authenticating with your user password, the packages should be downloaded and installed without error. If cuos resulting class becomes empty it is removed.

CUPS can be configured and monitored using a web interface, which by default is available at http: The default error policy is “stop-printer” for printers and “retry-current-job” for classes. Sets the device-uri attribute of the printer queue.

The specified port monitor must be listed in the printer’s PPD file.