up previous next contents
Next: Interpreting The Output of Up: Checking the Status of Previous: Checking the Status of   Contents

"lpstat" examples

[lpstat]
The "lpstat" command, used with no options, may return no output. It is generally better off to use an option with "lpstat".

[lpstat -t]
The "lpstat" command with the "-t" option gives you total information about the printer status. This option is generally the most useful, but the printout can be lengthy if you have a large number for printers configured.

$  lpstat -t

scheduler is running                                                     
system default destination: Sales                                        
device for Sales: /dev/lp0
Sales accepting requests since Wed Apr 15 21:01:36 1998                  
printer Sales is idle. enabled since Sat Apr 18 15:40:06 1998. available.

The -t option is very informative. We now know:

  1. The scheduler is running;
  2. The default printer is named "Sales";
  3. Sales is accepting requests



Subsections
up previous next contents
Next: Interpreting The Output of Up: Checking the Status of Previous: Checking the Status of   Contents