Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Displays the status of a print queue on a computer running Line printer Daemon (LPD).
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. 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. |
| -l | Specifies that you want to display details about the status of the print queue. |
| /? | Displays help at the command prompt. |
Examples
To display the status of the Laserprinter1 printer queue on an LPD host at 10.0.0.45, type:
lpq -S 10.0.0.45 -P Laserprinter1