lpadmin

Section: Easy Software Products (8)
Updated: Common UNIX Printing System
Index Return to main file
 

NAME

lpadmin - configure cups printers and classes  

SYNOPSIS

lpadmin [ -h server ] -d destination
lpadmin [ -h server ] -p printer option(s)
lpadmin [ -h server ] -x destination  

DESCRIPTION

lpadmin configures printer and class queues provided by CUPS. It can also be used to set the system default printer or class.

The first form of the command sets the default printer or class to destination. Subsequent print jobs submitted via the lp(1) or lpr(1) commands will use this destination unless the user specifies otherwise.

The second form of the command configures the named printer. The additional options are described below.

The third form of the command deletes the printer or class destination. Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted.  

CONFIGURATION OPTIONS

The following options are recognized when configuring a printer queue:
-c class

Adds the named printer to class. If class does not exist it is created automatically.
-i interface

Sets a System V style interface script for the printer. This option cannot be specified with the -P option (PPD file) and is intended for providing support for legacy printer drivers.
-m model

Sets a standard System V interface script or PPD file from the model directory.
-r class

Removes the named printer from class. If the resulting class becomes empty it is removed.
-v device-uri

Sets the device-uri attribute of the printer queue. If device-uri is a filename it is automatically converted to the form file:/file/name.
-D info

Provides a textual description of the printer.
-E

Enables the printer and accepts jobs; this is the same as running the accept(8) and enable(8) programs on the printer.
-L location

Provides a textual location of the printer.
-P ppd-file

Specifies a PostScript Printer Description file to use with the printer. If specified, this option overrides the -i option (interface script).
 

COMPATIBILITY

Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and class names are not case-sensitive. Finally, the CUPS version of lpadmin may ask the user for an access password depending on the printing system configuration. This differs from the System V version which requires the root user to execute this command.  

LIMITATIONS

The CUPS version of lpadmin does not support all of the System V or Solaris printing system configuration options.  

SEE ALSO

accept(8), cancel(1), disable(8), enable(8), lp(1), lpstat(1), reject(8), CUPS Software Administrators Manual  

COPYRIGHT

Copyright 1993-1999 by Easy Software Products, All Rights Reserved.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFIGURATION OPTIONS
COMPATIBILITY
LIMITATIONS
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 15:10:13 GMT, January 17, 2001