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>System Specific Notes</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="PREVIOUS" title="Security Concerns " href=
12    "setuid.htm">
13    <link rel="NEXT" title="Linux" href="linux.htm">
14  </head>
15
16  <body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link=
17  "#0000FF" vlink="#840084" alink="#0000FF">
18    <div class="NAVHEADER">
19      <table summary="Header navigation table" width="100%" border=
20      "0" cellpadding="0" cellspacing="0">
21        <tr>
22          <th colspan="3" align="center">LPRng Reference Manual: 5
23          Sep 2003 (For LPRng-3.8.22)</th>
24        </tr>
25
26        <tr>
27          <td width="10%" align="left" valign="bottom"><a href=
28          "setuid.htm" accesskey="P">Prev</a></td>
29
30          <td width="80%" align="center" valign="bottom">
31          </td>
32
33          <td width="10%" align="right" valign="bottom"><a href=
34          "linux.htm" accesskey="N">Next</a></td>
35        </tr>
36      </table>
37      <hr align="LEFT" width="100%">
38    </div>
39
40    <div class="CHAPTER">
41      <h1><a name="SYSTEMSPECIFIC"></a>Chapter 3. System Specific
42      Notes</h1>
43
44      <div class="TOC">
45        <dl>
46          <dt><b>Table of Contents</b></dt>
47
48          <dt>3.1. <a href=
49          "systemspecific.htm#SOLARIS">Solaris</a></dt>
50
51          <dt>3.2. <a href="linux.htm">Linux</a></dt>
52
53          <dt>3.3. <a href="aix.htm">AIX</a></dt>
54
55          <dt>3.4. <a href="appletalk.htm">AppleTalk
56          Support</a></dt>
57        </dl>
58      </div>
59
60      <p>The following are a set of suggestions and recommendations
61      for specific systems.</p>
62
63      <div class="SECT1">
64        <h1 class="SECT1"><a name="SOLARIS">3.1. Solaris</a></h1>
65
66        <p>The Sun Microsystems Solaris printing system is derived
67        from the System V UNIX system. Please see the <a href=
68        "update.htm#SOLARISINSTALL">Solaris, HP, and SysVR4 Derived
69        Systems</a> installation information for a detailed
70        description of how to install <b class=
71        "APPLICATION">LPRng</b> and remove the Solaris Print
72        Services.</p>
73
74        <p>If you want to simply forward jobs from a Solaris system
75        to a BSD print spooling system you can use the following
76        commands to create a printer. Check your specific system
77        references and man pages for options:</p>
78
79        <div class="INFORMALEXAMPLE">
80          <a name="AEN1496"></a>
81<pre class="SCREEN">
82    <samp class="PROMPT">h4: {67} #</samp> <kbd class=
83"USERINPUT">lpsystem -t bsd servername</kbd>   # add server
84    <samp class="PROMPT">h4: {68} #</samp> <kbd class=
85"USERINPUT">lpadmin -p pr -s servername -T unknown -I any</kbd> # set up printer
86    <samp class="PROMPT">h4: {69} #</samp> <kbd class=
87"USERINPUT">accept pr</kbd>   # enable queueing
88    <samp class="PROMPT">h4: {70} #</samp> <kbd class=
89"USERINPUT">enable pr</kbd>   # enable printing
90    <samp class="PROMPT">h4: {71} #</samp> <kbd class=
91"USERINPUT">lpstat -t</kbd>   # show status
92    scheduler is running
93    system for pr: servername
94    lp accepting requests since Mon Aug  6 12:00:00 PST 2000
95    Printer: pr@servername  'Hp : Laserwriter' (printing disabled)
96     Queue: 1 printable job
97     Rank  Owner/ID            Class Job Files            Size Time
98    1      papowell@h4+207       A   207 h4.023205           3 18:24:54
99</pre>
100        </div>
101        <br>
102        <br>
103
104        <p>The above commands will create the necessary directories
105        and files for the printer. If you want to use the <var
106        class="LITERAL">lp -o option</var> syntax to pass options
107        to the LPRng print spooler you will have to enable this by
108        hand. The <tt class="FILENAME">/etc/printers.conf</tt>
109        (this may be in some other directory besides <tt class=
110        "FILENAME">/etc</tt>) needs to be modified so that it
111        allows options to be passed using the Solaris convention,
112        which is to put them on the <var class="LITERAL">S</var> or
113        <var class="LITERAL">O</var> line of the control file. For
114        example:</p>
115
116        <div class="INFORMALEXAMPLE">
117          <a name="AEN1514"></a>
118<pre class="SCREEN">
119    #
120    # The preferred method of modifying this file is through the use of
121    # lpset(1M) or fncreate_printer(1M)
122    #
123    pr:bsdaddr=servername,pr,Solaris:
124    _default:use=pr:
125</pre>
126        </div>
127        <br>
128        <br>
129
130        <p>The <var class=
131        "LITERAL">bsdaddr=host,printer[,Solaris]</var> indicates
132        that the entry is for a remote RFC1179 printer on server
133        <var class="LITERAL">host</var> with name <var class=
134        "LITERAL">printer</var>. The <var class=
135        "LITERAL">Solaris</var> option indicates that the Solars
136        extensions to the RFC1179 protocol are to be used.</p>
137      </div>
138    </div>
139
140    <div class="NAVFOOTER">
141      <hr align="LEFT" width="100%">
142
143      <table summary="Footer navigation table" width="100%" border=
144      "0" cellpadding="0" cellspacing="0">
145        <tr>
146          <td width="33%" align="left" valign="top"><a href=
147          "setuid.htm" accesskey="P">Prev</a></td>
148
149          <td width="34%" align="center" valign="top"><a href=
150          "index.htm" accesskey="H">Home</a></td>
151
152          <td width="33%" align="right" valign="top"><a href=
153          "linux.htm" accesskey="N">Next</a></td>
154        </tr>
155
156        <tr>
157          <td width="33%" align="left" valign="top">Security
158          Concerns</td>
159
160          <td width="34%" align="center" valign="top">&nbsp;</td>
161
162          <td width="33%" align="right" valign="top">Linux</td>
163        </tr>
164      </table>
165    </div>
166  </body>
167</html>
168
169