• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/DOCS/LPRng-Reference-Multipart/
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>lpq Short Format (lpq -s)</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="UP" title="lpq - Status Monitoring Program " href=
12    "lpq.htm">
13    <link rel="PREVIOUS" title="lpq Job Selection" href=
14    "x4572.htm">
15    <link rel="NEXT" title="lpq Long Format (lpq, lpq -l, lpq -L)"
16    href="x4590.htm">
17  </head>
18
19  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
20  "#0000FF" vlink="#840084" alink="#0000FF">
21    <div class="NAVHEADER">
22      <table summary="Header navigation table" width="100%" border=
23      "0" cellpadding="0" cellspacing="0">
24        <tr>
25          <th colspan="3" align="center">LPRng Reference Manual: 5
26          Sep 2003 (For LPRng-3.8.22)</th>
27        </tr>
28
29        <tr>
30          <td width="10%" align="left" valign="bottom"><a href=
31          "x4572.htm" accesskey="P">Prev</a></td>
32
33          <td width="80%" align="center" valign="bottom">Chapter 7.
34          <b class="APPLICATION">lpq</b> - Status Monitoring
35          Program</td>
36
37          <td width="10%" align="right" valign="bottom"><a href=
38          "x4590.htm" accesskey="N">Next</a></td>
39        </tr>
40      </table>
41      <hr align="LEFT" width="100%">
42    </div>
43
44    <div class="SECT1">
45      <h1 class="SECT1"><a name="AEN4579">7.3. <b class=
46      "APPLICATION">lpq</b> Short Format (lpq -s)</a></h1>
47
48      <p>This is one line per spool queue:</p>
49
50      <div class="INFORMALEXAMPLE">
51        <a name="AEN4583"></a>
52<pre class="SCREEN">
53    % lpq -sa
54    t1@astart110  (printing disabled) 1 job
55    t2@astart110  (routed/bounce to t1@h10.private) 0 jobs
56    t3@astart110  (forwarding to t3a@h10.private)
57    t3a@astart110  (forwarding to t2@h10.private)
58    t4@astart110  (subservers t5, t6)  0 jobs
59    t5@astart110  (serving t4) 0 jobs
60    t6@astart110  (serving t4) 0 jobs
61</pre>
62      </div>
63      <br>
64      <br>
65
66      <p>Note that the name of the printer/host is first, followed
67      by optional status information, followed by the number of
68      jobs. Only printcap entries with spool queues have a jobs
69      word in the last position. The <var class="LITERAL">-a</var>
70      literal forces status for all queues or the queues in the
71      <var class="LITERAL">all</var> printcap entry to be
72      returned.</p>
73
74      <p>The <var class="LITERAL">stalled_time</var> (default 120
75      seconds) printcap option can be used to set a time after
76      which active jobs will be reported as stalled.</p>
77    </div>
78
79    <div class="NAVFOOTER">
80      <hr align="LEFT" width="100%">
81
82      <table summary="Footer navigation table" width="100%" border=
83      "0" cellpadding="0" cellspacing="0">
84        <tr>
85          <td width="33%" align="left" valign="top"><a href=
86          "x4572.htm" accesskey="P">Prev</a></td>
87
88          <td width="34%" align="center" valign="top"><a href=
89          "index.htm" accesskey="H">Home</a></td>
90
91          <td width="33%" align="right" valign="top"><a href=
92          "x4590.htm" accesskey="N">Next</a></td>
93        </tr>
94
95        <tr>
96          <td width="33%" align="left" valign="top"><b class=
97          "APPLICATION">lpq</b> Job Selection</td>
98
99          <td width="34%" align="center" valign="top"><a href=
100          "lpq.htm" accesskey="U">Up</a></td>
101
102          <td width="33%" align="right" valign="top"><b class=
103          "APPLICATION">lpq</b> Long Format (lpq, lpq -l, lpq
104          -L)</td>
105        </tr>
106      </table>
107    </div>
108  </body>
109</html>
110
111