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>Locations of Printcap 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="UP" title="Printcap Database " href= 12 "printcapref.htm"> 13 <link rel="PREVIOUS" title="Printer Load Balancing" href= 14 "loadbalance.htm"> 15 <link rel="NEXT" title= 16 "Single Printcap File for Large Installation " href= 17 "secoh.htm"> 18 </head> 19 20 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 21 "#0000FF" vlink="#840084" alink="#0000FF"> 22 <div class="NAVHEADER"> 23 <table summary="Header navigation table" width="100%" border= 24 "0" cellpadding="0" cellspacing="0"> 25 <tr> 26 <th colspan="3" align="center">LPRng Reference Manual: 5 27 Sep 2003 (For LPRng-3.8.22)</th> 28 </tr> 29 30 <tr> 31 <td width="10%" align="left" valign="bottom"><a href= 32 "loadbalance.htm" accesskey="P">Prev</a></td> 33 34 <td width="80%" align="center" valign="bottom">Chapter 35 12. Printcap Database</td> 36 37 <td width="10%" align="right" valign="bottom"><a href= 38 "secoh.htm" accesskey="N">Next</a></td> 39 </tr> 40 </table> 41 <hr align="LEFT" width="100%"> 42 </div> 43 44 <div class="SECT1"> 45 <h1 class="SECT1"><a name="PRINTCAPPATH">12.15. Locations of 46 Printcap Files</a></h1> 47 48 <p>Options used:</p> 49 50 <ul> 51 <li> 52 <p><var class="LITERAL">printcap_path=</var><span class= 53 "emphasis"><i class="EMPHASIS">printcap file 54 locations</i></span></p> 55 </li> 56 57 <li> 58 <p><var class="LITERAL">lpd_printcap_path=</var><span 59 class="emphasis"><i class="EMPHASIS">lpd server printcap 60 information</i></span></p> 61 </li> 62 </ul> 63 <br> 64 <br> 65 66 <p>The <var class="LITERAL">printcap_path</var> and <var 67 class="LITERAL">lpd_printcap_path</var> configuration options 68 (see <a href="configfile.htm">lpd.conf(5)</a> ) specify a set 69 of paths for the printcap information. If the <var class= 70 "LITERAL">lpd_printcap_path</var> is nonblank then the <b 71 class="APPLICATION">lpd</b> server uses it, otherwise it uses 72 the <var class="LITERAL">printcap_path</var> information. 73 Client programs use only <var class= 74 "LITERAL">printcap_path</var>. The path names can be 75 separated with whitespace, commas, semicolons, or colons. The 76 default values are:</p> 77 78 <div class="INFORMALEXAMPLE"> 79 <a name="AEN6074"></a> 80<pre class="SCREEN"> 81 printcap_path ${sysconfdir}/printcap 82 lpd_printcap_path (blank or empty) 83</pre> 84 </div> 85 <br> 86 <br> 87 88 <div class="SECT2"> 89 <h2 class="SECT2"><a name="AEN6076">12.15.1. Separate 90 Server and Client Printcap Files</a></h2> 91 92 <p>Since only the <b class="APPLICATION">lpd</b> server 93 uses the printcap file specified by the <var class= 94 "LITERAL">lpd_printcap_path</var>, you can place server 95 specific information there. If this file is used it must 96 also contain any required information in the <var class= 97 "LITERAL">printcap_path</var> file.</p> 98 </div> 99 100 <div class="SECT2"> 101 <h2 class="SECT2"><a name="ALLPC">12.15.2. <var class= 102 "LITERAL">all</var> Printcap Entry</a></h2> 103 104 <p>The <var class="LITERAL">all</var> printcap name and 105 <var class="LITERAL">all</var> option is reserved to 106 provide a list of printers available for use by the 107 spooling software. This is a desperation, last ditch, back 108 to the wall option for administrators with systems that do 109 not have ways to provide a list of printcap entries. The 110 'all' printcap entry has the form:</p> 111 112 <div class="INFORMALEXAMPLE"> 113 <a name="AEN6088"></a> 114<pre class="SCREEN"> 115 all:all=pr1,pr2,... 116</pre> 117 </div> 118 <br> 119 <br> 120 121 <p>The value of the <var class="LITERAL">all</var> option 122 should be a list of printcap names whose values will then 123 be extracted.</p> 124 </div> 125 </div> 126 127 <div class="NAVFOOTER"> 128 <hr align="LEFT" width="100%"> 129 130 <table summary="Footer navigation table" width="100%" border= 131 "0" cellpadding="0" cellspacing="0"> 132 <tr> 133 <td width="33%" align="left" valign="top"><a href= 134 "loadbalance.htm" accesskey="P">Prev</a></td> 135 136 <td width="34%" align="center" valign="top"><a href= 137 "index.htm" accesskey="H">Home</a></td> 138 139 <td width="33%" align="right" valign="top"><a href= 140 "secoh.htm" accesskey="N">Next</a></td> 141 </tr> 142 143 <tr> 144 <td width="33%" align="left" valign="top">Printer Load 145 Balancing</td> 146 147 <td width="34%" align="center" valign="top"><a href= 148 "printcapref.htm" accesskey="U">Up</a></td> 149 150 <td width="33%" align="right" valign="top">Single 151 Printcap File for Large Installation</td> 152 </tr> 153 </table> 154 </div> 155 </body> 156</html> 157 158