6.4 Printing (HP-UX/Solaris) 35Inquiry (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 Formatlpstat [Option]Command OptionsThe 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 encloseall 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.-tThis 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 isspecified 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, identicaljob numbers may be displayed when an inquiry command (lpstat) is issued.SampleTo inquire about the print data received by a printer set up as “P001”, enter the followingcommand:%lpstat -o P001