News:

Build a stunning handcrafted website with IT Acumens

Main Menu

lpadmin - Command

Started by sukishan, Aug 14, 2009, 08:12 PM

Previous topic - Next topic

sukishan

lpadmin
lpadmin [options]

System administration command. Configure CUPS printer queues. The command requires one of the following options: -d, -p, or -x. When a queue is configured to require a password, the lpadmin command will prompt for one.

Options
-d queue
Set the default destination for CUPS commands like lp and lpr to the specified queue.

-E
Always use encryption when connecting to the server.

-h server
Apply configuration commands remotely to the specified CUPS server.

-p printer print-options
Apply print-options (documented below) to the specified printer.

-x queue
Delete the specified queue. Abort any current print job and discard any pending print jobs.

Print options
Use these additional options with the -p option listed above.

-c class
Add printer to the specified class. Create class if it does not already exist.

-D description
Set the text description of the printer.

-E
Enable printer.

-L location
Set the printer location text.

-i script
Use the specified System V-style interface script.

-m filename
Use the specified System V interface script or PPD file found in the model directory.

-o name=value
Set the value of PPD or server option name. For a list of available PPD options, use the lpoptions command.

-P filename
Use the PPD specified by filename. This option overrides the -i printer option.

-r class
Remove printer from the specified class. Remove class if it has no printer entries.

-u allow:
  • name, -u deny:
  • name
    Set user level access control. To specify a group instead of a user name, preface the name with @. You may also use the special names all and none.

    -v uri
    Set the device universal resource indicator, uri. If given as a filename, the command will automatically convert it to a file URI.[/size][/color]
A good beginning makes a good ending

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview