<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>LPRng Reference Manual</title>
<meta name="GENERATOR" content=
"Modular DocBook HTML Stylesheet Version 1.7">
<link rel="NEXT" title="Preface" href="f38.htm">
</head>
<body class="BOOK" bgcolor="#FFFFFF" text="#000000" link=
"#0000FF" vlink="#840084" alink="#0000FF">
<div class="BOOK">
<a name="AEN1"></a>
<table><tr valign=top>
<td width=25%>
<a href="http://www.lprng.com">
<img align=left SRC="LPRng.jpg" ALT="LPRngLogo" height=60>
</a>
</td>
<td width=50%></td><td width=25% >
<a href="http://www.lprng.com">
<img align=right SRC="LPRngT-L.jpg" ALT="LPRngTool" height=75>
</a>
</td></tr></table>
<div class="TITLEPAGE">
<h1 class="TITLE"><a name="AEN2">LPRng Reference
Manual</a></h1>
<h2 class="SUBTITLE">24 Sep 2004 (For LPRng-3.8.28)</h2>
<h3 class="AUTHOR"><a name="AEN5"></a>Patrick A Powell</h3>
<div class="AFFILIATION">
<div class="ADDRESS">
<p class="ADDRESS"><code class="EMAIL"><<a href=
"mailto:papowell@lprng.com">papowell@lprng.com</a>></code><br>
AStArt Technologies<br>
6741 Convoy Court,<br>
San Diego, CA 92111<br>
Phone 858-874-6543<br>
Fax 858-751-2435</p>
</div>
</div>
<p class="COPYRIGHT">Copyright © 1996-2001 Patrick
Powell</p>
<div>
<div class="ABSTRACT">
<a name="AEN21"></a>
<p>The LPRng; Printing Software consists of the <b
class="APPLICATION">LPRng</b> print spooler, the <b
class="APPLICATION">ifhp</b> print filter, and the <b
class="APPLICATION">LPRngTool</b> graphical user
interface.</p>
<p>The <b class="APPLICATION">LPRng</b> print spooler
is an enhanced, extended, and portable implementation
of the Berkeley <b class="APPLICATION">lpr</b> print
spooler functionality. While providing the same
interface and meeting RFC1179 requirements, the
implementation is completely independent and provides
support for the following features: lightweight (no
databases needed) lpr, lpc, and lprm programs; dynamic
redirection of print queues; printer pooling and load
balancing; automatic job holding; highly verbose
diagnostics; client programs do not need to run SETUID
root; greatly enhanced security checks; load balancing
across multiple printers; and a greatly improved
permission and authorization mechanism. The source
software compiles and runs on a wide variety of UNIX
systems, and is compatible with other print spoolers
and network printers that use the <b class=
"APPLICATION">lpr</b> interface and meet RFC1179
requirements. Included in the <b class=
"APPLICATION">LPRng</b> print spooler distribution is a
set of customizable banner page generation
programs.</p>
<p>The SVR4 lp and lpstat functionality is provided by
a set of emulator programs, and <b class=
"APPLICATION">LPRng</b> can be easily integrated with
the Samba SMB support package. For users that require
secure and/or authenticated printing support, <b class=
"APPLICATION">LPRng</b> supports SSL (using <b class=
"APPLICATION">OpenSSL</b>), Kerberos 5, MIT Kerberos 4
extensions to LPR, PGP, and simple MD5 based
authentication. Additional authentication support is
extremely simple to add.</p>
<p>The <b class="APPLICATION">ifhp</b> print filter
converts print jobs into formats compatible with
PostScript, PCL, text, and other printers and provides
diagnostic and error information as well as accounting
information.</p>
<p>The ;LPRngTool& Graphical User Interface
provides a simple to use configuration and monitoring
tool. It allows users to monitor printers and generate
printcap entries in a simple manner, as well as
providing extensive help and diagnostics.</p>
</div>
</div>
<div class="LEGALNOTICE">
<a name="AEN18"></a>
<div class="IMPORTANT">
<blockquote class="IMPORTANT">
<p><b>Important:</b> THIS DOCUMENTATION AND THE
DESCRIBED SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
</blockquote>
</div>
</div>
<hr>
</div>
<div class="TOC">
<dl>
<dt><b>Table of Contents</b></dt>
<dt><a href="f38.htm">Preface</a></dt>
<dd>
<dl>
<dt>1. <a href="f38.htm#AEN40">Introduction</a></dt>
<dt>2. <a href="x53.htm">Acknowledgements</a></dt>
<dt>3. <a href="x58.htm">Shell Prompts</a></dt>
<dt>4. <a href="x77.htm">Typographic
Conventions</a></dt>
<dt>5. <a href="x126.htm">Notes, warnings, and
examples</a></dt>
</dl>
</dd>
<dt>1. <a href="introduction.htm">Introduction</a></dt>
<dd>
<dl>
<dt>1.1. <a href="introduction.htm#SECFEATURES">What
is <b class="APPLICATION">LPRng</b>?</a></dt>
<dt>1.2. <a href="maillist.htm">Additional
Resources</a></dt>
<dt>1.3. <a href="x216.htm">Frequently Asked
Questions</a></dt>
<dt>1.4. <a href="x225.htm">License, Copyright, and
Disclaimer</a></dt>
<dt>1.5. <a href="x232.htm">Commercial
Support</a></dt>
<dt>1.6. <a href="x237.htm">Web Site</a></dt>
<dt>1.7. <a href="secftp.htm">FTP Sites</a></dt>
<dt>1.8. <a href="x277.htm">Mailing List</a></dt>
<dt>1.9. <a href="faqref.htm">PGP Public Key</a></dt>
<dt>1.10. <a href="x291.htm">References and
Standards</a></dt>
<dd>
<dl>
<dt>1.10.1. <a href=
"x291.htm#AEN295">RFCs</a></dt>
<dt>1.10.2. <a href=
"x291.htm#POSTSCRIPT">PostScript</a></dt>
<dt>1.10.3. <a href="x291.htm#PCL">HP PCL
5</a></dt>
<dt>1.10.4. <a href="x291.htm#PJL">HP
PJL</a></dt>
<dt>1.10.5. <a href=
"x291.htm#AEN338">PDF</a></dt>
</dl>
</dd>
</dl>
</dd>
<dt>2. <a href="installation.htm">Installation</a></dt>
<dd>
<dl>
<dt>2.1. <a href="installation.htm#AEN350">Getting
Source Code and Support Programs</a></dt>
<dt>2.2. <a href="x433.htm"><var class=
"ENVAR">PATH</var> Environment Variable and
Utilities</a></dt>
<dt>2.3. <a href="nfsmount.htm">Network Mounted File
System and Spool Directories</a></dt>
<dt>2.4. <a href="usergroup.htm">Daemon User and
Daemon Group</a></dt>
<dt>2.5. <a href="x485.htm">Configuration</a></dt>
<dt>2.6. <a href="requireconfig.htm">System and User
Printcap, lpd.conf, and lpd.perms files</a></dt>
<dt>2.7. <a href="x926.htm">Checking System
Installation with <b class=
"APPLICATION">checkpc</b></a></dt>
<dt>2.8. <a href="x962.htm">Compilation and
Install</a></dt>
<dt>2.9. <a href="x1000.htm">Installation
Problems</a></dt>
<dt>2.10. <a href="update.htm">Updating Print Spooler
Software and Startup Scripts</a></dt>
<dd>
<dl>
<dt>2.10.1. <a href="update.htm#AEN1093">SunOS,
Linux, and BSD Derived Systems</a></dt>
<dt>2.10.2. <a href=
"update.htm#SOLARISINSTALL">Solaris, HP-UX, and
other SysVR4 Derived Systems</a></dt>
</dl>
</dd>
<dt>2.11. <a href="lpsimulation.htm">Emulation for
UNIX SystemV <b class="APPLICATION">lp</b> and <b
class="APPLICATION">lpstat</b></a></dt>
<dt>2.12. <a href="smb.htm">SAMBA and <b class=
"APPLICATION">LPRng</b></a></dt>
<dt>2.13. <a href="setuid.htm">Security
Concerns</a></dt>
</dl>
</dd>
<dt>3. <a href="systemspecific.htm">System Specific
Notes</a></dt>
<dd>
<dl>
<dt>3.1. <a href=
"systemspecific.htm#SOLARIS">Solaris</a></dt>
<dt>3.2. <a href="linux.htm">Linux</a></dt>
<dt>3.3. <a href="aix.htm">AIX</a></dt>
<dt>3.4. <a href="appletalk.htm">AppleTalk
Support</a></dt>
</dl>
</dd>
<dt>4. <a href="tutorial.htm">Print Spooling
Tutorial</a></dt>
<dd>
<dl>
<dt>4.1. <a href=
"tutorial.htm#OVERVIEW">Overview</a></dt>
<dt>4.2. <a href="sampleprintcap.htm">Sample Printcap
Entry</a></dt>
<dt>4.3. <a href="tutorialconfig.htm">Setting Up the
Tutorial Configuration</a></dt>
<dt>4.4. <a href="restoring.htm">Restoring Original
Configuration</a></dt>
<dt>4.5. <a href="printingandchecking.htm">Printing a
File and Checking Status</a></dt>
<dt>4.6. <a href="selectingprintqueue.htm">Selecting
the Print Queue</a></dt>
<dt>4.7. <a href=
"controllingprintqueue.htm">Controlling the Print
Queue</a></dt>
<dt>4.8. <a href="jobremoval.htm">Job
Removal</a></dt>
<dt>4.9. <a href="printjobfilters.htm">Print Job
Filters</a></dt>
<dd>
<dl>
<dt>4.9.1. <a href=
"printjobfilters.htm#CONTROLFILES">Control Files
and Filter Options</a></dt>
<dt>4.9.2. <a href=
"printjobfilters.htm#FILTERENVIRONMENTVARS">Filter
Environment Variables</a></dt>
<dt>4.9.3. <a href=
"printjobfilters.htm#USINGCOMMANDLINEANDPRINTCAP">
Using Command Line and Printcap Options In
Filters</a></dt>
<dt>4.9.4. <a href=
"printjobfilters.htm#FILTEREXITCODES">Filter Exit
Codes</a></dt>
<dt>4.9.5. <a href=
"printjobfilters.htm#JOBFORMATSANDFILTERSELECTION">
Job Formats and Filter Selection</a></dt>
</dl>
</dd>
<dt>4.10. <a href="jobfileformatconversion.htm">Job
File Format Conversion with Filters</a></dt>
<dd>
<dl>
<dt>4.10.1. <a href=
"jobfileformatconversion.htm#AEN2789">Simple
Filter with File Format Detection</a></dt>
<dt>4.10.2. <a href=
"jobfileformatconversion.htm#AEN2838">The <b
class="APPLICATION">ifhp</b> Filter</a></dt>
<dt>4.10.3. <a href=
"jobfileformatconversion.htm#JAGGIES">The Jaggies
- LF to CR-LF Conversion With lpf</a></dt>
<dt>4.10.4. <a href=
"jobfileformatconversion.htm#AEN3031">Store and
Forward Spool Queues</a></dt>
<dt>4.10.5. <a href=
"jobfileformatconversion.htm#AEN3064">Filtering
Job Files In Transit</a></dt>
</dl>
</dd>
<dt>4.11. <a href="x3105.htm">Printcap
Basics</a></dt>
<dd>
<dl>
<dt>4.11.1. <a href="x3105.htm#AEN3144">Printcap
Processing Format</a></dt>
<dt>4.11.2. <a href="x3105.htm#AEN3203">Printcap
Information From Programs and Databases</a></dt>
<dt>4.11.3. <a href="x3105.htm#AEN3262">User
Printcap Information</a></dt>
</dl>
</dd>
<dt>4.12. <a href="x3275.htm">Banner Printing and the
OF filter</a></dt>
<dt>4.13. <a href="x3378.htm">Printing from <b class=
"APPLICATION">lpr</b> Directly To A Device</a></dt>
<dt>4.14. <a href="x3425.htm">Moving Jobs From Queue
to Queue and Redirecting Queues</a></dt>
<dt>4.15. <a href="x3472.htm">Print Job Classes, User
Requested Job Priority, and Form Support</a></dt>
<dt>4.16. <a href="x3517.htm">Holding and Releasing
Jobs</a></dt>
<dt>4.17. <a href="x3595.htm">Load Balance Queues and
Printer Pools</a></dt>
<dt>4.18. <a href="x3701.htm">Routing Jobs To Print
Queues</a></dt>
<dt>4.19. <a href="x3774.htm">Job Options and the Z
Control File Entry</a></dt>
<dd>
<dl>
<dt>4.19.1. <a href="x3774.htm#AEN3812">Setting
Job Options Using the Printcap</a></dt>
<dt>4.19.2. <a href=
"x3774.htm#AEN3834">Converting SystemV Options to
LPRng Options</a></dt>
<dt>4.19.3. <a href="x3774.htm#AEN3848">Selecting
a Single Option - Muliple Queues</a></dt>
<dt>4.19.4. <a href=
"x3774.htm#INCOMINGCONTROLFILTER">Selecting
Multiple Options - Single Queue</a></dt>
</dl>
</dd>
<dt>4.20. <a href="x3899.htm">Interfacing to
Non-LPRng Spoolers</a></dt>
<dt>4.21. <a href="x3931.htm">Debugging, Tracing, and
Log Files</a></dt>
</dl>
</dd>
<dt>5. <a href="lprngclients.htm"><b class=
"APPLICATION">LPRng</b> Clients - lpr, lprm, lpq, lpc,
lpstat</a></dt>
<dd>
<dl>
<dt>5.1. <a href=
"lprngclients.htm#PRINTERINFO">Printer and Server
Information</a></dt>
<dt>5.2. <a href="x4127.htm">Command Line
-Pprinter@host</a></dt>
<dt>5.3. <a href="x4133.htm">Command Line
-Pprinter</a></dt>
<dt>5.4. <a href="x4139.htm">PRINTER, LPDEST,
NPRINTER, and NGPRINTER Environment
Variables</a></dt>
<dt>5.5. <a href="x4155.htm">Wildcard Printcap
Entry</a></dt>
<dt>5.6. <a href="x4162.htm">First Printcap
Entry</a></dt>
<dt>5.7. <a href="defaultrmrp.htm">Default Printer
and Server Host</a></dt>
<dt>5.8. <a href="forcelocalhost.htm">Force
Connection to Localhost</a></dt>
<dt>5.9. <a href="allowusersetting.htm">User
Identification</a></dt>
</dl>
</dd>
<dt>6. <a href="lpr.htm"><b class="APPLICATION">lpr</b> -
Job Spooler Program</a></dt>
<dd>
<dl>
<dt>6.1. <a href="lpr.htm#DEFAULTFORMAT">Job Format
Options</a></dt>
<dt>6.2. <a href="x4281.htm">Job Pretty Printing,
Banners, Priority, and Accounting</a></dt>
<dt>6.3. <a href="classpriority.htm">Job Class and
Priority</a></dt>
<dt>6.4. <a href="jobcopies.htm">Job Copies and Job
Size</a></dt>
<dt>6.5. <a href="jobcompletion.htm">Job Completion
Notification Requested</a></dt>
<dt>6.6. <a href="x4387.htm">Remove Files After
Spooling</a></dt>
<dt>6.7. <a href="append-z.htm">The -Z Passthrough to
Filter Options</a></dt>
<dt>6.8. <a href="qq.htm">Record Queue Name in
Control File</a></dt>
<dt>6.9. <a href="checkfornonprintable.htm">Check For
Nonprintable File</a></dt>
<dt>6.10. <a href="lprbounce.htm">Job Filtering By
LPR</a></dt>
<dt>6.11. <a href="rg.htm">Restrict Queue Use to
Group Members</a></dt>
<dt>6.12. <a href="safechars.htm">Fixing Bad Control
Files and Metacharacters</a></dt>
<dt>6.13. <a href="minfree.htm">Minimum Spool Queue
Free Space</a></dt>
<dt>6.14. <a href="forcefqdnhostname.htm">FQDN Host
Information</a></dt>
</dl>
</dd>
<dt>7. <a href="lpq.htm"><b class="APPLICATION">lpq</b> -
Status Monitoring Program</a></dt>
<dd>
<dl>
<dt>7.1. <a href="lpq.htm#AEN4580"><b class=
"APPLICATION">lpq</b> Queue Selection (lpq -Pprinter,
lpq -a)</a></dt>
<dt>7.2. <a href="x4586.htm"><b class=
"APPLICATION">lpq</b> Job Selection</a></dt>
<dt>7.3. <a href="x4593.htm"><b class=
"APPLICATION">lpq</b> Short Format (lpq -s)</a></dt>
<dt>7.4. <a href="x4604.htm"><b class=
"APPLICATION">lpq</b> Long Format (lpq, lpq -l, lpq
-L)</a></dt>
<dt>7.5. <a href="x4615.htm"><b class=
"APPLICATION">lpq</b> Verbose Format (lpq
-v)</a></dt>
<dt>7.6. <a href="stalledtime.htm">Job Taking Too
Long - Stalled</a></dt>
<dt>7.7. <a href="x4633.htm">Configuring Format and
Displayed Information</a></dt>
<dd>
<dl>
<dt>7.7.1. <a href=
"x4633.htm#CLASSINSTATUS">Display Class
Information</a></dt>
<dt>7.7.2. <a href=
"x4633.htm#REVERSELPQFORMAT">Reverse Short and
Long <b class="APPLICATION">lpq</b>
Formats</a></dt>
<dt>7.7.3. <a href="x4633.htm#SHORTSTATUS">Status
Line Length and Line Count</a></dt>
<dt>7.7.4. <a href="x4633.htm#FORCELPQSTATUS"><b
class="APPLICATION">lpq</b> Status Format
Determined by Requesting Host Address</a></dt>
</dl>
</dd>
</dl>
</dd>
<dt>8. <a href="lprm.htm"><b class="APPLICATION">lprm</b>
- Job Removal Program</a></dt>
<dd>
<dl>
<dt>8.1. <a href="lprm.htm#AEN4727"><b class=
"APPLICATION">lprm</b> Queue Selection (lprm
-Pprinter, lprm -a)</a></dt>
<dt>8.2. <a href="x4733.htm"><b class=
"APPLICATION">lprm</b> Job Selection</a></dt>
</dl>
</dd>
<dt>9. <a href="lpc.htm"><b class="APPLICATION">lpc</b> -
Administration Program</a></dt>
<dd>
<dl>
<dt>9.1. <a href="lpc.htm#AEN4767">Informational
Commands - status, flush, active, reread</a></dt>
<dt>9.2. <a href="x4785.htm">Queue Management -
enable, disable, up, down</a></dt>
<dt>9.3. <a href="x4797.htm">Printing Management -
start, stop, up, down</a></dt>
<dt>9.4. <a href="x4806.htm">Problem Management -
abort, redo, kill</a></dt>
<dt>9.5. <a href="x4812.htm">Job Scheduling - topq,
holdall, noholdall, hold, release</a></dt>
<dt>9.6. <a href="lpcredirect.htm">Queue Management -
class, redirect, move</a></dt>
</dl>
</dd>
<dt>10. <a href="checkpc.htm"><b class=
"APPLICATION">checkpc</b> - Configuration Validation
Utility</a></dt>
<dd>
<dl>
<dt>10.1. <a href=
"checkpc.htm#AEN4849">Maintenance</a></dt>
<dt>10.2. <a href="x4865.htm">Printcap
Information</a></dt>
</dl>
</dd>
<dt>11. <a href="printercomm.htm">Printer Communication
and Protocols</a></dt>
<dd>
<dl>
<dt>11.1. <a href=
"printercomm.htm#NETWORKPRINTER">Network
Printers</a></dt>
<dt>11.2. <a href="x4881.htm">RFC1179 (LPD)
Connection</a></dt>
<dt>11.3. <a href="socketapi.htm">Socket API</a></dt>
<dt>11.4. <a href="appsocket.htm">AppSocket TCP/IP
Protocol</a></dt>
<dt>11.5. <a href="secnetwork.htm">Network Print
Server Boxes</a></dt>
<dt>11.6. <a href="x4990.htm">Network Print Server
Configuration Information</a></dt>
<dt>11.7. <a href="x5171.htm">HP JetDirect
Interface</a></dt>
<dd>
<dl>
<dt>11.7.1. <a href="x5171.htm#AEN5176">Resetting
To Factory Defaults</a></dt>
<dt>11.7.2. <a href="x5171.htm#AEN5183">Setting
Up IP Networking and Address</a></dt>
<dt>11.7.3. <a href="x5171.htm#AEN5188">BOOTP
Information</a></dt>
<dt>11.7.4. <a href="x5171.htm#AEN5196">Telnet
Configuration</a></dt>
<dt>11.7.5. <a href="x5171.htm#AEN5201">Disabling
Banner Page Generation</a></dt>
</dl>
</dd>
<dt>11.8. <a href="x5207.htm">Problems With Network
Print Servers</a></dt>
<dd>
<dl>
<dt>11.8.1. <a href="x5207.htm#AEN5211">Network
Print Server Not Responding</a></dt>
<dt>11.8.2. <a href="x5207.htm#AEN5220">Network
Print Server Does Not Handle LPQ, LPRM</a></dt>
<dt>11.8.3. <a href=
"x5207.htm#AEN5228">Incomplete Job
Transfers</a></dt>
</dl>
</dd>
<dt>11.9. <a href="x5238.htm">Printing to a SMB
(MicroSoft) Printer</a></dt>
<dt>11.10. <a href="x5252.htm">Printing to AppleTalk
Printers</a></dt>
<dt>11.11. <a href="x5276.htm">Parallel Port
Printers</a></dt>
<dt>11.12. <a href="secserial.htm">Serial
Printers</a></dt>
</dl>
</dd>
<dt>12. <a href="printcapref.htm">Printcap
Database</a></dt>
<dd>
<dl>
<dt>12.1. <a href="printcapref.htm#PRINTCAPPARSE">The
Printcap Parsing Rules</a></dt>
<dt>12.2. <a href="simple.htm">Simple Client Printcap
Entry</a></dt>
<dt>12.3. <a href="cm.htm">Simple Server Printcap
Example</a></dt>
<dt>12.4. <a href="x5746.htm">Using :oh To Select
Printcap Information</a></dt>
<dt>12.5. <a href="x5772.htm">Using the Wildcard
Printcap Entry</a></dt>
<dt>12.6. <a href="x5784.htm">Enterprise Strength
Printcap Example</a></dt>
<dt>12.7. <a href="x5801.htm">Remote Printer Using
RFC1179</a></dt>
<dt>12.8. <a href="x5835.htm">Remote Printer Using
Socket API</a></dt>
<dt>12.9. <a href="x5862.htm">Parallel
Printer</a></dt>
<dt>12.10. <a href="serial.htm">Serial
Printer</a></dt>
<dt>12.11. <a href="lpdbounce.htm">Bounce
Queue</a></dt>
<dt>12.12. <a href="translateformat.htm">Job Format
Translation</a></dt>
<dt>12.13. <a href="destinations.htm">Dynamic
Routing</a></dt>
<dt>12.14. <a href="loadbalance.htm">Printer Load
Balancing</a></dt>
<dt>12.15. <a href="printcappath.htm">Locations of
Printcap Files</a></dt>
<dd>
<dl>
<dt>12.15.1. <a href=
"printcappath.htm#AEN6090">Separate Server and
Client Printcap Files</a></dt>
<dt>12.15.2. <a href=
"printcappath.htm#ALLPC"><var class=
"LITERAL">all</var> Printcap Entry</a></dt>
</dl>
</dd>
<dt>12.16. <a href="secoh.htm">Single Printcap File
for Large Installation</a></dt>
<dt>12.17. <a href="x6132.htm">Management Strategies
for Large Installations</a></dt>
<dt>12.18. <a href="secnis.htm">Using Programs To Get
Printcap Information</a></dt>
<dd>
<dl>
<dt>12.18.1. <a href="secnis.htm#AEN6152">How to
use NIS and <b class=
"APPLICATION">LPRng</b></a></dt>
<dt>12.18.2. <a href="secnis.htm#AEN6179">How to
use NIS and <b class="APPLICATION">LPRng</b> -
Sven Rudolph</a></dt>
</dl>
</dd>
<dt>12.19. <a href="x6242.htm">Lexmark
Printers</a></dt>
<dt>12.20. <a href="p450.htm">Tektronix Phaser
Printers</a></dt>
<dt>12.21. <a href="x6256.htm">Duplex
Printing</a></dt>
<dt>12.22. <a href="x6277.htm">Solaris, Newsprint and
FrameMaker</a></dt>
</dl>
</dd>
<dt>13. <a href="spoolqueue.htm">Spool Queues and
Files</a></dt>
<dd>
<dl>
<dt>13.1. <a href="spoolqueue.htm#AEN6327">Spool
Queue</a></dt>
<dt>13.2. <a href="queuelockfile.htm">Queue Lock
File</a></dt>
<dt>13.3. <a href="queuecontrolfile.htm">Spool
Control File</a></dt>
<dt>13.4. <a href="logfiles.htm">Log and Status
Files</a></dt>
<dt>13.5. <a href="jobfiles.htm">Job Files</a></dt>
<dt>13.6. <a href="x6690.htm">Job Hold File</a></dt>
<dt>13.7. <a href="ah.htm">Job State</a></dt>
<dt>13.8. <a href="useidentifier.htm">Job
Identifier</a></dt>
</dl>
</dd>
<dt>14. <a href="configfile.htm">Configuration File,
Defaults and Overrides</a></dt>
<dd>
<dl>
<dt>14.1. <a href=
"configfile.htm#AEN6817">Configuration File
Format</a></dt>
<dt>14.2. <a href="x6831.htm">Legacy
Compatibility</a></dt>
</dl>
</dd>
<dt>15. <a href="jobsteps.htm">Job Processing</a></dt>
<dd>
<dl>
<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="x7460.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>
</dd>
<dt>16. <a href="filters.htm">Filters</a></dt>
<dd>
<dl>
<dt>16.1. <a href="filters.htm#AEN7791">Filter
Functions</a></dt>
<dt>16.2. <a href="exitcodes.htm">Filter Exit
Codes</a></dt>
<dd>
<dl>
<dt>16.2.1. <a href=
"exitcodes.htm#JSUCC">JSUCC</a></dt>
<dt>16.2.2. <a href=
"exitcodes.htm#JFAIL">JFAIL</a></dt>
<dt>16.2.3. <a href=
"exitcodes.htm#JABORT">JABORT</a></dt>
<dt>16.2.4. <a href=
"exitcodes.htm#JREMOVE">JREMOVE</a></dt>
<dt>16.2.5. <a href=
"exitcodes.htm#JHOLD">JHOLD</a></dt>
<dt>16.2.6. <a href=
"exitcodes.htm#JNOSPOOL">JNOSPOOL and
JNOPRINT</a></dt>
<dt>16.2.7. <a href=
"exitcodes.htm#JSIGNAL">JSIGNAL</a></dt>
<dt>16.2.8. <a href=
"exitcodes.htm#JNORETRY">JFAILNORETRY</a></dt>
<dt>16.2.9. <a href="exitcodes.htm#JOTHER">Other
Values</a></dt>
</dl>
</dd>
<dt>16.3. <a href="printjobformats.htm">Print Job
Formats</a></dt>
<dt>16.4. <a href="ofdetails.htm">OF Filter</a></dt>
<dt>16.5. <a href="pr.htm"><b class=
"APPLICATION">lpr</b> -p format</a></dt>
<dt>16.6. <a href="x8013.htm"><b class=
"APPLICATION">lpr</b> binary (-l) format</a></dt>
<dt>16.7. <a href="chainingfilters.htm">Chaining
Filters</a></dt>
<dt>16.8. <a href="filteroptions.htm">Filter Command
Line Options and Environment Variables</a></dt>
<dt>16.9. <a href="x8434.htm"><b class=
"APPLICATION">LPRng</b> Supported Filters</a></dt>
<dd>
<dl>
<dt>16.9.1. <a href="x8434.htm#AEN8441">Filter
Support Conventions</a></dt>
</dl>
</dd>
<dt>16.10. <a href="lpf.htm">lpf</a></dt>
<dt>16.11. <a href="ifhp.htm"><b class=
"APPLICATION">ifhp</b> Filter</a></dt>
</dl>
</dd>
<dt>17. <a href="permsref.htm">Permissions and
Authentication</a></dt>
<dd>
<dl>
<dt>17.1. <a href=
"permsref.htm#DEFAULTPERMISSION">Permission Checking
Algorithm</a></dt>
<dt>17.2. <a href="x8717.htm">Rule Matching
Procedures</a></dt>
<dd>
<dl>
<dt>17.2.1. <a href=
"x8717.htm#AEN8745">DEFAULT</a></dt>
<dt>17.2.2. <a href=
"x8717.htm#AEN8753">SERVICE</a></dt>
<dt>17.2.3. <a href=
"x8717.htm#AEN8801">USER</a></dt>
<dt>17.2.4. <a href=
"x8717.htm#AEN8808">REMOTEUSER</a></dt>
<dt>17.2.5. <a href=
"x8717.htm#AEN8817">HOST</a></dt>
<dt>17.2.6. <a href=
"x8717.htm#AEN8824">REMOTEHOST</a></dt>
<dt>17.2.7. <a href=
"x8717.htm#AEN8830">REMOTEPORT</a></dt>
<dt>17.2.8. <a href=
"x8717.htm#AEN8836">PORT</a></dt>
<dt>17.2.9. <a href=
"x8717.htm#AEN8839">IP</a></dt>
<dt>17.2.10. <a href=
"x8717.htm#AEN8842">REMOTEIP</a></dt>
<dt>17.2.11. <a href=
"x8717.htm#AEN8845">LPC</a></dt>
<dt>17.2.12. <a href=
"x8717.htm#AEN8852">SAMEUSER</a></dt>
<dt>17.2.13. <a href=
"x8717.htm#AEN8858">SAMEHOST</a></dt>
<dt>17.2.14. <a href=
"x8717.htm#AEN8864">SERVER</a></dt>
<dt>17.2.15. <a href=
"x8717.htm#AEN8873">FORWARD</a></dt>
<dt>17.2.16. <a href=
"x8717.htm#AEN8881">GROUP</a></dt>
<dt>17.2.17. <a href=
"x8717.htm#AEN8889">REMOTEGROUP</a></dt>
<dt>17.2.18. <a href=
"x8717.htm#AEN8894">CONTROLLINE</a></dt>
<dt>17.2.19. <a href=
"x8717.htm#AEN8903">AUTH</a></dt>
<dt>17.2.20. <a href=
"x8717.htm#AEN8909">AUTHTYPE</a></dt>
<dt>17.2.21. <a href=
"x8717.htm#AEN8915">AUTHUSER</a></dt>
<dt>17.2.22. <a href=
"x8717.htm#AEN8921">IFIP</a></dt>
</dl>
</dd>
<dt>17.3. <a href="permspath.htm">Permission File
Location</a></dt>
<dt>17.4. <a href="x8956.htm">Example Permission
File</a></dt>
<dt>17.5. <a href="x8969.htm">Complex Permission
Checking</a></dt>
<dt>17.6. <a href="x8984.htm">More Examples</a></dt>
<dt>17.7. <a href="authref.htm">Authentication and
Encryption</a></dt>
<dt>17.8. <a href="x9037.htm">User
Identification</a></dt>
<dt>17.9. <a href="x9043.htm">RFC1179 Protocol
Extensions</a></dt>
<dt>17.10. <a href="auth.htm">Authentication
Operations</a></dt>
<dt>17.11. <a href="x9166.htm">Permission
Checking</a></dt>
<dt>17.12. <a href="x9198.htm">PGP Authentication
Support</a></dt>
<dd>
<dl>
<dt>17.12.1. <a href="x9198.htm#PGPPATH">Printcap
Configuration</a></dt>
<dt>17.12.2. <a href="x9198.htm#AEN9290">User
Files and Environment Variables</a></dt>
</dl>
</dd>
<dt>17.13. <a href="kerberos.htm">Using Kerberos 5
for Authentication</a></dt>
<dd>
<dl>
<dt>17.13.1. <a href="kerberos.htm#AEN9331"><b
class="APPLICATION">LPRng</b>
Configuration</a></dt>
<dt>17.13.2. <a href=
"kerberos.htm#AEN9345">Kerberos Installation
Procedure</a></dt>
<dt>17.13.3. <a href="kerberos.htm#AEN9397"><b
class="APPLICATION">LPRng</b>
Configuration</a></dt>
<dt>17.13.4. <a href=
"kerberos.htm#AEN9407">Printcap Entries</a></dt>
<dt>17.13.5. <a href="kerberos.htm#AEN9466">User
Environment Variables and Files</a></dt>
</dl>
</dd>
<dt>17.14. <a href="x9471.htm">Using Kerberos 4 for
Authentication</a></dt>
<dd>
<dl>
<dt>17.14.1. <a href="x9471.htm#AEN9477">Printcap
Entries</a></dt>
</dl>
</dd>
<dt>17.15. <a href="x9497.htm">Using SSL for
Authentication</a></dt>
<dd>
<dl>
<dt>17.15.1. <a href=
"x9497.htm#AEN9530">Certificate
Management</a></dt>
<dt>17.15.2. <a href="x9497.htm#AEN9547">Creating
Root Certificate</a></dt>
<dt>17.15.3. <a href="x9497.htm#AEN9553">Creating
Client and Server Certificates</a></dt>
<dt>17.15.4. <a href="x9497.htm#AEN9564">Creating
Signing Certificates</a></dt>
<dt>17.15.5. <a href=
"x9497.htm#AEN9568">Permissions and Certificate
Revocation</a></dt>
</dl>
</dd>
<dt>17.16. <a href="x9574.htm">Using MD5 for
Authentication</a></dt>
<dd>
<dl>
<dt>17.16.1. <a href="x9574.htm#AEN9583">Printcap
Entries</a></dt>
<dt>17.16.2. <a href="x9574.htm#AEN9631">User
Environment Variables and Files</a></dt>
</dl>
</dd>
<dt>17.17. <a href="x9641.htm">Adding Authentication
Support</a></dt>
<dd>
<dl>
<dt>17.17.1. <a href="x9641.htm#AEN9649">Printcap
Support</a></dt>
<dt>17.17.2. <a href="x9641.htm#AEN9663">Code
Support</a></dt>
<dt>17.17.3. <a href=
"x9641.htm#AEN9722">Connection and Transfer
Authentication</a></dt>
</dl>
</dd>
</dl>
</dd>
<dt>18. <a href="accountingref.htm">Accounting</a></dt>
<dd>
<dl>
<dt>18.1. <a href=
"accountingref.htm#ACCOUNTINGSERVER">Accounting
Printcap Options</a></dt>
<dt>18.2. <a href="x9775.htm">Accounting
Information</a></dt>
<dt>18.3. <a href="x9789.htm">Accounting
File</a></dt>
<dt>18.4. <a href="x9835.htm">Authorization and
Quotas</a></dt>
<dt>18.5. <a href="x9860.htm">Accessing Printer
Hardware Pagecounters</a></dt>
<dt>18.6. <a href="x9871.htm">Reliable
Accounting</a></dt>
<dt>18.7. <a href="x9886.htm"><b class=
"APPLICATION">LPRng</b> accounting.pl
Utility</a></dt>
</dl>
</dd>
<dt>19. <a href="rfc1179ref.htm">RFC 1179 - Line Printer
Daemon Protocol</a></dt>
<dd>
<dl>
<dt>19.1. <a href="rfc1179ref.htm#LPDPORT">Ports and
Connections</a></dt>
<dt>19.2. <a href="remotesupport.htm">Protocol
Requests and Replies</a></dt>
<dt>19.3. <a href="jobtransfer.htm">Job
Transfer</a></dt>
<dt>19.4. <a href="x10290.htm">Data File
Transfer</a></dt>
<dt>19.5. <a href="x10326.htm">Control File
Contents</a></dt>
<dt>19.6. <a href="x10529.htm"><b class=
"APPLICATION">lpq</b> Requests</a></dt>
<dt>19.7. <a href="x10552.htm"><b class=
"APPLICATION">lprm</b> Requests</a></dt>
<dt>19.8. <a href="lpcreread.htm">LPC
Requests</a></dt>
<dt>19.9. <a href="sendblockformat.htm">Block Job
Transfer</a></dt>
<dt>19.10. <a href="x10755.htm">Authenticated
Transfer</a></dt>
</dl>
</dd>
<dt>20. <a href="faq.htm">The Most Frequently Asked
Questions</a></dt>
<dd>
<dl>
<dt>20.1. <a href="faq.htm#AEN10774">Why do I get
malformed from address errors?</a></dt>
<dt>20.2. <a href="x10802.htm">It was working
normally, then I get connection refused
errors</a></dt>
<dt>20.3. <a href="x10834.htm">Job is not in print
queue, but it gets printed!</a></dt>
<dt>20.4. <a href="x10889.htm">Job disappears and is
never printed, but lpr works</a></dt>
<dt>20.5. <a href="x10906.htm">I get messages about
bad control file format</a></dt>
<dt>20.6. <a href="rfc1179.htm">What is RFC 1179, the
Line Printer Daemon Protocol?</a></dt>
<dt>20.7. <a href="x10938.htm">I want to replace lp,
lpstat, etc, but my programs need them</a></dt>
</dl>
</dd>
<dt>21. <a href="remotelogger.htm">Remote Logger
Operation</a></dt>
<dd>
<dl>
<dt>21.1. <a href="remotelogger.htm#LOGGER">Logger
Network Communication</a></dt>
<dt>21.2. <a href="x10991.htm">Logger
Messages</a></dt>
<dt>21.3. <a href="x10996.htm">Message
Format</a></dt>
<dt>21.4. <a href="x11024.htm">Dump Messages</a></dt>
<dt>21.5. <a href="x11027.htm">LPD Messages</a></dt>
<dt>21.6. <a href="x11032.htm">Job Status Messages -
UPDATE</a></dt>
<dt>21.7. <a href="x11044.htm">Printer Status
Messages - PRSTATUS</a></dt>
</dl>
</dd>
<dt>A. <a href="optionindex.htm">Index To All The
Configuration and Printcap Options</a></dt>
<dt>B. <a href="license.htm">License</a></dt>
<dt>C. <a href="testing.htm">Testing and Diagnostic
Facilities</a></dt>
<dd>
<dl>
<dt>C.1. <a href="testing.htm#AEN11763">Compiling the
Test Version</a></dt>
<dt>C.2. <a href="x11770.htm">Setting Up The Test
Version Spool Queues</a></dt>
<dt>C.3. <a href="x11798.htm">Running the Test
Version Software</a></dt>
</dl>
</dd>
<dt><a href="i11827.htm">Index</a></dt>
</dl>
</div>
<div class="LOT">
<dl class="LOT">
<dt><b>List of Tables</b></dt>
<dt>4-1. <a href=
"printjobfilters.htm#FILTEROPTIONSTABLE">Filter
Options</a></dt>
<dt>4-2. <a href="printjobfilters.htm#JOBFORMAT">Job
Formats and Filter Selection</a></dt>
<dt>4-3. <a href=
"jobfileformatconversion.htm#IFHPOPTS"><b class=
"APPLICATION">:ifhp=</b> Options</a></dt>
<dt>11-1. <a href="x4990.htm#NEWPS">Network Print Server
Configuration Information</a></dt>
<dt>13-1. <a href="jobfiles.htm#CFLINE">Control File
Lines</a></dt>
<dt>16-1. <a href=
"filteroptions.htm#PRINTFILTERCOMMAND">Print Filter
Command Line Options</a></dt>
<dt>16-2. <a href=
"filteroptions.htm#FILTEROPTIONFLAGS">Filter Command Line
Options and Values</a></dt>
<dt>16-3. <a href="filteroptions.htm#AEN8304">Filter
Command Line Option Format</a></dt>
<dt>16-4. <a href="filteroptions.htm#FILTERENV">Filter
Environment Variables</a></dt>
<dt>17-1. <a href="permsref.htm#PERMSKEYWORDS">Permission
Keywords and Purpose</a></dt>
<dt>19-1. <a href=
"remotesupport.htm#RF1179COMMANDS">RFC1179
Commands</a></dt>
<dt>19-2. <a href="x10326.htm#CFLINES">Control File Lines
and Purpose</a></dt>
<dt>19-3. <a href="lpcreread.htm#LPCCOMMANDS">LPC
Commands</a></dt>
<dt>A-1. <a href="optionindex.htm#LPRNGOPTIONS"><b class=
"APPLICATION">LPRng</b> Options</a></dt>
</dl>
</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"> </td>
<td width="34%" align="center" valign="top"> </td>
<td width="33%" align="right" valign="top"><a href=
"f38.htm" accesskey="N">Next</a></td>
</tr>
<tr>
<td width="33%" align="left" valign="top"> </td>
<td width="34%" align="center" valign="top"> </td>
<td width="33%" align="right" valign="top">Preface</td>
</tr>
</table>
</div>
</body>
</html>
syntax highlighted by Code2HTML, v. 0.9.1