Chapter 13. Spool Queues and Files

Table of Contents
13.1. Spool Queue
13.2. Queue Lock File
13.3. Spool Control File
13.4. Log and Status Files
13.5. Job Files
13.6. Job Hold File
13.7. Job State
13.8. Job Identifier

When files are accepted by the lpd server for printing, they are stored in a spool queue directory, together with other files controlling the print operation. This section describes these files and how the LPRng software uses them.

For descriptive purposes, we will use the following printcap entry as a guide:

    pr|alias
      :sd=/var/lpd/pr_public
      :cd=/var/lpd/pr


13.1. Spool Queue



The :sd option in the printcap entry specifies the spool queue directory. If there is no :sd entry or value, then the printer can only be used by the clients such as lpq to locate the destination for a print job. All information, files, etc., for a print queue is stored in the spool directory.