<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>lpq Short Format (lpq -s)</title>
<meta name="GENERATOR" content=
"Modular DocBook HTML Stylesheet Version 1.7">
<link rel="HOME" title=" LPRng Reference Manual" href=
"index.htm">
<link rel="UP" title="lpq - Status Monitoring Program " href=
"lpq.htm">
<link rel="PREVIOUS" title="lpq Job Selection" href=
"x4586.htm">
<link rel="NEXT" title="lpq Long Format (lpq, lpq -l, lpq -L)"
href="x4604.htm">
</head>
<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
"#0000FF" vlink="#840084" alink="#0000FF">
<div class="NAVHEADER">
<table summary="Header navigation table" width="100%" border=
"0" cellpadding="0" cellspacing="0">
<tr>
<th colspan="3" align="center">LPRng Reference Manual: 24
Sep 2004 (For LPRng-3.8.28)</th>
</tr>
<tr>
<td width="10%" align="left" valign="bottom"><a href=
"x4586.htm" accesskey="P">Prev</a></td>
<td width="80%" align="center" valign="bottom">Chapter 7.
<b class="APPLICATION">lpq</b> - Status Monitoring
Program</td>
<td width="10%" align="right" valign="bottom"><a href=
"x4604.htm" accesskey="N">Next</a></td>
</tr>
</table>
<hr align="LEFT" width="100%">
</div>
<div class="SECT1">
<h1 class="SECT1"><a name="AEN4593">7.3. <b class=
"APPLICATION">lpq</b> Short Format (lpq -s)</a></h1>
<p>This is one line per spool queue:</p>
<div class="INFORMALEXAMPLE">
<a name="AEN4597"></a>
<pre class="SCREEN">
% lpq -sa
t1@astart110 (printing disabled) 1 job
t2@astart110 (routed/bounce to t1@h10.private) 0 jobs
t3@astart110 (forwarding to t3a@h10.private)
t3a@astart110 (forwarding to t2@h10.private)
t4@astart110 (subservers t5, t6) 0 jobs
t5@astart110 (serving t4) 0 jobs
t6@astart110 (serving t4) 0 jobs
</pre>
</div>
<br>
<br>
<p>Note that the name of the printer/host is first, followed
by optional status information, followed by the number of
jobs. Only printcap entries with spool queues have a jobs
word in the last position. The <var class="LITERAL">-a</var>
literal forces status for all queues or the queues in the
<var class="LITERAL">all</var> printcap entry to be
returned.</p>
<p>The <var class="LITERAL">stalled_time</var> (default 120
seconds) printcap option can be used to set a time after
which active jobs will be reported as stalled.</p>
</div>
<div class="NAVFOOTER">
<hr align="LEFT" width="100%">
<table summary="Footer navigation table" width="100%" border=
"0" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" align="left" valign="top"><a href=
"x4586.htm" accesskey="P">Prev</a></td>
<td width="34%" align="center" valign="top"><a href=
"index.htm" accesskey="H">Home</a></td>
<td width="33%" align="right" valign="top"><a href=
"x4604.htm" accesskey="N">Next</a></td>
</tr>
<tr>
<td width="33%" align="left" valign="top"><b class=
"APPLICATION">lpq</b> Job Selection</td>
<td width="34%" align="center" valign="top"><a href=
"lpq.htm" accesskey="U">Up</a></td>
<td width="33%" align="right" valign="top"><b class=
"APPLICATION">lpq</b> Long Format (lpq, lpq -l, lpq
-L)</td>
</tr>
</table>
</div>
</body>
</html>
syntax highlighted by Code2HTML, v. 0.9.1