start page | rating of books | rating of authors | reviews | copyrights

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: lprofChapter 2
Unix Commands
Next: Reference: ls
 

lpstat

lpstat [options]

Print the lp print queue status. With options that take a list argument, omitting the list produces all information for that option. list can be separated by commas or, if enclosed in double quotes, by spaces.

Options

-a [list]

Show whether the list of printer or class names is accepting requests.

-c [list]

Show information about printer classes named in list.

-d

Show the default printer destination.

-D

Use after -p to show a brief printer description.

-f [list]

Verify that the list of forms is known to lp.

-l

Use after -f to describe available forms, after -p to show printer configurations, or after -S to describe printers appropriate for the specified character set or print wheel.

-o [list]

Show the status of output requests. list contains printer names, class names, or request IDs.

-p [list]

Show the status of printers named in list.

-r

Show whether the print scheduler is on or off.

-R

Show the job's position in the print queue.

-s

Summarize the print status (shows almost everything).

-S [list]

Verify that the list of character sets or print wheels is known to lp.

-t

Show all status information (reports everything).

-u [list]

Show request status for users on list. list can be:

user

user on local machine

all

All users on all systems

host!user

user on machine host

host!all

All users on host

all!user

user on all systems

all!all

All users on all systems

-v [list]

Show device associated with each printer named in list.


Previous: Reference: lprofUNIX in a Nutshell: System V EditionNext: Reference: ls
Reference: lprofBook IndexReference: ls

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System