ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



lpq(1)                                           Apple Inc.                                           lpq(1)



NAME
       lpq - show printer queue status

SYNOPSIS
       lpq [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ -a ] [ -l ] [ +inter-val +interval
       val ]

DESCRIPTION
       lpq shows the current print queue status on the named printer. Jobs queued on the default destination
       will be shown if no printer or class is specified on the command-line.

       The  +interval  option  allows  you  to  continuously report the jobs in the queue until the queue is
       empty; the list of jobs is show one every interval seconds.

OPTIONS
       lpq supports the following options:

       -E
            Forces encryption when connecting to the server.

       -P destination[/instance]
            Specifies an alternate printer or class name.

       -U username
            Specifies an alternate username.

       -a
            Reports jobs on all printers.

       -h server[:port]
            Specifies an alternate server.

       -l
            Requests a more verbose (long) reporting format.

SEE ALSO
       cancel(1), lp(1), lpr(1), lprm(1), lpstat(1),
       http://localhost:631/help

COPYRIGHT
       Copyright 2007 by Apple Inc.



12 February 2006                         Common UNIX Printing System                                  lpq(1)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.