lpq

lpq

This will check the print spool. It will return information on all jobs in the queue. It will return the user's name, and current rank in the queue. Options -l prints information about each file in a job entry -Pprinter designates a specific printer