1<!DOCTYPE HTML> 2<html> 3<!-- SECTION: Man Pages --> 4<head> 5 <link rel="stylesheet" type="text/css" href="../cups-printable.css"> 6 <title>lpq(1)</title> 7</head> 8<body> 9<h1 class="title">lpq(1)</h1> 10<h2 class="title"><a name="NAME">Name</a></h2> 11lpq - show printer queue status 12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2> 13<b>lpq</b> 14[ 15<b>-h </b><i>server</i>[<b>:</b><i>port</i>] 16] [ 17<b>-E</b> 18] [ 19<b>-U</b> 20<i>username</i> 21] [ 22<b>-P </b><i>destination</i>[<b>/</b><i>instance</i>] 23] [ 24<b>-a</b> 25] [ 26<b>-l</b> 27] [ 28<b>+</b><i>interval</i> 29] 30<h2 class="title"><a name="DESCRIPTION">Description</a></h2> 31<b>lpq</b> shows the current print queue status on the named printer. 32Jobs queued on the default destination will be shown if no printer or class is specified on the command-line. 33<p>The <i>+interval</i> option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every <i>interval</i> seconds. 34<h2 class="title"><a name="OPTIONS">Options</a></h2> 35<b>lpq</b> supports the following options: 36<dl class="man"> 37<dt><b>-E</b> 38<dd style="margin-left: 5.0em">Forces encryption when connecting to the server. 39<dt><b>-P </b><i>destination</i>[<b>/</b><i>instance</i>] 40<dd style="margin-left: 5.0em">Specifies an alternate printer or class name. 41<dt><b>-U </b><i>username</i> 42<dd style="margin-left: 5.0em">Specifies an alternate username. 43<dt><b>-a</b> 44<dd style="margin-left: 5.0em">Reports jobs on all printers. 45<dt><b>-h </b><i>server</i>[<b>:</b><i>port</i>] 46<dd style="margin-left: 5.0em">Specifies an alternate server. 47Note: This option must occur before all others. 48<dt><b>-l</b> 49<dd style="margin-left: 5.0em">Requests a more verbose (long) reporting format. 50</dl> 51<h2 class="title"><a name="SEE_ALSO">See Also</a></h2> 52<a href="man-cancel.html?TOPIC=Man+Pages"><b>cancel</b>(1),</a> 53<a href="man-lp.html?TOPIC=Man+Pages"><b>lp</b>(1),</a> 54<a href="man-lpr.html?TOPIC=Man+Pages"><b>lpr</b>(1),</a> 55<a href="man-lprm.html?TOPIC=Man+Pages"><b>lprm</b>(1),</a> 56<a href="man-lpstat.html?TOPIC=Man+Pages"><b>lpstat</b>(1),</a> 57CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>) 58<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> 59Copyright © 2020-2024 by OpenPrinting. 60 61</body> 62</html> 63