• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/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>Job Filtering By LPR</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="lpr - Job Spooler Program" href=
12    "lpr.htm">
13    <link rel="PREVIOUS" title="Check For Nonprintable File " href=
14    "checkfornonprintable.htm">
15    <link rel="NEXT" title="Restrict Queue Use to Group Members "
16    href="rg.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          "checkfornonprintable.htm" accesskey="P">Prev</a></td>
32
33          <td width="80%" align="center" valign="bottom">Chapter 6.
34          <b class="APPLICATION">lpr</b> - Job Spooler Program</td>
35
36          <td width="10%" align="right" valign="bottom"><a href=
37          "rg.htm" accesskey="N">Next</a></td>
38        </tr>
39      </table>
40      <hr align="LEFT" width="100%">
41    </div>
42
43    <div class="SECT1">
44      <h1 class="SECT1"><a name="LPRBOUNCE">6.10. Job Filtering By
45      LPR</a></h1>
46
47      <p>Options used:</p>
48
49      <ul>
50        <li>
51          <p><var class="LITERAL">lpr_bounce</var> FLAG <span
52          class="emphasis"><i class="EMPHASIS">lpr does
53          filtering</i></span></p>
54        </li>
55      </ul>
56      <br>
57      <br>
58
59      <p>Some users would like the advantages of the filtering and
60      processing capabilities of a lpd daemon without running a <b
61      class="APPLICATION">lpd</b> daemon on their system. By having
62      the <b class="APPLICATION">lpr</b> program process the job by
63      passing it through the various filters and then send the
64      output of the filters as the print job you can get the
65      desired effect.</p>
66
67      <div class="INFORMALEXAMPLE">
68        <a name="AEN4479"></a>
69<pre class="SCREEN">
70    # Simple example of an lpr_bounce entry
71    bounce
72      :lpr_bounce
73      :lp=lp@remote
74      :filter=/usr/local/bin/lpf
75</pre>
76      </div>
77      <br>
78      <br>
79
80      <p>The <var class="LITERAL">lpr_bounce</var> flag, if present
81      in the printcap entry, will force <b class=
82      "APPLICATION">lpr</b> to process the job using the specified
83      filters and send the outputs of the filters to the remote
84      printer for further processing.</p>
85    </div>
86
87    <div class="NAVFOOTER">
88      <hr align="LEFT" width="100%">
89
90      <table summary="Footer navigation table" width="100%" border=
91      "0" cellpadding="0" cellspacing="0">
92        <tr>
93          <td width="33%" align="left" valign="top"><a href=
94          "checkfornonprintable.htm" accesskey="P">Prev</a></td>
95
96          <td width="34%" align="center" valign="top"><a href=
97          "index.htm" accesskey="H">Home</a></td>
98
99          <td width="33%" align="right" valign="top"><a href=
100          "rg.htm" accesskey="N">Next</a></td>
101        </tr>
102
103        <tr>
104          <td width="33%" align="left" valign="top">Check For
105          Nonprintable File</td>
106
107          <td width="34%" align="center" valign="top"><a href=
108          "lpr.htm" accesskey="U">Up</a></td>
109
110          <td width="33%" align="right" valign="top">Restrict Queue
111          Use to Group Members</td>
112        </tr>
113      </table>
114    </div>
115  </body>
116</html>
117
118