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):||22 June 2011|
|PDF File Size:||2.33 Mb|
|ePub File Size:||13.4 Mb|
|Price:||Free* [*Free Regsitration Required]|
When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. The -p option specifies a printer to create or modify:.
CUPS – Print Server
Enter the following at a terminal prompt to install CUPS:. Classes are associated with one or more printers and are typically used to distribute print jobs amongst a group of printers or provide redundancy or high availability when printing.
For example, if you are the Administrator for the Lparmin server, and your e-mail address is ‘bjoy somebigco. The name must be defined in the cupsd.
The value is an integer number of kilobytes; one kilobyte is bytes. The first form of the command -d sets the default printer or class to destination. Installation Configuration Web Interface References.
Also to list all the available ports or interfaces available to configure the printer can be displayed using lpinfo command:. To add a user to the lpadmin cupps, run at the terminal prompt: The lpadmin accepts several additional options after -p printername when adding or modifying a printer:.
The default error policy is “stop-printer” for printers and “retry-current-job” for classes.
You can choose the displayed language by adding a language suffix to the web address so it ends with e. Options The following options are lpadminn when configuring a printer queue: The default value is “true”.
The third form of the command -x deletes the printer or class destination. The network class of backends is used for all network protocols. Sets a System V style interface script for the printer. The value is an integer number of seconds; 86, seconds are loadmin one day. The first form of the command -d opadmin the default printer or class to destination. CUPS can be configured and monitored using a web interface, which by default is available at http: Subsequent print jobs submitted via the lp or lpr commands will use this destination unless the user specifies otherwise with the lpoptions command.
The default error policy is “stop-printer” for printers and “retry-current-job” for classes. 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:. Use the -m option with the lpinfo command to get a list of supported models. Names starting with ” ” are interpreted as UNIX groups. Sets the error policy to be used when the printer backend is unable to send the job to the printer.
The double meaning of the -E option is an unfortunate historical oddity. 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 specified port monitor must be listed in the printer’s PPD file. 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. For example, the following command creates a destination for a printer at IP address If class does not exist it is created automatically. If the resulting class becomes empty it is removed. Partners Support Community Ubuntu. If the web address has no language suffix, the preferred language specified in your web browser’s settings is used.
Use the -v option with the lpinfo 8 command to get a list of supported device URIs and schemes. This configuration information is stored in several files including printers.
All other trademarks are the property of their respective owners. Any print-time option can be defaulted, e. The CUPS web interface “http: The default value is “true”. Destinations are individual printers and classes pools of printers. Lpadmjn Listen on port on all interfaces.
For example, to share two printers “foo” and “bar” on the local network, run the following commands:.