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>Wildcard Printcap Entry</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= 12 "LPRng Clients - lpr, lprm, lpq, lpc, lpstat " href= 13 "lprngclients.htm"> 14 <link rel="PREVIOUS" title= 15 "PRINTER, LPDEST, NPRINTER, and NGPRINTER Environment Variables" 16 href="x4125.htm"> 17 <link rel="NEXT" title="First Printcap Entry" href="x4148.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 "x4125.htm" accesskey="P">Prev</a></td> 33 34 <td width="80%" align="center" valign="bottom">Chapter 5. 35 <b class="APPLICATION">LPRng</b> Clients - lpr, lprm, 36 lpq, lpc, lpstat</td> 37 38 <td width="10%" align="right" valign="bottom"><a href= 39 "x4148.htm" accesskey="N">Next</a></td> 40 </tr> 41 </table> 42 <hr align="LEFT" width="100%"> 43 </div> 44 45 <div class="SECT1"> 46 <h1 class="SECT1"><a name="AEN4141">5.5. Wildcard Printcap 47 Entry</a></h1> 48 49 <p>If you specify a printcap name or alias as <var class= 50 "LITERAL">*</var> (wildcard), then if the <b class= 51 "APPLICATION">LPRng</b> system cannot find a printcap with 52 the exact name then the first matching wildcard will be used. 53 For example:</p> 54 55 <div class="INFORMALEXAMPLE"> 56 <a name="AEN4146"></a> 57<pre class="SCREEN"> 58 pr|*:rm=server 59 lpr -Ppr2 will match, and result in a printcap entry 60 pr|pr2:rm=server 61 62 *|pr:rm=server 63 lpr -Ppr2 will match, and result in a printcap entry 64 pr2|pr:rm=server 65</pre> 66 </div> 67 <br> 68 <br> 69 </div> 70 71 <div class="NAVFOOTER"> 72 <hr align="LEFT" width="100%"> 73 74 <table summary="Footer navigation table" width="100%" border= 75 "0" cellpadding="0" cellspacing="0"> 76 <tr> 77 <td width="33%" align="left" valign="top"><a href= 78 "x4125.htm" accesskey="P">Prev</a></td> 79 80 <td width="34%" align="center" valign="top"><a href= 81 "index.htm" accesskey="H">Home</a></td> 82 83 <td width="33%" align="right" valign="top"><a href= 84 "x4148.htm" accesskey="N">Next</a></td> 85 </tr> 86 87 <tr> 88 <td width="33%" align="left" valign="top">PRINTER, 89 LPDEST, NPRINTER, and NGPRINTER Environment 90 Variables</td> 91 92 <td width="34%" align="center" valign="top"><a href= 93 "lprngclients.htm" accesskey="U">Up</a></td> 94 95 <td width="33%" align="right" valign="top">First Printcap 96 Entry</td> 97 </tr> 98 </table> 99 </div> 100 </body> 101</html> 102 103