Question: how to use lpq command?
Answer: Purpose. Examines the spool queue.
Syntax. lpq [ + [ Number ] ] [ -l | -W ] [ -P Printer ] [ JobNumber ] [ UserName ]
Description. The lpq command reports the status of the specified job or all jobs associated with the specified UserName and JobNumber variables.