UNIX Guide, for beginners and Mac OS X users
You are here: SillyDog701 > UNIX Guide >SillyDog701 > UNIX Guide > (index) supportSupport - ask in our friendly forums.

Examples of using the lpq command

To display the print queue for your default printer:

   lpq
   Rank    Owner   Job     Files
   active  joe     483     overheads.ps
   2nd     sarah   484     /tmp/RFC137
   3rd     tony    485     report

This displays the print queue for your default printer: the one defined by your PRINTER environment variable.

Each job in the queue has a job number. Details are also given about the job's position in the queue and the user's name.

To display the print queue for a specific printer:

   lpq -Ppsmath

This displays the print queue for the printer psmath.


[Home]UNIX Guide home | [Search]search | index
Page URL: http://sillydog.org/unix/
[SillyDog701] [Netscape] [MozInfo701] [MacCentre701] [UNIX Guide] [AntTunes701][Forums] [Search] [Change Log] [Feedback] [About Us] [Sitemap]
This UNIX Guide maintained by SillyDog701, portion of this Guide is based on UNIXhelp. UNIXhelp is copyright University of Edinburgh. This page was last modified on 14 March, 2006
Netscape NOW!Made on a Mac
support MozInfo701 and SillyDog701