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: Tuktilar Narisar
Country: Papua New Guinea
Language: English (Spanish)
Genre: Literature
Published (Last): 27 February 2009
Pages: 389
PDF File Size: 14.84 Mb
ePub File Size: 11.91 Mb
ISBN: 732-7-74693-708-2
Downloads: 58562
Price: Free* [*Free Regsitration Required]
Uploader: Kajijin

Enter the following at a terminal prompt to install CUPS: Sets a standard System V interface script or PPD file for the printer from the model directory or using one of the driver interfaces. For security reasons, CUPS won’t authenticate a user that doesn’t have a password.

The default program is “none”. The default operation policy is “default”. Destinations are individual printers and classes pools of printers.

CUPS – Print Server

The name must be defined in the cupsd. Print jobs sent to a class are forwarded to the next available printer in the class. The lpadmin 8 program is used to add, modify, or delete destinations, while the lpinfo 8 command is used to list the cu;s printer drivers and backends.

The lpadmin accepts several additional options after -p printername when adding or modifying a printer:. The everywhere driver is used for nearly all modern networks printers sold since about If lpaemin resulting class becomes empty it is removed. When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server.

Also, printer and class names are not case-sensitive. The second form of the command -p configures the named printer or class. The second form of the command -p configures the named printer or class.

  EN 13445-1 PDF

Once you know the correct URI for the printer, set it using the lpadmin command’s -v option:. If the error log does not show enough information lapdmin troubleshoot any problems you encounter, the verbosity of lpadmon 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”.

Port Listen on port on all interfaces. Lpadmn troubleshooting purposes, you can access CUPS server errors via the error log file at: The value is the integer number of pages cips can be printed; double-sided pages are counted as two pages.

Interface scripts are not supported by CUPS. Any print-time option can be defaulted, e. These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time. To install CUPS on your Ubuntu computer, simply use sudo with the apt command and give the packages to install as the first parameter. If the web address has no language suffix, the preferred language specified in your web browser’s settings is used.

To remove a printer from the class you can use the lpadmin command as shown in the below example:. All other trademarks are the property of their respective owners. For example, if you are the Administrator for the CUPS server, and your e-mail address is ‘bjoy somebigco. Prior to editing the lpadmiin 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.


If specified, this option overrides the -i option interface script. CUPS manages print jobs and queues and provides cupw printing using the standard Internet Printing Cupx IPPwhile offering support for a very large lpadimn of printers, from dot-matrix to laser and many in between.

Upon authenticating with your user password, the packages should be downloaded and installed without error. The latter two forms turn user-level access control off.

Sets the accounting period for per-user quotas. The default value is “true”.

The default program is “none”. 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.

lpadmin – Unix, Linux Command

Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted. The specified port monitor must be listed in the printer’s PPD file. The value is an integer number of seconds; 86, seconds are in one day. To report errors in this serverguide lppadmin, file a bug report.

To remove a CUPS printer from the printer configuration file, you can use the -x option as shown below:.

lpadmin(8): configure cups printers/classes – Linux man page

Interface scripts are not supported for security reasons. This option cannot be specified with the -P option PPD file and is intended for providing support for legacy printer drivers. Kpadmin example, the following command creates a destination for a printer at IP address