CmdID

CmdID / Commands

lpq

Displays the status of a print queue on a computer running Line printer Daemon (LPD). Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
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

from tldr-pages, CC BY 4.0

Show printer queue status.

Show the queued jobs of the default destination

Show the queued jobs of all printers enforcing encryption

lpq -a -EIdentify

Show the queued jobs in a long format

lpq -lIdentify

Show the queued jobs of a specific printer or class

lpq -P destination/instanceIdentify

Show the queued jobs once every n seconds until the queue is empty

lpq +intervalIdentify