lpq(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | COPYRIGHT | COLOPHON

lpq(1)                         OpenPrinting                        lpq(1)

NAME         top

       lpq - show printer queue status

SYNOPSIS         top

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

DESCRIPTION         top

       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 shown once
       every interval seconds.

OPTIONS         top

       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.  Note: This option must occur
            before all others.

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

SEE ALSO         top

       cancel(1), lp(1), lpr(1), lprm(1), lpstat(1), CUPS Online Help
       (http://localhost:631/help)

COPYRIGHT         top

       Copyright © 2020-2024 by OpenPrinting.

COLOPHON         top

       This page is part of the CUPS (a standards-based, open source
       printing system) project.  Information about the project can be
       found at ⟨https://github.com/openprinting/cups⟩.  If you have a
       bug report for this manual page, see
       ⟨https://github.com/OpenPrinting/cups/issues⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨https://github.com/openprinting/cups⟩ on 2025-02-02.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2025-01-27.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there is
       a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

2022-05-02                         CUPS                            lpq(1)

Pages that refer to this page: cups(1)lp(1)lpr(1)lprm(1)lpstat(1)