Export (0) Print
Expand All
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Expand Minimize

Lpq

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Vista

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]

 

Parameter Description

-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. Required.

-P <PrinterName>

Specifies (by name) the printer for the print queue with a status that you want to display. Required.

-l

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.

This example shows how to display the status of the LaserPrinter1 printer queue on an LPD host at 10.0.0.45:

Lpq -S 10.0.0.45 -P LaserPrinter1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft