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>Bounce Queue&#13;</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="Printcap Database " href=
12    "printcapref.htm">
13    <link rel="PREVIOUS" title="Serial Printer" href="serial.htm">
14    <link rel="NEXT" title="Job Format Translation " href=
15    "translateformat.htm">
16  </head>
17
18  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
19  "#0000FF" vlink="#840084" alink="#0000FF">
20    <div class="NAVHEADER">
21      <table summary="Header navigation table" width="100%" border=
22      "0" cellpadding="0" cellspacing="0">
23        <tr>
24          <th colspan="3" align="center">LPRng Reference Manual: 5
25          Sep 2003 (For LPRng-3.8.22)</th>
26        </tr>
27
28        <tr>
29          <td width="10%" align="left" valign="bottom"><a href=
30          "serial.htm" accesskey="P">Prev</a></td>
31
32          <td width="80%" align="center" valign="bottom">Chapter
33          12. Printcap Database</td>
34
35          <td width="10%" align="right" valign="bottom"><a href=
36          "translateformat.htm" accesskey="N">Next</a></td>
37        </tr>
38      </table>
39      <hr align="LEFT" width="100%">
40    </div>
41
42    <div class="SECT1">
43      <h1 class="SECT1"><a name="LPDBOUNCE">12.11. Bounce
44      Queue</a></h1>
45
46      <p>Options used:</p>
47
48      <ul>
49        <li>
50          <p><var class="LITERAL">lpd_bounce</var> FLAG <span
51          class="emphasis"><i class="EMPHASIS">produces a single
52          file for forwarding</i></span></p>
53        </li>
54
55        <li>
56          <p><var class="LITERAL">bq_format=</var><span class=
57          "emphasis"><i class="EMPHASIS">format of filtered
58          files</i></span></p>
59        </li>
60      </ul>
61      <br>
62      <br>
63
64      <p>When the destination of a spool queue is another spool
65      queue the job is simply forwarded without any modifications.
66      However, sometimes it is essential that the job be modified
67      before forwarding, as when the remote spool queue is actually
68      a printer, and jobs need to be converted to the format
69      acceptable by the remote printer or banner pages added.</p>
70
71      <p>The <var class="LITERAL">lpd_bounce</var> flag marks a
72      spool queue as a bounce queue. <var class="LITERAL">Lpd</var>
73      will perform all of the usually job processing steps, such as
74      banner generation, filtering files, etc, but saves the output
75      to a file. This file is then sent to the destination print
76      queue for further processing.</p>
77
78      <div class="INFORMALEXAMPLE">
79        <a name="AEN5933"></a>
80<pre class="SCREEN">
81    # Simple example of a bounce queue
82    bounce:lp=bounce@bouncehost
83    bounce:server
84        :lp=lp@remote
85        :lpd_bounce
86        :sd=/var/spool/lpd/%P
87        :filter=/usr/local/bin/lpf
88        # uncomment ab if you want banner
89        #:ab
90</pre>
91      </div>
92      <br>
93      <br>
94
95      <p>Some comments:</p>
96
97      <ol type="1">
98        <li>
99          <p>The <var class="LITERAL">lpd_bounce</var> option marks
100          the job as a bounce queue, and the <b class=
101          "APPLICATION">lpd</b> server will process the job through
102          the appropriate filter programs.</p>
103        </li>
104
105        <li>
106          <p>The printcap has filter specifications for different
107          job formats. These are the programs that will be used by
108          <b class="APPLICATION">LPRng</b> to process the job.</p>
109        </li>
110
111        <li>
112          <p>The <var class="LITERAL">bq_format</var> specifies the
113          job format for the output file sent to the remote spool
114          queue. If not specified, it defaults to <var class=
115          "LITERAL">l</var> (literal or binary).</p>
116        </li>
117
118        <li>
119          <p>The <var class="LITERAL">ab</var> (always print a
120          banner) flag will force a banner to be added to the job.
121          The banner generation is done as discussed in <a href=
122          "bannerprinting.htm">Banner Printing</a>.</p>
123        </li>
124      </ol>
125      <br>
126      <br>
127    </div>
128
129    <div class="NAVFOOTER">
130      <hr align="LEFT" width="100%">
131
132      <table summary="Footer navigation table" width="100%" border=
133      "0" cellpadding="0" cellspacing="0">
134        <tr>
135          <td width="33%" align="left" valign="top"><a href=
136          "serial.htm" accesskey="P">Prev</a></td>
137
138          <td width="34%" align="center" valign="top"><a href=
139          "index.htm" accesskey="H">Home</a></td>
140
141          <td width="33%" align="right" valign="top"><a href=
142          "translateformat.htm" accesskey="N">Next</a></td>
143        </tr>
144
145        <tr>
146          <td width="33%" align="left" valign="top">Serial
147          Printer</td>
148
149          <td width="34%" align="center" valign="top"><a href=
150          "printcapref.htm" accesskey="U">Up</a></td>
151
152          <td width="33%" align="right" valign="top">Job Format
153          Translation</td>
154        </tr>
155      </table>
156    </div>
157  </body>
158</html>
159
160