/usr/share/doc/lprng-doc/LPRng-Reference-Multipart/jobsteps.htm is in lprng-doc 3.8.A~rc2-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.2.0">
<title>Job Processing</title>
<meta name="GENERATOR" content=
"Modular DocBook HTML Stylesheet Version 1.79">
<link rel="HOME" title=" LPRng Reference Manual" href=
"index.htm">
<link rel="PREVIOUS" title="Legacy Compatibility" href=
"x6829.htm">
<link rel="NEXT" title="Submitting Jobs and Service Requests"
href="submitting.htm">
</head>
<body class="CHAPTER" 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=
"x6829.htm" accesskey="P">Prev</a></td>
<td width="80%" align="center" valign="bottom"></td>
<td width="10%" align="right" valign="bottom"><a href=
"submitting.htm" accesskey="N">Next</a></td>
</tr>
</table>
<hr align="left" width="100%">
</div>
<div class="CHAPTER">
<h1><a name="JOBSTEPS" id="JOBSTEPS"></a>Chapter 15. Job
Processing</h1>
<div class="TOC">
<dl>
<dt><b>Table of Contents</b></dt>
<dt>15.1. <a href="jobsteps.htm#CONFIGSETUP">Configuration
and Setup Options</a></dt>
<dt>15.2. <a href="submitting.htm">Submitting Jobs and
Service Requests</a></dt>
<dt>15.3. <a href="reception.htm">Job Reception</a></dt>
<dt>15.4. <a href="spoolq.htm">Spool Queue
Processing</a></dt>
<dt>15.5. <a href="opendevice.htm">Opening the Output
Device</a></dt>
<dt>15.6. <a href="bannerprinting.htm">Printing
Banners</a></dt>
<dt>15.7. <a href="printingjob.htm">Printing Job
Files</a></dt>
<dt>15.8. <a href="x7458.htm">Printing Banner At End of
Job</a></dt>
<dt>15.9. <a href="normalterm.htm">Normal
Termination</a></dt>
<dt>15.10. <a href="abnormalterm.htm">Abnormal
Termination</a></dt>
<dt>15.11. <a href="bk.htm">Forwarding Jobs</a></dt>
<dt>15.12. <a href="debugging.htm">Debugging</a></dt>
</dl>
</div>
<p>Much of the flexibility of the <b class=
"APPLICATION">LPRng</b> software is obtained from the ability
to control the details of each step of job processing. The
following section details each step in the processing of a job,
and explains the printcap options used to control each
operation.</p>
<p>Assume the <tt class="LITERAL">pr</tt> printcap entry has
the form:</p>
<div class="INFORMALEXAMPLE">
<a name="AEN6838" id="AEN6838"></a>
<pre class="SCREEN">pr
:lp=/dev/lp OR :lp=rp@rm
:sd=/var/spool/lpd/pr
:lf=log
:filter=/usr/local/bin/lpf</pre>
</div>
<p>Assume that we have used the following command to print a
set of files.</p>
<div class="INFORMALEXAMPLE">
<a name="AEN6841" id="AEN6841"></a>
<pre class="SCREEN">lpr -Ppr file1 file2</pre>
</div>
<p>This will create a control file in the <tt class=
"FILENAME">/var/spool/lpd/pr</tt> directory with the following
contents (this is an example - in practice there may be minor
differences between the example and an actual control
file):</p>
<div class="INFORMALEXAMPLE">
<a name="AEN6845" id="AEN6845"></a>
<pre class="SCREEN">Hh4.private
J/tmp/file1 /tmp/file2
CA
Lpapowell
Ppapowell
fdfA002230h4.private
N/tmp/file1
UdfA002230h4.private
fdfB002230h4.private
N/tmp/file2
UdfB002230h4.private</pre>
</div>
<p>We will refer to this example throughout the following
sections.</p>
<div class="SECT1">
<h1 class="SECT1"><a name="CONFIGSETUP" id=
"CONFIGSETUP">15.1. Configuration and Setup Options</a></h1>
<p>Options used:</p>
<ul>
<li>
<p><tt class="LITERAL">ipv6</tt> FLAG <span class=
"emphasis"><i class="EMPHASIS">use IPV6 Network
facilities</i></span></p>
</li>
<li>
<p><tt class="LITERAL">default_tmp_dir=</tt><span class=
"emphasis"><i class="EMPHASIS">temporary
directory</i></span></p>
</li>
<li>
<p><tt class="LITERAL">lockfile=</tt><span class=
"emphasis"><i class="EMPHASIS">lpd server lock
file</i></span></p>
</li>
<li>
<p><tt class="LITERAL">report_server_as=</tt><span class=
"emphasis"><i class="EMPHASIS">server name for status
reports</i></span></p>
</li>
<li>
<p><tt class="LITERAL">spool_dir_perms=</tt><span class=
"emphasis"><i class="EMPHASIS">spool directory
permissions</i></span></p>
</li>
<li>
<p><tt class="LITERAL">spool_file_perms=</tt><span class=
"emphasis"><i class="EMPHASIS">spool file
permissions</i></span></p>
</li>
</ul>
<p>The <tt class="LITERAL">ipv6</tt> specifies that the IPV6
protocol, rather than IPV4 will be used.</p>
<p>The <tt class="LITERAL">lockfile</tt> specifies the
location of the lock file used by the <b class=
"APPLICATION">lpd</b> server. This file has the port number
in the <tt class="LITERAL">lpd_port</tt> value appended to
form a unique lock file name.</p>
<p>The <tt class="LITERAL">spool_dir_perms</tt> and
<tt class="LITERAL">spool_file_perms</tt> (default 0700 and
0600 respectively) values are the (numeric) permissions for
the spool directory and spool files.</p>
<p>The <tt class="LITERAL">report_server_as</tt> option
allows an administrator to masquerade a server with another
name. This could be useful if various load sharing activities
are being carried out, or if there are problems reconfiguring
DNS to cause the correct server name to be reported.</p>
<p>The <tt class="LITERAL">default_tmp_dir</tt> option
specifies a temporary directory to be used to hold files or
information temporarily if there is no spool directory
available.</p>
</div>
</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=
"x6829.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=
"submitting.htm" accesskey="N">Next</a></td>
</tr>
<tr>
<td width="33%" align="left" valign="top">Legacy
Compatibility</td>
<td width="34%" align="center" valign="top"> </td>
<td width="33%" align="right" valign="top">Submitting Jobs
and Service Requests</td>
</tr>
</table>
</div>
<p align="center"></p>
</body>
</html>
|