Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.
Syntax
Lpq -S <ServerName> -P <PrinterName> [-l]
Parameters
| 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. |
Remarks
The -S and -P parameters are case sensitive and must be typed in upper-case letters.
Examples
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