8 Printer Environment Settings

NOTE: Long file names will be truncated.

NOTE: Information for a maximum of 64 print instructions can be displayed.

NOTE: 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.

Example

To inquire about the print data received by a printer named fxPS, enter the following command:

%lpstat -ofxPS

SunOS

The lpq command is used to inquire about the status of the machine.

NOTE: In the non-spool mode, this function is available to Windows NT clients but not to SunOS clients.

Command format

/usr/ucb/lpq [-P printer name] [-l] [user name] [+interval]

Command options

The following command options are available.

-P printer name

This option specifies the printer name registered at /etc/printcap. If this option is omitted, the default printer lp will be used.

-l

This option displays information about the workstation which is sending the print instruction in long format.

• User name

This option displays information about print data received from a specified user.

• +interval

This option is used to specify the inquiry interval period for the duration of printing, until all the data received has been printed. The interval is set up in seconds.

The screen of the client is refreshed each time the information is returned. NOTE: Long file names will be truncated.

NOTE: Information for a maximum of 64 print instructions can be displayed.

NOTE: 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 (lpq) is issued.

Examples

To inquire about the print data received by a printer named fxPS, enter the following command:

%lpq -PfxPS

252

Page 252
Image 252
Xerox 5230A, 5225A manual +interval, Examples