lpr & lprm & lpq Flashcards
1
Q
lpr
A
lpr submits files for printing.
2
Q
lpr [OPTIONS]
- E, Force encryption
- H server[:port], Specifies an alternate server.
- C, -J, -T “name”, Set the job name/title.
- P destination[/instance], Prints files to named printer.
- U username, Specifies an alt. username.
- # copies, Sets the number of copies to print.
A
- h, Disables banner printing
- l, Specifies that print file be preformated.
- m, Send an email upon completion.
- o option[=value], Sets a job option.
- p, Specifies that the print file should be formatted pretty.
- q, Hold job for printing.
- r, Specifies that the print files should be deleted after sumbission.
3
Q
lpr -o [options]
collate=true
fit-to-page
job-hold-until=when
job-hold-until=hh:mm
job-priority=priority
job-sheets=name
A
job-sheets=start-name, end-name
media=size
mirror
number-up={2,4,6,9,16}
number-up-layout=layout
orientation-requested=4
orientation-requested=5
orientation-requested=6
4
Q
lpr -o [options]
outputorder=reverse
page-border=border
page-ranges=page-list
A
sides=one-sided
-sides=two-sided-long-edge
sides=two-sided-short-edge
5
Q
lprm
A
lprm cancels print jobs that have been queued for printing.
6
Q
lprm
- E
- P destination[/instance]
- U username
- h server[:port]
A
- E, Forces encryption.
- P destination[/instance], Specifies printer destination.
- U username, Specifies alt. username.
- h server[:port], Specifies alt. server.
7
Q
lpq
A
lpq shows the current print queue status on the named printer.
8
Q
lpq
- E
- P destination[/instance]
- a
- U username
- h server[:port]
- l
A
- E, Forces encryption.
- P destination[/instance], Specifies printer destination.
- a, Reports jobs on all printers.
- U username, Specifies alt. username.
- h server[:port], Specifies alt. server.
- l, Requests a more verbose (long) reporting format.