Previous Topic: DescriptionNext Topic: Operand


Options

-a [printername ...]

Displays the status of the specified printers. If you do not specify a printer name, this option displays the status of all the CA Spool printers you have access to.

If you specify more than one printer name in the -a option, enclose the entire value in quotation marks. Or, you can repeat the -a option.

-d

Displays the name of the default printer. If there is no default printer, lpstat returns an error message.

This option displays the name the default printer that you defined with the LPDEST or PRINTER environment variable.

-o [printername ...]

If you specify more than one printer name in the -o option, enclose the entire value in quotation marks. Or, you can repeat the -o option.

-p [printername ...]

Displays the status of the specified printers. If you do not specify a printer name, this option displays the status of all the CA Spool printers to which you have access.

If you specify more than one printer name in the -p option, enclose the entire value in quotation marks. Or, you can repeat the -p option.

-t

This option displays information about all the CA Spool printers and CA Spool jobs you have access to.

-u [filename ...]

Displays information about all jobs with the specified file name. If you specify -u without a file name, this option displays information about all CA Spool jobs that you have access to.

If you specify more than one file name in the -u option, enclose the entire value in quotation marks. Or, you can repeat the -u option.

-h hostname

Specifies the TCP/IP host name of the system where CA LPD or CA Spool is running.

Defaults to host name obtained from the LPDHOST environment variable if defined, else defaults to local host.

-r port

Specifies the TCP/IP port number on which CA LPD or CA Spool is listing.

Defaults to port number obtained from the LPDPORT environment variable if defined, else defaults to port number 515.