]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpadmin.man
Load cups into easysw/current.
[thirdparty/cups.git] / man / lpadmin.man
CommitLineData
ef416fc2 1.\"
bd7854cb 2.\" "$Id: lpadmin.man 5099 2006-02-13 02:46:10Z mike $"
ef416fc2 3.\"
4.\" lpadmin man page for the Common UNIX Printing System (CUPS).
5.\"
bd7854cb 6.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 7.\"
8.\" These coded instructions, statements, and computer programs are the
9.\" property of Easy Software Products and are protected by Federal
10.\" copyright law. Distribution and use rights are outlined in the file
11.\" "LICENSE.txt" which should have been included with this file. If this
12.\" file is missing or damaged please contact Easy Software Products
13.\" at:
14.\"
15.\" Attn: CUPS Licensing Information
16.\" Easy Software Products
17.\" 44141 Airport View Drive, Suite 204
18.\" Hollywood, Maryland 20636 USA
19.\"
20.\" Voice: (301) 373-9600
21.\" EMail: cups-info@cups.org
22.\" WWW: http://www.cups.org
23.\"
bd7854cb 24.TH lpadmin 8 "Common UNIX Printing System" "12 February 2006" "Easy Software Products"
ef416fc2 25.SH NAME
26lpadmin \- configure cups printers and classes
27.SH SYNOPSIS
28.B lpadmin
bd7854cb 29[ -E ] [-U
30.I username
31] [ -h
32.I server[:port]
33] -d
ef416fc2 34.I destination
35.br
36.B lpadmin
bd7854cb 37[ -E ] [-U
38.I username
39] [ -h
40.I server[:port]
41] -p
42.I printer option(s)
ef416fc2 43.br
44.B lpadmin
bd7854cb 45[ -E ] [-U
46.I username
47] [ -h
48.I server[:port]
49] -x
ef416fc2 50.I destination
51.SH DESCRIPTION
52\fIlpadmin\fR configures printer and class queues provided by
53CUPS. It can also be used to set the server default printer or
54class.
55.LP
bd7854cb 56When specified before the \fI-d\fR, \fI-p\fR, or \fI-x\fR
57options, the \fI-E\fR option forces encryption when connecting to
58the server.
ef416fc2 59.LP
bd7854cb 60The first form of the command (\fI-d\fR) sets the default printer
61or class to \fIdestination\fR. Subsequent print jobs submitted
62via the \fIlp(1)\fR or \fIlpr(1)\fR commands will use this
63destination unless the user specifies otherwise with the
64\fIlpoptions(1)\fR command.
ef416fc2 65.LP
bd7854cb 66The second form of the command (\fI-p\fR) configures the named
67printer. The additional options are described below.
ef416fc2 68.LP
bd7854cb 69The third form of the command (\fI-x\fR) deletes the printer or
70class \fIdestination\fR. Any jobs that are pending for the
71destination will be removed and any job that is currently printed
72will be aborted.
ef416fc2 73.SH CONFIGURATION OPTIONS
bd7854cb 74The following options are recognized when configuring a printer
75queue:
ef416fc2 76.TP 5
bd7854cb 77-c class
ef416fc2 78.br
bd7854cb 79Adds the named \fIprinter\fR to \fIclass\fR. If \fIclass\fR does
80not exist it is created automatically.
ef416fc2 81.TP 5
bd7854cb 82-i interface
ef416fc2 83.br
bd7854cb 84Sets a System V style interface script for the printer. This
85option cannot be specified with the \fI-P\fR option (PPD file)
86and is intended for providing support for legacy printer drivers.
ef416fc2 87.TP 5
bd7854cb 88-m model
ef416fc2 89.br
bd7854cb 90Sets a standard System V interface script or PPD file from the
91\fImodel\fR directory.
ef416fc2 92.TP 5
bd7854cb 93-o name=value
ef416fc2 94.br
bd7854cb 95Sets a PPD or server option for the printer. PPD options can be
96listed using the \fI-l\fR option with the \fIlpoptions(1)\fR
97command.
ef416fc2 98.TP 5
bd7854cb 99-o job-k-limit=value
ef416fc2 100.br
bd7854cb 101Sets the kilobyte limit for per-user quotas. The value is an
102integer number of kilobytes; one kilobyte is 1024 bytes.
ef416fc2 103.TP 5
bd7854cb 104-o job-page-limit=value
ef416fc2 105.br
bd7854cb 106Sets the page limit for per-user quotas. The value is the integer
107number of pages that can be printed; double-sided pages are
108counted as two pages.
ef416fc2 109.TP 5
bd7854cb 110-o job-quota-period=value
ef416fc2 111.br
bd7854cb 112Sets the accounting period for per-user quotas. The value is an
113integer number of seconds; 86,400 seconds are in one day.
ef416fc2 114.TP 5
bd7854cb 115-o job-sheets-default=banner
116.TP 5
117-o job-sheets-default=banner,banner
118.br
119Sets the default banner page(s) to use for print jobs.
120.TP 5
121-o port-monitor=name
ef416fc2 122.br
bd7854cb 123Sets the binary communications program to use when printing,
124"none", "bcp", or "tbcp". The default program is "none".
ef416fc2 125.TP 5
bd7854cb 126-r class
ef416fc2 127.br
bd7854cb 128Removes the named \fIprinter\fR from \fIclass\fR. If the
129resulting class becomes empty it is removed.
ef416fc2 130.TP 5
bd7854cb 131-u allow:user,user,@group
132-u deny:user,user,@group
133-u allow:all
134-u deny:none
ef416fc2 135.br
136Sets user-level access control on a printer. Names starting with
137"@" are interpreted as UNIX groups. The latter two forms turn
138user-level access control off.
139.TP 5
bd7854cb 140-v "device-uri"
ef416fc2 141.br
bd7854cb 142Sets the \fIdevice-uri\fR attribute of the printer queue. If
143\fIdevice-uri\fR is a filename it is automatically converted to
144the form \fIfile:///file/name\fR.
ef416fc2 145.TP 5
bd7854cb 146-D "info"
ef416fc2 147.br
148Provides a textual description of the printer.
149.TP 5
bd7854cb 150-E
ef416fc2 151.br
152Enables the printer and accepts jobs; this is the same as running the
bd7854cb 153\fIaccept(8)\fR and \fIcupsenable(8)\fR programs on the printer.
ef416fc2 154.TP 5
bd7854cb 155-L "location"
ef416fc2 156.br
157Provides a textual location of the printer.
158.TP 5
bd7854cb 159-P ppd-file
ef416fc2 160.br
bd7854cb 161Specifies a PostScript Printer Description file to use with the
162printer. If specified, this option overrides the \fI-i\fR option
163(interface script).
ef416fc2 164.SH COMPATIBILITY
bd7854cb 165Unlike the System V printing system, CUPS allows printer names to
166contain any printable character except SPACE, TAB, "/", or "#".
167Also, printer and class names are \fInot\fR case-sensitive.
168Finally, the CUPS version of \fIlpadmin\fR may ask the user for
169an access password depending on the printing system
170configuration. This differs from the System V version which
171requires the root user to execute this command.
ef416fc2 172.SH LIMITATIONS
bd7854cb 173The CUPS version of \fIlpadmin\fR does not support all of the
174System V or Solaris printing system configuration options.
ef416fc2 175.SH SEE ALSO
bd7854cb 176\fIaccept(8)\fR, \fIcupsenable(8)\fR, \fIlpoptions(1)\fR,
177.br
178http://localhost:631/help
ef416fc2 179.SH COPYRIGHT
bd7854cb 180Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
ef416fc2 181.\"
bd7854cb 182.\" End of "$Id: lpadmin.man 5099 2006-02-13 02:46:10Z mike $".
ef416fc2 183.\"