The following example shows how to delete the printer luna from the print client terra and from the print server jupiter. Managing Disk Use Tasks. Sets the error policy to be used when the printer backend is unable to send the job to the printer. Since the name includes the protocol to use when contacting the print service, you can select a richer protocol than the RFC protocol. The latter two forms turn user-level access control off. You can use the -s option with the lpadmin command to specify the print service host name as localhost.

Uploader: Gardagrel
Date Added: 15 May 2011
File Size: 26.25 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 48434
Price: Free* [*Free Regsitration Required]

This tutorial explains how to add a new printer, setup printer options, and manage printers on Linux environment using lpadmin command examples. Only the most commonly used options are shown here. You can specify multiple printer names with this command. The lpacmin must be defined in the cupsd.

The use of this software is intended for printers that do not come with vendor-supplied software. The lpadmin command communicates with the scheduler cupsd to make changes to the printing system configuration. This example shows how to modify chage existing print queue, newspaperand specify localhost as the new print server name. If you use spaces, enclose the list of printer names in quotation marks.

The specified port monitor must cgange listed in the printer’s PPD file. The default operation policy is “default”. Working With Oracle Configuration Manager 6. The following table describes each of the printer definitions that you can define when setting up a new printer or modifying an existing printer by using the lpadmin command.


12 CUPS lpadmin Command Examples to Setup Printers on Linux

This form of destination name is useful for accessing print services outside of your system’s current management domain. Log in to the system with your user name and password. A message is sent to the spooler when repeated attempts to connect to the printer fail. This section provides a brief description of the CUPS commands and describes how to set up and administer your printers. If the printer node name is cardboard, then the printer access name is cardboard: The printer URI form is the preferred replacement.

If so, that SVR4 interface script calls the vendor-supplied printing program to send the job to the printer. If your lapdmin has printer vendor- supplied software, use the printer vendor software, when possible. If class does not exist it is created automatically.

If you do not specify printer-namethe status of all cahnge is displayed. This example shows how to configure access to a printer named lunawhose print server is saturn.

Note – When using the lp command with the -d option, the destination printer, which might not be the default printer, is specified. Use a space or a comma to separate printer names. Otherwise, enables the destination and accepts jobs; this is the same as running the cupsaccept 8 and cupsenable 8 programs on the destination.

By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.


Use the -v option with the lpinfo command to get a list of supported device URIs and schemes. The model “raw” clears any existing PPD file and the model “everywhere” queries the printer referred to by the specified IPP device-uri. This name must be unique, as with any node on the network. How to Delete a Printer and Remove Printer Access by Using LP Print Commands Log in as superuser, lpor assume an equivalent role on a print client with access to the printer that you want to delete.

Sets a standard System V interface script or PPD file for the printer from the model directory or using one of the driver interfaces.

Command-Line Printer Administration

There are two examples that follow this procedure. The value is an integer number of seconds; 86, seconds are in one day. The vendor might supply an SVR4 printer interface script to replace the standard printer interface script. For a complete description of printing terms, see Glossary.

You can allow the individual users or group to configure the printer options using lpadmin commands.