• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/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>Linux</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="System Specific Notes " href=
12    "systemspecific.htm">
13    <link rel="PREVIOUS" title="System Specific Notes " href=
14    "systemspecific.htm">
15    <link rel="NEXT" title="AIX" href="aix.htm">
16  </head>
17
18  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
19  "#0000FF" vlink="#840084" alink="#0000FF">
20    <div class="NAVHEADER">
21      <table summary="Header navigation table" width="100%" border=
22      "0" cellpadding="0" cellspacing="0">
23        <tr>
24          <th colspan="3" align="center">LPRng Reference Manual: 5
25          Sep 2003 (For LPRng-3.8.22)</th>
26        </tr>
27
28        <tr>
29          <td width="10%" align="left" valign="bottom"><a href=
30          "systemspecific.htm" accesskey="P">Prev</a></td>
31
32          <td width="80%" align="center" valign="bottom">Chapter 3.
33          System Specific Notes</td>
34
35          <td width="10%" align="right" valign="bottom"><a href=
36          "aix.htm" accesskey="N">Next</a></td>
37        </tr>
38      </table>
39      <hr align="LEFT" width="100%">
40    </div>
41
42    <div class="SECT1">
43      <h1 class="SECT1"><a name="LINUX">3.2. Linux</a></h1>
44
45      <p>There is no universal way to install <b class=
46      "APPLICATION">LPRng</b> cleanly on all of the different Linux
47      systems. The major difficulty is the fragmentation in the
48      various libraries, location of files, and system
49      dependencies. If the <b class="APPLICATION">LPRng</b>
50      installation procedure does not install the software
51      correctly, please use the following remedial steps.</p>
52
53      <ol type="1">
54        <li>
55          <p>Check the <b class="APPLICATION">LPRng</b> web site <a
56          href="http://www.lprng.com" target=
57          "_top">http://www.lprng.com</a> and see if there is a
58          Linux Release RPM or other binary distribution for your
59          version of Linux. If not, then you will have to do a
60          source install.</p>
61        </li>
62
63        <li>
64          <p>Obtain the source distribution and follow the
65          instructions outlined in other sections to compile and
66          install the software. Use the following configuration
67          options which correspond to Linux:</p>
68
69          <div class="INFORMALEXAMPLE">
70            <a name="AEN1533"></a>
71<pre class="SCREEN">
72    <samp class="PROMPT">h4: {72} #</samp> <kbd class=
73"USERINPUT">./configure --prefix=/usr \
74  --sysconfdir=/etc --mandir=/usr/share/man</kbd>
75    <samp class="PROMPT">h4: {73} #</samp> <kbd class=
76"USERINPUT">make clean all install</kbd>
77    <samp class="PROMPT">h4: {74} #</samp> <kbd class=
78"USERINPUT">checkpc -f</kbd>
79</pre>
80          </div>
81          <br>
82          <br>
83        </li>
84
85        <li>
86          <p>You may need to modify your existing printcap file by
87          adding the <var class="OPTION">:bkf</var> flag as shown
88          below, or replace the entries with other filters.</p>
89
90          <div class="INFORMALEXAMPLE">
91            <a name="AEN1544"></a>
92<pre class="SCREEN">
93    lp:\
94      :if=/usr/local/libexec/lpr/hplaserjet3:\
95      :bkf:\     # added to the printcap by hand
96      :...
97</pre>
98          </div>
99          <br>
100          <br>
101        </li>
102
103        <li>
104          <p>Test the system by printing a file. If this does not
105          work, then you will have to determine if the problem is
106          in the print spooling software or in the filter. See the
107          section on <b class="APPLICATION">ifhp</b> for directions
108          on how to replace the vendor supplied filters with <b
109          class="APPLICATION">ifhp</b>.</p>
110        </li>
111      </ol>
112      <br>
113      <br>
114    </div>
115
116    <div class="NAVFOOTER">
117      <hr align="LEFT" width="100%">
118
119      <table summary="Footer navigation table" width="100%" border=
120      "0" cellpadding="0" cellspacing="0">
121        <tr>
122          <td width="33%" align="left" valign="top"><a href=
123          "systemspecific.htm" accesskey="P">Prev</a></td>
124
125          <td width="34%" align="center" valign="top"><a href=
126          "index.htm" accesskey="H">Home</a></td>
127
128          <td width="33%" align="right" valign="top"><a href=
129          "aix.htm" accesskey="N">Next</a></td>
130        </tr>
131
132        <tr>
133          <td width="33%" align="left" valign="top">System Specific
134          Notes</td>
135
136          <td width="34%" align="center" valign="top"><a href=
137          "systemspecific.htm" accesskey="U">Up</a></td>
138
139          <td width="33%" align="right" valign="top">AIX</td>
140        </tr>
141      </table>
142    </div>
143  </body>
144</html>
145
146