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: Kajibar Kezil
Country: French Guiana
Language: English (Spanish)
Genre: Technology
Published (Last): 25 March 2016
Pages: 183
PDF File Size: 3.41 Mb
ePub File Size: 8.4 Mb
ISBN: 227-1-98032-728-3
Downloads: 59107
Price: Free* [*Free Regsitration Required]
Uploader: Mukora

Sets the IPP operation policy associated with the destination. Sets a PPD option for the printer.

If specified, this option overrides the -i option interface script. Finally, the CUPS version of lpadmin may ask cusp user for an access password depending on the printing system configuration. The default program is “none”. The lpadmin command communicates with the scheduler cupsd to make changes to the printing system configuration.

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

When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. Sets the page limit for per-user quotas. A complete CUPS install has many package dependencies, but they may all be specified on the same command line.

Sets user-level access control on a destination. The name must be defined in the cupsd. The printing system log files track the activity of the scheduler, printer drivers, and backends.

For example, if you are the Administrator for the CUPS server, and your e-mail cupz is ‘bjoy somebigco. Cyps other trademarks are the property of their respective owners. Also, printer and class names are not case-sensitive.


Sets the accounting period for per-user quotas.

CUPS – Print Server

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:. To add a user to the lpadmin group, run at the terminal prompt: The second lapdmin of the command -p configures the named printer or class.

The specified port monitor must be listed in the printer’s PPD file. The value is an integer number of kilobytes; one kilobyte is bytes. Classes are associated with one or more printers cyps are typically used to distribute print jobs amongst a group of printers or provide redundancy or high availability when printing. CUPS supports sharing of printers with other computers and mobile devices. The first form of the command -d sets the default printer or class to destination. If the resulting class becomes empty it is removed.

CUPS – Print Server

To remove a printer from the class you can use the lpadmin command as shown in the below example:. The web interface can be used to perform all printer management tasks. This differs from the System V version which requires the root user to execute this command. Partners Support Community Ubuntu. The lpadmin command is used to create, modify, or delete a class. It can also be used to set the server default printer or class.

Interface scripts are not supported by CUPS. Options The following options are recognized when configuring a printer queue: PriSets the kilobyte limit for per-user quotas.


For security reasons, CUPS won’t authenticate a user that doesn’t have a password. For information on contributing see the Ubuntu Documentation Team wiki page. To change the resolution of the printer to xdpi, you can use the lpadmin command as shown below:.

Command-Line Printer Administration

Enter the following at a terminal prompt to install CUPS:. These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time. Sets a System V style interface script for the printer.

The CUPS web interface “http: Any jobs that are pending lladmin the destination will be removed and any job that is currently printed will be aborted. Also to list all the available ports or interfaces available to configure the printer can be displayed using lpinfo command:. The value is an integer number of seconds; 86, seconds are in one cupz. Prior to editing the configuration file, you should make a copy of the original file and protect it from writing, so you will have the original settings as a reference, and to reuse as necessary.

Once you know the correct URI for the printer, set it using the lpadmin command’s -v option:. For troubleshooting purposes, you can access CUPS server errors via the error log file at: The value is the integer number of pages that can be printed; double-sided pages are counted as two pages.