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 State</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="Spool Queues and Files" href= 12 "spoolqueue.htm"> 13 <link rel="PREVIOUS" title="Job Hold File" href="x6660.htm"> 14 <link rel="NEXT" title="Job Identifier " href= 15 "useidentifier.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 "x6660.htm" accesskey="P">Prev</a></td> 31 32 <td width="80%" align="center" valign="bottom">Chapter 33 13. Spool Queues and Files</td> 34 35 <td width="10%" align="right" valign="bottom"><a href= 36 "useidentifier.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="AH">13.7. Job State</a></h1> 44 45 <p>Options used:</p> 46 47 <ul> 48 <li> 49 <p><var class="LITERAL">ah</var> FLAG <span class= 50 "emphasis"><i class="EMPHASIS">Automatically hold 51 jobs</i></span></p> 52 </li> 53 </ul> 54 <br> 55 <br> 56 57 <p>A job can be in the following state:</p> 58 59 <ol type="1"> 60 <li> 61 <p>Initial. This is the state during job submission. Jobs 62 in the initial state do not have any status displayed for 63 them.</p> 64 </li> 65 66 <li> 67 <p>Held. Once a job is submitted, it can either be 68 printed or <span class="emphasis"><i class= 69 "EMPHASIS">held</i></span>. The <var class= 70 "LITERAL">ah</var> printcap option specifies that all 71 jobs are automatically held on submission. The <tt class= 72 "COMMAND">lpc release</tt> and <tt class="COMMAND">lpc 73 redo</tt> command will cause these jobs to be printed and 74 the <b class="APPLICATION">lprm</b> command can remove 75 these jobs.</p> 76 </li> 77 78 <li> 79 <p>Active. The job is being processed for printing or 80 transfer to another queue.</p> 81 </li> 82 83 <li> 84 <p>Pending. Jobs which can be printed but are not active. 85 This can be due to the printer being busy or the job 86 <span class="emphasis"><i class= 87 "EMPHASIS">class</i></span> not being printed.</p> 88 </li> 89 90 <li> 91 <p>Error. Jobs which have encountered an error during 92 printing. The <tt class="COMMAND">lpc release</tt> and 93 <tt class="COMMAND">lpc redo</tt> command will cause 94 these jobs to be printed and the <b class= 95 "APPLICATION">lprm</b> command can remove these jobs.</p> 96 </li> 97 98 <li> 99 <p>Done. Jobs which have completed printing, but which 100 are not yet removed from the print queue. See the <span 101 class="emphasis"><i class="EMPHASIS"><a href= 102 "normalterm.htm">save_when_done</a></i></span> flag for 103 more information. The <b class="APPLICATION">lprm</b> 104 command can remove these jobs.</p> 105 </li> 106 </ol> 107 <br> 108 <br> 109 110 <p>Normally the job sequences is initial, pending, active, 111 and done. However, a job may be put in the error state by 112 problems processing the job or by actions of the <b class= 113 "APPLICATION">lpc</b> command.</p> 114 </div> 115 116 <div class="NAVFOOTER"> 117 <hr align="LEFT" width="100%"> 118 119 <table summary="Footer navigation table" width="100%" border= 120 "0" cellpadding="0" cellspacing="0"> 121 <tr> 122 <td width="33%" align="left" valign="top"><a href= 123 "x6660.htm" accesskey="P">Prev</a></td> 124 125 <td width="34%" align="center" valign="top"><a href= 126 "index.htm" accesskey="H">Home</a></td> 127 128 <td width="33%" align="right" valign="top"><a href= 129 "useidentifier.htm" accesskey="N">Next</a></td> 130 </tr> 131 132 <tr> 133 <td width="33%" align="left" valign="top">Job Hold 134 File</td> 135 136 <td width="34%" align="center" valign="top"><a href= 137 "spoolqueue.htm" accesskey="U">Up</a></td> 138 139 <td width="33%" align="right" valign="top">Job 140 Identifier</td> 141 </tr> 142 </table> 143 </div> 144 </body> 145</html> 146 147