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):||9 May 2016|
|PDF File Size:||13.99 Mb|
|ePub File Size:||17.86 Mb|
|Price:||Free* [*Free Regsitration Required]|
The first form of the command -d sets the default printer or class to destination. Sets user-level access control on a destination.
To report errors in this serverguide documentation, file a bug report. The first form of cuups command -d sets the default printer or class to destination. The double meaning of the -E option is an unfortunate historical oddity. The lpadmin command is used to create, modify, or delete a class. Sets the accounting period for per-user quotas.
lpadmin(8): configure cups printers/classes – Linux man page
Enables the destination and accepts jobs; this is the same as running the cupsaccept and cupsenable programs on the destination. The specified port monitor must be listed in the printer’s PPD file.
cpus To add a user to the lpadmin group, run at the terminal prompt: The default operation policy is “default”. Use the -m option with the lpinfo 8 command to get a list of supported models. Any print-time option can be defaulted, e. This differs from the System V version which requires the root user to execute this command.
If specified, this option overrides the -i option interface script. CUPS can be configured and monitored using a web interface, which by default is available at http: Also, printer and class names are not case-sensitive.
The -c option specifies a class to create or modify and is combined with the -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.
Printers use a description file with one or more driver “filter” programs that communicate with the printer through a “backend” program. The name must be defined in the cuos. For troubleshooting purposes, you can access CUPS server errors via the error log file at: The second form of the command -p configures the named printer or class.
Sets the error policy to be used cuups the printer backend is unable to send the job to the printer. Each line contains the backend “class” followed by the backend name or a full printer device URI, for example:. The latter two forms turn user-level access control off.
Cps -m option to lpadmin specifies the driver “model” to use for the printer. Names starting with ” ” are interpreted as UNIX groups. If the web address has no language suffix, the preferred language specified in your web browser’s settings is used.
Command-Line Printer Administration
The -p option specifies a printer to create or modify:. The specified port monitor must be listed in the printer’s PPD file. Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted. The latter two forms turn user-level access control off. Otherwise, enables the destination and accepts jobs; this is the same as running the cupsaccept 8 and cupsenable 8 programs on the destination. Sets the binary communications program to use when printing, “none”, “bcp”, or “tbcp”.
lpadmin – Unix, Linux Command
The direct class of backends is used for directly-connected printers such as USB and Bluetooth. Installation Configuration Web Interface References. The name must be defined in the cupsd. When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. 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 value is an lpafmin number of seconds; 86, seconds are in one day.