lpq
Displays the status of a print queue on a computer running Line printer Daemon (LPD). Windows commands reference
On Windows
Windows
lpq -S <servername> -P <printername> [-l]lpq -S 10.0.0.45 -P Laserprinter1
-S <servername>Specifies (by name or IP address) the computer or printer sharing device that hosts the LPD print queue with a status that you want to display. This parameter is required and must be capitalized.-P <Printername>Specifies (by name) the printer for the print queue with a status that you want to display. This parameter is required and must be capitalized.-lSpecifies that you want to display details about the status of the print queue./?Displays help at the command prompt.Several platforms
Show printer queue status.
Show the queued jobs of the default destination
lpqIdentifyShow the queued jobs of all printers enforcing encryption
lpq -a -EIdentifyShow the queued jobs in a long format
lpq -lIdentifyShow the queued jobs of a specific printer or class
lpq -P destination/instanceIdentifyShow the queued jobs once every n seconds until the queue is empty
lpq +intervalIdentify