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>Spool Queues and Files</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="PREVIOUS" title="Solaris, Newsprint and FrameMaker" 12 href="x6263.htm"> 13 <link rel="NEXT" title="Queue Lock File " href= 14 "queuelockfile.htm"> 15 </head> 16 17 <body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link= 18 "#0000FF" vlink="#840084" alink="#0000FF"> 19 <div class="NAVHEADER"> 20 <table summary="Header navigation table" width="100%" border= 21 "0" cellpadding="0" cellspacing="0"> 22 <tr> 23 <th colspan="3" align="center">LPRng Reference Manual: 5 24 Sep 2003 (For LPRng-3.8.22)</th> 25 </tr> 26 27 <tr> 28 <td width="10%" align="left" valign="bottom"><a href= 29 "x6263.htm" accesskey="P">Prev</a></td> 30 31 <td width="80%" align="center" valign="bottom"> 32 </td> 33 34 <td width="10%" align="right" valign="bottom"><a href= 35 "queuelockfile.htm" accesskey="N">Next</a></td> 36 </tr> 37 </table> 38 <hr align="LEFT" width="100%"> 39 </div> 40 41 <div class="CHAPTER"> 42 <h1><a name="SPOOLQUEUE"></a>Chapter 13. Spool Queues and 43 Files</h1> 44 45 <div class="TOC"> 46 <dl> 47 <dt><b>Table of Contents</b></dt> 48 49 <dt>13.1. <a href="spoolqueue.htm#AEN6313">Spool 50 Queue</a></dt> 51 52 <dt>13.2. <a href="queuelockfile.htm">Queue Lock 53 File</a></dt> 54 55 <dt>13.3. <a href="queuecontrolfile.htm">Spool Control 56 File</a></dt> 57 58 <dt>13.4. <a href="logfiles.htm">Log and Status 59 Files</a></dt> 60 61 <dt>13.5. <a href="jobfiles.htm">Job Files</a></dt> 62 63 <dt>13.6. <a href="x6660.htm">Job Hold File</a></dt> 64 65 <dt>13.7. <a href="ah.htm">Job State</a></dt> 66 67 <dt>13.8. <a href="useidentifier.htm">Job 68 Identifier</a></dt> 69 </dl> 70 </div> 71 72 <p>When files are accepted by the <b class= 73 "APPLICATION">lpd</b> server for printing, they are stored in 74 a spool queue directory, together with other files 75 controlling the print operation. This section describes these 76 files and how the <b class="APPLICATION">LPRng</b> software 77 uses them.</p> 78 79 <p>For descriptive purposes, we will use the following 80 printcap entry as a guide:</p> 81 82 <div class="INFORMALEXAMPLE"> 83 <a name="AEN6311"></a> 84<pre class="SCREEN"> 85 pr|alias 86 :sd=/var/lpd/pr_public 87 :cd=/var/lpd/pr 88</pre> 89 </div> 90 <br> 91 <br> 92 93 <div class="SECT1"> 94 <h1 class="SECT1"><a name="AEN6313">13.1. Spool 95 Queue</a></h1> 96 97 <ul> 98 <li> 99 <p><var class="LITERAL">sd=</var><span class= 100 "emphasis"><i class="EMPHASIS">Spool queue directory 101 name</i></span></p> 102 </li> 103 </ul> 104 <br> 105 <br> 106 107 <p>The <var class="OPTION">:sd</var> option in the printcap 108 entry specifies the spool queue directory. If there is no 109 <var class="OPTION">:sd</var> entry or value, then the 110 printer can only be used by the clients such as <b class= 111 "APPLICATION">lpq</b> to locate the destination for a print 112 job. All information, files, etc., for a print queue is 113 stored in the spool directory.</p> 114 </div> 115 </div> 116 117 <div class="NAVFOOTER"> 118 <hr align="LEFT" width="100%"> 119 120 <table summary="Footer navigation table" width="100%" border= 121 "0" cellpadding="0" cellspacing="0"> 122 <tr> 123 <td width="33%" align="left" valign="top"><a href= 124 "x6263.htm" accesskey="P">Prev</a></td> 125 126 <td width="34%" align="center" valign="top"><a href= 127 "index.htm" accesskey="H">Home</a></td> 128 129 <td width="33%" align="right" valign="top"><a href= 130 "queuelockfile.htm" accesskey="N">Next</a></td> 131 </tr> 132 133 <tr> 134 <td width="33%" align="left" valign="top">Solaris, 135 Newsprint and FrameMaker</td> 136 137 <td width="34%" align="center" valign="top"> </td> 138 139 <td width="33%" align="right" valign="top">Queue Lock 140 File</td> 141 </tr> 142 </table> 143 </div> 144 </body> 145</html> 146 147