Updated: April 17, 2012
Applies To: Windows Vista, Windows Server 2008, Windows Server 2012, Windows 8
Displays the status of a print queue on a computer running Line Printer Daemon (LPD).
For examples of how this command can be used, see Examples.
Lpq -S <ServerName> -P <PrinterName> [-l]
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. Required.
Specifies (by name) the printer for the print queue with a status that you want to display. Required.
Specifies that you want to display details about the status of the print queue.
Displays help at the command prompt.
The -S and -P parameters are case sensitive and must be typed in upper-case letters.