beautypg.com

Inquiry (lpstat), Command format, Command options – Oki B 6300 User Manual

Page 37: Precautions, Sample

background image

6.4 Printing (HP-UX/Solaris)

33

Inquiry (lpstat)

The “lpstat” command is used to inquire about the status of the printer.

Important
• In the non-spool mode, this function is available to Windows NT clients but not to HP-UX/Solaris clients.

Command Format

lpstat [Option]

Command Options

The following command options are available:

If no option is specified, all the print data-related information will be displayed.

The sequence of the options does not affect the outcome.

To use more than one argument at the same time, separate them by commas and enclose
all the arguments with “ ”.

E.g. %lpstat -u “user1,user2,user3”

-o [Printer name]

This option displays the print data received. The printer name is specified in the argument.

-t

This option displays all the information.

-u [User name]

This option displays received print data information on users of specified user names.

-v [Printer name]

This option displays the printer name and the device path name. The printer name is
specified in the argument.

Precautions

• Long file names will be truncated.

• Up to 64 print instruction information can be displayed.

• If two or more types of print languages/modes are set up on a single workstation, identical

job numbers may be displayed when an inquiry command (lpstat) is issued.

Sample

To inquire about the print data received by a printer set up as “P001”, enter the following
command:

%lpstat -o P001