Examine a line printer's spool queue
lprq [-l] [-Pprinter] [jobnum ...] [user ...]
The order of the jobs depends on the algorithm used to scan the spooling directory and is supposed to be FIFO (First in First Out).
Filenames comprising a job may be unavailable (when lpr is used as a sink in a pipeline), in which case the file is indicated as "standard input."
If lprq warns that there's no daemon present (i.e. due to some malfunction), you can use lprc to restart the printer daemon.
The lprq utility examines the spooling area used by lpd for printing files on the line printer, and reports the status of the specified jobs or all jobs associated with a user. If you invoke lprq without any arguments, it lists any jobs that are currently in the queue.
Due to the dynamic nature of the information in the spooling directory, lprq may report unreliably. Output formatting is sensitive to the line length of the terminal; this can result in widely spaced columns.
lpd, lpr, lprc, lprrm, /etc/printcap
Printing chapter of the Neutrino User's Guide