z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Examples -- lpstat

z/OS Infoprint Server User's Guide
SA38-0695-00

Examples -- lpstat

Display the names and locations of all printers

To display the names of all printer definitions in the Infoprint Server Printer Inventory and the location information in the printer definition, enter:

lpstat -a

Display the name and location of the default printer

To display the name and location of the default printer, enter:

lpstat -d

Display information about selected jobs

To display the status of the jobs whose Infoprint Server job IDs are 14 and 16, enter:

lpstat 14 16

Display information about all jobs that you submitted

To display the status of all the jobs that you submitted to any printer definition, enter:

lpstat

Display information about all jobs submitted by a user

To display the status of all jobs that user MARTHA submitted to any printer definition, enter:

lpstat -u MARTHA

Display information about a printer and all jobs that you submitted to it

To display the location of printer Printer1 and the status of all jobs that you submitted to it, enter:

lpstat -o Printer1

Display information about several printers and all jobs that you submitted to it

To display the location of printers Printer1 and Printer2 and the status of all jobs that you submitted to them, enter:

lpstat -o "Printer1 Printer2"

Display information about all printers and all jobs

To display the status of all printers and all jobs that have been submitted by all users in the system, enter:

lpstat -t

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014