Freigeben über


Lpq

Displays the status of a print queue on a computer running Line Printer Daemon (LPD). Used without parameters, lpq displays command-line help for the lpq command.

Syntax

lpq -S ServerName -P PrinterName [-l]

Parameters

-S   ServerName   : Required. Specifies, by name, the computer that hosts the print queue whose status you want to display.

-P   PrinterName   : Required. Specifies, by name, the printer for the print queue whose status you want to display.

-l   : Specifies that you want to display details about the status of the print queue.

/?   : Displays help at the command prompt.

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Lpr

Command-line reference A-Z