<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content="HTML Tidy, see www.w3.org"> <title>Default Printer and Server Host</title> <meta name="GENERATOR" content= "Modular DocBook HTML Stylesheet Version 1.71 "> <link rel="HOME" title=" LPRng-HOWTO" href="index.htm"> <link rel="UP" title= "LPRng Clients - lpr, lprm, lpq, lpc, lpstat " href= "lprngclients.htm"> <link rel="PREVIOUS" title="First Printcap Entry" href= "x4093.htm"> <link rel="NEXT" title="Force Connection to Localhost " href= "forcelocalhost.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-HOWTO: 8 Feb 2002 (For LPRng-3.8.6)</th> </tr> <tr> <td width="10%" align="left" valign="bottom"><a href= "x4093.htm" accesskey="P">Prev</a></td> <td width="80%" align="center" valign="bottom">Chapter 5. <b class="APPLICATION">LPRng</b> Clients - lpr, lprm, lpq, lpc, lpstat</td> <td width="10%" align="right" valign="bottom"><a href= "forcelocalhost.htm" accesskey="N">Next</a></td> </tr> </table> <hr align="LEFT" width="100%"> </div> <div class="SECT1"> <h1 class="SECT1"><a name="DEFAULTRMRP">5.7. Default Printer and Server Host</a></h1> <p>Options used:</p> <ul> <li> <p><tt class="LITERAL">default_remotehost=</tt><i class= "EMPHASIS">default rm (remote host)</i></p> </li> <li> <p><tt class="LITERAL">default_printer=</tt><i class= "EMPHASIS">default rp (remote printer)</i></p> </li> </ul> <br> <br> <p>If the preceding steps do not yield a printer name and the <tt class="LITERAL">require_explicit_q</tt> flag is not set then the <tt class="LITERAL">default_printer</tt> and <tt class="LITERAL">default_remote_host</tt> values from the <tt class="FILENAME">lpd.conf</tt> configuration file will be used. If there is no configuration file, then the compile time defaults will be used.</p> <p>Using the fallback values is usually not a desirable event and may indicate that you have a misconfigured host, so the compile time defaults are usually set to <tt class= "LITERAL">missingprinter@localhost</tt> to provide an annoying message for users.</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= "x4093.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= "forcelocalhost.htm" accesskey="N">Next</a></td> </tr> <tr> <td width="33%" align="left" valign="top">First Printcap Entry</td> <td width="34%" align="center" valign="top"><a href= "lprngclients.htm" accesskey="U">Up</a></td> <td width="33%" align="right" valign="top">Force Connection to Localhost</td> </tr> </table> </div> </body> </html>