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 February 2006|
|PDF File Size:||3.86 Mb|
|ePub File Size:||10.46 Mb|
|Price:||Free* [*Free Regsitration Required]|
Sets a PPD option for the printer. Print jobs sent to a class are forwarded to the next available printer in the class. Sets the binary communications lpadminn to use when printing, “none”, “bcp”, or “tbcp”. The name must be one of “abort-job”, “retry-job”, “retry-current-job”, or “stop-printer”.
If the resulting class becomes empty it is removed. Use the -m option with the lpinfo command to get a lpaemin of supported models. Enables the destination and accepts jobs; this is the same as running the cupsaccept and cupsenable programs on the destination.
lpadmin – Unix, Linux Command
Cupss second form of the command -p configures the named printer or class. The default value is “true”. The latter two forms turn user-level access control off.
The -c option specifies a class to create or modify and is combined with pladmin -p option:. If you make this change, remember to change it back once you’ve solved your problem, to prevent the log file from becoming overly large.
To install CUPS on your Ubuntu computer, simply use sudo with the apt command and give the packages to install as the first parameter.
Also, printer and class names are not case-sensitive. If the web address has no language suffix, the preferred language specified in your web browser’s settings is used.
Sets user-level access control lpadmkn a destination. The cupsctl 8 program is used to manage the printing system as a whole, including things like debug logging and printer sharing.
lpadmin(8): configure cups printers/classes – Linux man page
The additional options are described lparmin. 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:. CUPS supports sharing of printers with other computers and mobile devices. The value is an integer number of seconds; 86, seconds are in one day.
Installation Configuration Web Interface References. Some examples of settings you may wish to change lpadmmin will be presented here.
Also to list all the available ports or interfaces available to configure the printer can be displayed using lpinfo command:. The network class of backends is used for all network protocols.
These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time.
The name must be one of lpafmin 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. To add a user to the lpadmin group, run at the terminal prompt: Once you know the correct URI for the printer, set it using the lpadmin command’s -v option:. Interface scripts are not supported for security reasons.
Sets the error policy to be used when the printer backend is unable to send the job to the printer. This configuration information is stored in several files including printers.
CUPS – Print Server
Upon authenticating with your user password, the packages should pladmin downloaded and installed without error. The -p option specifies a printer to create or modify:.
The value is an integer number of seconds; 86, seconds are in one day.