foomatic-printjob -h (return code: 0)
Usage: foomatic-printjob [ -s spooler ] [ -P queuename ]
[ -o option1=value1 -o option2 ... ] [ -i ]
[ file1 file2 ... ]
or foomatic-printjob -Q [ -s spooler ] [ -P queuename ] [ -i ] [ -a ]
[ user1 user2 ... ]
or foomatic-printjob -R [ -s spooler ] [ -P queuename ] [ - ] [ -i ]
[ jobid1 jobid2 ... ]
or foomatic-printjob -C [ -s spooler ] [ -i ] command [ arguments ]
or foomatic-printjob -S [ -s spooler ] [ -i ]
or foomatic-printjob -h [ -s spooler ] [ -P queuename ] [ -i ]
-s spooler Explicit spooler type (cups,lpd,lprng,pdq)
-P queuename Command should apply to this queue
-o option=value Set option to value
-o option Set the switch option
-# n Print n copies
file1 file2 ... Files to be printed, when no file is given, standard input
will be printed
-Q Query the jobs in a queue
-a Query the jobs in all queues
user1 user2 ... Users whose jobs should be listed
-R Remove a job from a queue
- Remove all your jobs
jobid1 jobid2 IDs of the jobs to be removed
-C Execute control commands for queue/job manipulation
command [ arguments ] Control command 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.
-i 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.
-S Save the chosen spooler as the default spooler
-h Show this message or show a list of available options if a
queue is specified