Displays the names and locations of the specified printers.
If you do not specify a printer name, this option displays the names
and locations of all printers defined in the Printer Inventory.
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 and location of the default printer that the
administrator has defined. If there is no default printer, lpstat returns an error message.
Tip:
This option does not display the name or location of a default
printer that you defined with the LPDEST or PRINTER environment variable.
To display the values of these variables, use the z/OS® UNIX echo command.
-o [printername ...]
Displays information about the specified printers and all jobs
that you submitted to the specified printers. If you do not specify
a printer name, this option displays information about printers defined
in the Printer Inventory and all jobs you submitted to them through Infoprint Server.
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 names and locations of the specified printers.
If you do not specify a printer name, this option displays the names
and locations of all printers defined in the Printer Inventory.
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
Displays information about all printers defined in the Printer
Inventory and all jobs submitted to them through Infoprint Server.
-u [userid ...]
Displays information about all jobs that the specified users
submitted to any printer. If you specify -u without
a user name, this option displays information about all jobs that
all users submitted to any printer. If you do not specify -u, lpstat displays information
about all jobs that you submitted to any printer.
The user ID is
case-sensitive. Use the exact uppercase and lowercase characters.
If
you specify more than one user name in the -u option,
enclose the entire value in quotation marks. Or, you can repeat the -u option.