• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/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 disappears and is never printed, but lpr
7    works</title>
8    <meta name="GENERATOR" content=
9    "Modular DocBook HTML Stylesheet Version 1.7">
10    <link rel="HOME" title=" LPRng Reference Manual" href=
11    "index.htm">
12    <link rel="UP" title="The Most Frequently Asked Questions "
13    href="faq.htm">
14    <link rel="PREVIOUS" title=
15    "Job is not in print queue, but it gets printed!" href=
16    "x10735.htm">
17    <link rel="NEXT" title=
18    "I get messages about bad control file format" href=
19    "x10807.htm">
20  </head>
21
22  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
23  "#0000FF" vlink="#840084" alink="#0000FF">
24    <div class="NAVHEADER">
25      <table summary="Header navigation table" width="100%" border=
26      "0" cellpadding="0" cellspacing="0">
27        <tr>
28          <th colspan="3" align="center">LPRng Reference Manual: 5
29          Sep 2003 (For LPRng-3.8.22)</th>
30        </tr>
31
32        <tr>
33          <td width="10%" align="left" valign="bottom"><a href=
34          "x10735.htm" accesskey="P">Prev</a></td>
35
36          <td width="80%" align="center" valign="bottom">Chapter
37          20. The Most Frequently Asked Questions</td>
38
39          <td width="10%" align="right" valign="bottom"><a href=
40          "x10807.htm" accesskey="N">Next</a></td>
41        </tr>
42      </table>
43      <hr align="LEFT" width="100%">
44    </div>
45
46    <div class="SECT1">
47      <h1 class="SECT1"><a name="AEN10790">20.4. Job disappears and
48      is never printed, but lpr works</a></h1>
49
50      <p>This is a rather disconcerting problem, and usually occurs
51      when sending jobs to either a network printer or a
52      nonconforming <a href="rfc1179.htm">RFC1179</a> print
53      spooler. For details about <b class="APPLICATION">LPRng</b>
54      and RFC1179, see <a href="rfc1179ref.htm">RFC1179 and <b
55      class="APPLICATION">LPRng</b></a>, but here is a quick
56      explanation.</p>
57
58      <p>An <b class="APPLICATION">lpd</b> job consists of a
59      control file, which contains information about the job, and
60      one or more data files. RFC1179 is silent on the order that
61      jobs are sent; however some implementations REQUIRE that the
62      data files be sent first, followed by the control file.</p>
63
64      <p>SOLUTION:</p>
65
66      <p>Set the <var class="LITERAL">send_data_first</var> flag in
67      the printcap for the particular printer, or in the <tt class=
68      "FILENAME">lpd.conf</tt> configuration file. This is:</p>
69
70      <div class="INFORMALEXAMPLE">
71        <a name="AEN10803"></a>
72<pre class="SCREEN">
73    :send_data_first:  (printcap)
74    send_data_first    (lpd.conf)
75</pre>
76      </div>
77      <br>
78      <br>
79
80      <p>Note that some printers/servers INSIST on the control file
81      first; You can clear the flag using <var class=
82      "LITERAL">send_job_first@</var> if you need to.</p>
83    </div>
84
85    <div class="NAVFOOTER">
86      <hr align="LEFT" width="100%">
87
88      <table summary="Footer navigation table" width="100%" border=
89      "0" cellpadding="0" cellspacing="0">
90        <tr>
91          <td width="33%" align="left" valign="top"><a href=
92          "x10735.htm" accesskey="P">Prev</a></td>
93
94          <td width="34%" align="center" valign="top"><a href=
95          "index.htm" accesskey="H">Home</a></td>
96
97          <td width="33%" align="right" valign="top"><a href=
98          "x10807.htm" accesskey="N">Next</a></td>
99        </tr>
100
101        <tr>
102          <td width="33%" align="left" valign="top">Job is not in
103          print queue, but it gets printed!</td>
104
105          <td width="34%" align="center" valign="top"><a href=
106          "faq.htm" accesskey="U">Up</a></td>
107
108          <td width="33%" align="right" valign="top">I get messages
109          about bad control file format</td>
110        </tr>
111      </table>
112    </div>
113  </body>
114</html>
115
116