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):||18 March 2004|
|PDF File Size:||6.51 Mb|
|ePub File Size:||13.43 Mb|
|Price:||Free* [*Free Regsitration Required]|
The lpadmin accepts lpadmi additional options after -p printername when adding or modifying a printer:. For more examples of configuration directives in the CUPS server configuration file, view the associated system manual page by entering the following command at a terminal prompt:.
The name must be defined in the cupsd. Subsequent print jobs submitted via the lp or lpr commands will use this destination unless the user specifies otherwise with the lpoptions command. The value is lpacmin integer number of kilobytes; one kilobyte is bytes.
Sets the page limit for per-user quotas. These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time.
Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted. Options The following options are recognized when configuring a printer queue: In the example above, you may comment out or remove the reference to the Loopback address Use the -m option with the lpinfo command fups get a list of supported models.
The third form of the command -x deletes the printer or class destination.
CUPS – Print Server
The second form of the command -p configures the named printer or class. To change the resolution of the printer to xdpi, you can use the lpadmin command as shown below:. The llpadmin options are described below. CUPS can be configured and monitored using a web interface, which by default is available at http: The web interface can be used to perform all printer management tasks.
Sets the device-uri attribute of the printer queue. If you make lpavmin change, remember to change it back once you’ve solved your problem, to prevent the log file from becoming overly large. Use the -v option with the lpinfo 8 command to get a list of supported device URIs and schemes.
The first form of the command -d sets the default printer or class to destination. Pladmin user ‘root’ is not granted special access – using “-u allow: Interface scripts are not supported by CUPS. This configuration information is stored in several files including printers. The default error policy is “stop-printer” for printers and “retry-current-job” for classes. The double meaning of the -E option is an unfortunate historical oddity.
The lpadmin command is used to create, modify, or delete a class. For example, if you are the Administrator for the CUPS server, and your e-mail address is ‘bjoy somebigco. Port Listen on port on all interfaces. When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. Partners Support Community Ubuntu. The everywhere driver is used for nearly all modern networks printers sold since about Enables the destination and accepts jobs; this is the same as running the cupsaccept and cupsenable programs lpadmn the destination.
The default operation policy is “default”.
lpadmin(8): configure cups printers/classes – Linux man page
The -c option specifies a class to create or modify and is combined with lladmin -p option:. CUPS manages print jobs and queues and provides network printing using the standard Internet Printing Protocol IPPwhile offering support for a very large range of printers, from dot-matrix to laser and many in between.
The second form of the command -p configures the named printer or class. If specified, this option overrides the -i option interface script. To add a user to the lpadmin group, run at the terminal prompt: The network class of backends is used for all network protocols.
The default error policy is “stop-printer” for printers and “retry-current-job” for classes. The name must be defined in the cupsd. The cupsctl 8 program is used to manage the printing system as a whole, including things like debug logging and printer sharing. To remove a CUPS printer from the printer configuration file, you can use the -x option as shown below:. 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:.
The CUPS web interface “http: Specifies a PostScript Printer Description file to use with the printer.
The third form of the command -x deletes the printer or class destination. PPD options can be listed using the -l option with the lpoptions command.
The value is the integer lpadmn of pages that can be printed; double-sided pages are counted as two pages. Sets a PPD option for the printer.