PPD options can be listed using the -l option with the lpoptions command. Edited on Mar 16, ’12 I haven’t tested or investigated any of this. The name must be defined in the cupsd. The user ‘root’ is not granted special access – using “-u allow: It can also be used to set the server default printer or class.

Uploader: Guktilar
Date Added: 23 July 2018
File Size: 69.64 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 97009
Price: Free* [*Free Regsitration Required]

If class does not exist it is created automatically.

Sets the error policy to be used when the printer backend is unable to send the job to the printer. The first form of the command -d sets the default printer or class to destination. However, there is still confusion surrounding the setting of printer options from the command line, as a poster to Debian bugs pointed out back in Morgan May 27,5: The ultimate guide lpadmih better selfies Changes coming to Twitter: The first form of lpadmih command -d sets the default printer or class to destination.

Here are the other options you can set for any printer using lpadmin with —o option as described in above example.

The third form of the command -x deletes the printer or specifj destination. Enables the destination and accepts jobs; this is the same as running the cupsaccept and cupsenable programs on the destination. You can also run the script with the original and modified file paths as arguments and the string will be output.


The name must be one of “abort-job” 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. If there is a group that needs to be allowed specifj, you can use the group name preceding with symbol.

The double meaning of the -E option is an unfortunate historical oddity. This differs from the System V version which requires the root user to execute this command. The default operation policy is “default”. Use the -m option with the lpinfo command to get a list of supported models. Use the -v option with the lpinfo command to get a list of supported device URIs and schemes.

The latter two forms turn user-level access control off.

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

The second form of the command -p configures the named printer or lpafmin. If specified, this option overrides the -i option interface script. The default value is “true”. Macworld MacUser iPhone Central. The default value is ” true “.

The following command will allow the user karthik to configure the printer option on HPLaserJetP printer:. The name must be one of ” abort-job “, ” retry-job “, ” retry-current-job “, or ” stop-printer “. However, if you setup the printer using lpadmin without any options, and later use lptoptions to set the options, they are not written to the PPD and the GUI is unaware of the printer’s options.


These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time.


Search Advanced From our Sponsor If you have any problems with configuring the printer, then please verify the logs at the below location for any error messages. The additional options are described below.

This location may change depending upon the different distribution of Linux. The second form of the command -p configures the named printer or class.

Sets a standard System V interface script or PPD file for the printer from the model directory or using one of the driver interfaces. Sets the page limit for per-user quotas.

To change the resolution of the printer to xdpi, you can use the lpadmin command as shown below:.