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: Ganos Fenrigal
Country: Latvia
Language: English (Spanish)
Genre: Business
Published (Last): 18 July 2004
Pages: 51
PDF File Size: 5.78 Mb
ePub File Size: 2.4 Mb
ISBN: 498-6-47591-378-4
Downloads: 84529
Price: Free* [*Free Regsitration Required]
Uploader: Doutilar

Sets the IPP operation policy associated with the destination. The -p option specifies a printer cupx create or modify:. This option cannot be specified with the -P option PPD file and is intended for providing support for legacy printer drivers.

Command-Line Printer Administration

In the example above, you may comment out or remove the reference to the Loopback address The default program is “none”. Port Listen on port on all interfaces. The latter two forms turn user-level cpus control off.

The double meaning of the -E option is an unfortunate historical oddity. The specified port monitor must be listed in the printer’s PPD file. These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time.

For troubleshooting purposes, you can access CUPS server errors via the error log file at: PriSets the kilobyte limit for per-user quotas. Also to list all the available ports or interfaces available to configure the printer can be displayed using lpinfo command:.

CUPS – Print Server

Print jobs sent to a class are forwarded to the next available printer in the class. Names starting with ” ” are interpreted as UNIX groups. The additional lpacmin are described below. When specified before the -d-por -x options, the -E lpsdmin forces encryption when connecting to the server. Sets the device-uri attribute of the printer queue. The user ‘root’ is not granted special access – using “-u allow: Use the -m option with the lpinfo 8 command to lpaadmin a list of supported models.


The lpadmin command communicates with lpadmib scheduler cupsd to make changes to the printing system configuration. The third form of the command -x deletes the printer or class destination. The name must be one of “abort-job” abort the job on error”retry-job” retry the job at a future time”retry-current-job” retry the current job immediatelyor “stop-printer” stop the printer on error. The value is an integer number of seconds; 86, seconds are in one day. The first form of the command -d sets the default printer or class to destination.

The name must be defined in the cupsd. Subsequent print jobs submitted via the lp 1 or lpr 1 commands will use lpadminn destination unless the user specifies otherwise with the lpoptions 1 command. The default program is “none”. For information on contributing see the Ubuntu Documentation Team wiki page.

All other trademarks are the property of their respective owners. The CUPS sample drivers the “drv: Models other than “everywhere” are deprecated and will not be supported in a future version of CUPS. cuos

The cupsctl 8 program is used to manage the printing system as a whole, including things like debug logging and printer sharing. The default operation policy is “default”. The value is an integer number of seconds; 86, seconds are in one day. PPD options can be listed using the -l option with the lpoptions 1 command.


Deprecated Options The following lpadmin options are deprecated: The second form of the command -p configures the named printer or class. In order to perform administrative tasks via the web interface, you must either have the root account enabled on your server, or authenticate as a user in the lpadmin group.

The default error policy is “stop-printer” for printers and “retry-current-job” for classes. Prior to editing the configuration file, you should make a copy of the original file and protect it chps writing, so you will have the original settings as a reference, and to reuse as necessary.

The lpadmin command is used to create, modify, or delete a printer. If the web address has no language suffix, the preferred language specified in your web browser’s settings is used. Lpamin the page limit for per-user quotas.

Sets a PPD option for the printer.

Command-Line Printer Administration

Some examples of settings you may wish to change initially will be presented here. Enter the following at a terminal prompt to install CUPS: Specifies a PostScript Printer Description file to use with the printer.

To install CUPS on your Ubuntu computer, simply use sudo with the apt command and give the packages to install as the first parameter. The CUPS web interface “http: The value is the integer number of pages that can be printed; double-sided pages are counted as two pages.

Sets a System V style interface script for the printer. The default operation policy is “default”.