October 2001
Beginner
1024 pages
25h 8m
English
The lpq command can be used to check the status of jobs that are waiting in the print queue. If it is called without any arguments, it will report the status of all jobs currently in the queue for the default printer. The default printer is checked in the following order: If the PRINTER environment variable is set, it is considered to be the default printer. If the PRINTER environment variable is not set, the printer that is aliased to lp in /etc/printcap will be used as the default.
lpq can also be called with a job number to show only the status of a particular job or a user name to show only the status of jobs owned by a particular user. The output of lpq will look something like this:
bash$ lpq -P simba simba ...
Read now
Unlock full access