foomatic-printjob.1.in 2.65 KB
Newer Older
1 2 3 4
.\" This -*- nroff -*- source file is part of foomatic.
.\"
.TH FOOMATIC-PRINTJOB 1 "2001-01-06" "Foomatic Project"
.SH NAME
5
foomatic-printjob \- manage printer jobs in a spooler-independent fashion
6 7 8 9 10 11 12 13
.SH SYNOPSIS
.B foomatic-printjob [ -s spooler ] [ -P queuename ] 
.B [ -o option1=value1 -o option2 ... ] [ -i ] 
.B [ file1 file2 ... ]

.B foomatic-printjob -Q [ -s spooler ] [ -P queuename ] [ -i ] [ -a ]
.B [ user1 user2 ... ]

14 15
.B foomatic-printjob -R [ -s spooler ] [ -P queuename ] [ -i ] 
.B [ \- | jobid1 jobid2 ... ]
16 17 18 19 20 21 22

.B foomatic-printjob -C [ -s spooler ] [ -i ] command [ arguments ]

.B foomatic-printjob -S [ -s spooler ] [ -i ]

.B foomatic-printjob -h [ -s spooler ] [ -P queuename ] [ -i ]

23 24 25 26 27 28 29 30
.SH DESCRIPTION
.B foomatic-printjob
provides a spooler-independent interface to creating and managing
printer jobs and print queues.  Note that the first argument changes
the mode of the command, as it combines the functionality of several
System V-style printing commands.

.SS OPTIONS
31 32
.TP 10
.BI \-s spooler
33
Explicit spooler type.
34 35 36

.TP 10
.BI \-P queuename
37
Any commands specified should apply to this queue instead of the default.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

.TP 10
.BI \-o option=value
Set option to value

.TP 10
.BI \-o option
Set the switch option

.TP 10
.BI \-# n
Print n copies

.TP 10
.BI file1\ \ file2\ \ ...
Files to be printed, when no file is given, standard input will be printed

.TP 10
.BI \-Q
57 58
Query the jobs in a queue.  If a list of users is specified, only
those users' jobs will be queried.
59 60

.TP 10
61 62 63
.BI \-Q\ \-a
Query the jobs in all queues.  If a list of users is specified, only
those users' jobs will be queried.
64 65

.TP 10
66 67
.BI \-R\ [\ \-\ |\ jobid1\ jobid2\ ...\ ]
Remove a job from a queue.  Using \fI-\fR will remove all jobs.
68 69

.TP 10
70 71 72 73 74 75
.BI \-C\ command\ [\ arguments\ ]
Execute control commands for queue/job manipulation.  The commands are
the ones of the BSD "lpc" utility. Use the control command "help" to
get a list of supported commands. Note: the amount of commands varies
with the spooler, but the same commands given under different spoolers
do the same thing.
76 77 78

.TP 10
.BI \-i
79 80 81
Interactive mode: You will be asked if foomatic-printjob is in doubt
about something. Otherwise foomatic-printjob uses auto-detection or
quits with an error.
82 83 84 85 86 87 88 89 90

.TP 10
.BI \-S
Save the chosen spooler as the default spooler

.TP 10
.BI \-h
Show this message or show a list of available options if a queue is specified

91 92
.SH SEE ALSO
foomatic-configure(1) and the documentation for your print spooler.
93 94

.SH AUTHOR
95 96 97
Manfred Wassmann <\fImanolo@NCC-1701.B.Shuttle.de\fR> and Chris
Lawrence <\fIlawrencc@debian.org\fR> for the foomatic project using
output from the associated binary.
98 99

.SH BUGS
100
This manpage still needs some editing.