<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org">
    <title>Job State</title>
    <meta name="GENERATOR" content=
    "Modular DocBook HTML Stylesheet Version 1.7">
    <link rel="HOME" title=" LPRng Reference Manual" href=
    "index.htm">
    <link rel="UP" title="Spool Queues and Files" href=
    "spoolqueue.htm">
    <link rel="PREVIOUS" title="Job Hold File" href="x6690.htm">
    <link rel="NEXT" title="Job Identifier " href=
    "useidentifier.htm">
  </head>

  <body class="SECT1" 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=
          "x6690.htm" accesskey="P">Prev</a></td>

          <td width="80%" align="center" valign="bottom">Chapter
          13. Spool Queues and Files</td>

          <td width="10%" align="right" valign="bottom"><a href=
          "useidentifier.htm" accesskey="N">Next</a></td>
        </tr>
      </table>
      <hr align="LEFT" width="100%">
    </div>

    <div class="SECT1">
      <h1 class="SECT1"><a name="AH">13.7. Job State</a></h1>

      <p>Options used:</p>

      <ul>
        <li>
          <p><var class="LITERAL">ah</var> FLAG <span class=
          "emphasis"><i class="EMPHASIS">Automatically hold
          jobs</i></span></p>
        </li>
      </ul>
      <br>
      <br>

      <p>A job can be in the following state:</p>

      <ol type="1">
        <li>
          <p>Initial. This is the state during job submission. Jobs
          in the initial state do not have any status displayed for
          them.</p>
        </li>

        <li>
          <p>Held. Once a job is submitted, it can either be
          printed or <span class="emphasis"><i class=
          "EMPHASIS">held</i></span>. The <var class=
          "LITERAL">ah</var> printcap option specifies that all
          jobs are automatically held on submission. The <tt class=
          "COMMAND">lpc release</tt> and <tt class="COMMAND">lpc
          redo</tt> command will cause these jobs to be printed and
          the <b class="APPLICATION">lprm</b> command can remove
          these jobs.</p>
        </li>

        <li>
          <p>Active. The job is being processed for printing or
          transfer to another queue.</p>
        </li>

        <li>
          <p>Pending. Jobs which can be printed but are not active.
          This can be due to the printer being busy or the job
          <span class="emphasis"><i class=
          "EMPHASIS">class</i></span> not being printed.</p>
        </li>

        <li>
          <p>Error. Jobs which have encountered an error during
          printing. The <tt class="COMMAND">lpc release</tt> and
          <tt class="COMMAND">lpc redo</tt> command will cause
          these jobs to be printed and the <b class=
          "APPLICATION">lprm</b> command can remove these jobs.</p>
        </li>

        <li>
          <p>Done. Jobs which have completed printing, but which
          are not yet removed from the print queue. See the <span
          class="emphasis"><i class="EMPHASIS"><a href=
          "normalterm.htm">save_when_done</a></i></span> flag for
          more information. The <b class="APPLICATION">lprm</b>
          command can remove these jobs.</p>
        </li>
      </ol>
      <br>
      <br>

      <p>Normally the job sequences is initial, pending, active,
      and done. However, a job may be put in the error state by
      problems processing the job or by actions of the <b class=
      "APPLICATION">lpc</b> command.</p>
    </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=
          "x6690.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=
          "useidentifier.htm" accesskey="N">Next</a></td>
        </tr>

        <tr>
          <td width="33%" align="left" valign="top">Job Hold
          File</td>

          <td width="34%" align="center" valign="top"><a href=
          "spoolqueue.htm" accesskey="U">Up</a></td>

          <td width="33%" align="right" valign="top">Job
          Identifier</td>
        </tr>
      </table>
    </div>
  </body>
</html>



syntax highlighted by Code2HTML, v. 0.9.1