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>-E</b> 16] [ 17<b>-U</b> 18<i>username</i> 19] [ 20<b>-h </b><i>server</i>[<b>:</b><i>port</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. 47<dt><b>-l</b> 48<dd style="margin-left: 5.0em">Requests a more verbose (long) reporting format. 49</dl> 50<h2 class="title"><a name="SEE_ALSO">See Also</a></h2> 51<b>cancel</b>(1), 52<b>lp</b>(1), 53<b>lpr</b>(1), 54<b>lprm</b>(1), 55<b>lpstat</b>(1), 56CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>) 57<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> 58Copyright © 2007-2019 by Apple Inc. 59 60</body> 61</html> 62