8 Printer Environment Settings244NOTE: 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 singleworkstation, identical job numbers may be displayed when an inquiry command(lpstat) is issued.ExampleTo inquire about the print data received by a printer named fxPS, enter the followingcommand:%lpstat -ofxPSSunOSThe 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 notto SunOS clients.Command format/usr/ucb/lpq [-P printer name] [-l] [user name][+interval]Command optionsThe following command options are available.• -P printer nameThis option specifies the printer name registered at /etc/printcap. If this option isomitted, the default printer lp will be used.• -lThis option displays information about the workstation which is sending the printinstruction in long format.• User nameThis option displays information about print data received from a specified user.• +intervalThis option is used to specify the inquiry interval period for the duration of printing, untilall 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 singleworkstation, 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 followingcommand:%lpq -PfxPS