• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/DOCS/LPRng-Reference-Multipart/
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>Default Printer and Server Host</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="First Printcap Entry" href=
15    "x4148.htm">
16    <link rel="NEXT" title="Force Connection to Localhost " href=
17    "forcelocalhost.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          "x4148.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          "forcelocalhost.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="DEFAULTRMRP">5.7. Default Printer
47      and Server Host</a></h1>
48
49      <p>Options used:</p>
50
51      <ul>
52        <li>
53          <p><var class="LITERAL">default_remotehost=</var><span
54          class="emphasis"><i class="EMPHASIS">default rm (remote
55          host)</i></span></p>
56        </li>
57
58        <li>
59          <p><var class="LITERAL">default_printer=</var><span
60          class="emphasis"><i class="EMPHASIS">default rp (remote
61          printer)</i></span></p>
62        </li>
63      </ul>
64      <br>
65      <br>
66
67      <p>If the preceding steps do not yield a printer name and the
68      <var class="LITERAL">require_explicit_q</var> flag is not set
69      then the <var class="LITERAL">default_printer</var> and <var
70      class="LITERAL">default_remote_host</var> values from the <tt
71      class="FILENAME">lpd.conf</tt> configuration file will be
72      used. If there is no configuration file, then the compile
73      time defaults will be used.</p>
74
75      <p>Using the fallback values is usually not a desirable event
76      and may indicate that you have a misconfigured host, so the
77      compile time defaults are usually set to <var class=
78      "LITERAL">missingprinter@localhost</var> to provide an
79      annoying message for users.</p>
80    </div>
81
82    <div class="NAVFOOTER">
83      <hr align="LEFT" width="100%">
84
85      <table summary="Footer navigation table" width="100%" border=
86      "0" cellpadding="0" cellspacing="0">
87        <tr>
88          <td width="33%" align="left" valign="top"><a href=
89          "x4148.htm" accesskey="P">Prev</a></td>
90
91          <td width="34%" align="center" valign="top"><a href=
92          "index.htm" accesskey="H">Home</a></td>
93
94          <td width="33%" align="right" valign="top"><a href=
95          "forcelocalhost.htm" accesskey="N">Next</a></td>
96        </tr>
97
98        <tr>
99          <td width="33%" align="left" valign="top">First Printcap
100          Entry</td>
101
102          <td width="34%" align="center" valign="top"><a href=
103          "lprngclients.htm" accesskey="U">Up</a></td>
104
105          <td width="33%" align="right" valign="top">Force
106          Connection to Localhost</td>
107        </tr>
108      </table>
109    </div>
110  </body>
111</html>
112
113