File: setup.html

package info (click to toggle)
hplip 1.6.10-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 35,140 kB
  • ctags: 10,985
  • sloc: ansic: 48,004; cpp: 40,938; python: 29,973; xml: 14,675; sh: 9,841; perl: 4,257; makefile: 786
file content (283 lines) | stat: -rw-r--r-- 10,731 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

 <head>
  <title>Printer/Fax Setup Utility</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <!-- <link rel="stylesheet" href="../../styles/style.css" type="text/css" /> -->
  <link rel="stylesheet" href="../../styles/rest.css" type="text/css" /> 
  <link rel="stylesheet" href="../../styles/default.css" type="text/css" /> 
       <meta name="author" content="" />
       <meta name="email" content="" />
  <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
  <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT">
 </head>

 <body>
    <table border="0" width="100%" cellspacing="0">
        <tr>
            <td align="left" valign="top">
                <a href="../../index.html"><img src="../../images/hp-tux-printer.png" alt="HP Linux Imaging and Printing" align="left" border="0"/></a>
                <h1>HP Linux Imaging and Printing (HPLIP)</h1>
            </td>
        </tr>
    </table>

    <table  border="0" width="100%" cellspacing="4">
        <tr>
            <td colspan="3"><hr noshade="noshade" size="1"/></td>
        </tr>
        <tr>
        <!-- LEFT SIDE NAVIGATION -->
            <td  valign="top" class="navleft" width="5%"> <!-- nowrap="nowrap" -->
                <div class="menuheader">About</div> 
                <menu compact="compact">
                    <li><a href="../../features.html" title="">Features</a></li> 
                    <li><a href="../../screenshots.html" title="">Screenshots</a></li> 
                    <li><a href="../../faqs.html" title="FAQs">FAQs</a></li> 
                </menu>

                <div class="menuheader">Setup and Installation</div> 
                <menu compact="compact">

                    <li><a href="../../downloads.html" title="Downloads"><b>Download HPLIP</b></a></li>
                    <li><a href="../../system_requirements.html" title="System Requirements">System Requirements</a></li> 
                    <li><a href="../../supported_devices/index.html" title="Supported Devices">Supported Devices</a></li> 
                    <!-- <li><a href="http://sourceforge.net/project/showfiles.php?group_id=149981" title="Downloads">Downloads</a></li>  -->
                    <li><a href="../../install/index.html" title="Installation Instructions">Installation Instructions</a></li> 
                </menu>

                <div class="menuheader">Usage and Support</div> 
                <menu compact="compact">
                    <li><a href="../../mailing_lists.html" title="Mailing Lists">Mailing Lists</a></li>
                    <li><a href="../../howtos/index.html" title="How-Tos">How-Tos</a></li> 
                    <li><a href="../../troubleshooting/index.html" title="Troubleshooting">Troubleshooting</a></li>
                    <li><a href="../../release_notes.html" title="Release Notes">Release Notes</a></li>
                    <!-- <li><a href="" title="Software Patches">Software Patches</a></li> -->
                </menu>

                <div class="menuheader">Resources</div>
                <menu compact="compact">
                    <li><a href="../../tech_docs/index.html" title="">Technical Documentation</a></li> 
                    <li><a href="http://sourceforge.net/projects/hplip/" title="Our project page on Sourceforge.net">Sourceforge Project Page</a></li> 
                    <li><a href="../../license.html" title="Software License">Software License</a></li>
                    <li><a a href="../../other_support.html" title="Other Support Information">Other Support Information</a></li>
                    <li><a a href="../../about.html" title="About">About HPLIP</a></li>
                    <li><a href="../../contacts.html" title="Contacts">Contacts</a></li>
                </menu>
            </td>

        <!-- CONTENT -->

        <a href="../../index.html">Home</a>
&gt;
<a href="../index.html">Technical Documentation</a>
&gt;
<a href="index.html">Man Pages</a>
&gt;
hp-setup


        <td align="left" valign="top" class="content">
        <div class="document" id="hp-setup-printer-fax-setup-utility-ver-3-1">
<h1 class="title">hp-setup: Printer/Fax Setup Utility (ver. 3.1)</h1>
<p>Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use. Allows the printing of a testpage. Performs basic fax parameter setup.</p>
<p><strong>Usage: hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]</strong></p>
<p><strong>[MODE]</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><em>Enter graphical UI mode:</em></td>
<td>-u or --gui (Default)</td>
</tr>
<tr><td><em>Run in interactive mode:</em></td>
<td>-i or --interactive</td>
</tr>
</tbody>
</table>
<p><strong>[OPTIONS]</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><em>Automatic mode:</em></td>
<td>-a or --auto (-i mode only)</td>
</tr>
<tr><td><em>To specify the port on a multi-port JetDirect:</em></td>
<td>-p&lt;port&gt; or --port=&lt;port&gt; (Valid values are 1*, 2, and 3. *default) (-i mode only)</td>
</tr>
<tr><td><em>No testpage in automatic mode:</em></td>
<td>-x (-i mode only)</td>
</tr>
<tr><td><em>To specify a CUPS printer queue name:</em></td>
<td>-n&lt;printer&gt; or --printer=&lt;printer&gt; (-i mode only)</td>
</tr>
<tr><td><em>To specify a CUPS fax queue name:</em></td>
<td>-f&lt;fax&gt; or --fax=&lt;fax&gt; (-i mode only)</td>
</tr>
<tr><td><em>Type of queue(s) to install:</em></td>
<td>-t&lt;typelist&gt; or --type=&lt;typelist&gt;. &lt;typelist&gt;: print*, fax* (*default) (-i mode only)</td>
</tr>
<tr><td><em>Bus to probe (if device not specified):</em></td>
<td>-b&lt;bus&gt; or --bus=&lt;bus&gt; (-i mode only)</td>
</tr>
<tr><td>&nbsp;</td>
<td>&lt;bus&gt;: cups*, usb*, net, bt, fw, par* (*defaults) (Note: bt and fw not supported in this release.)</td>
</tr>
<tr><td><em>Set the logging level:</em></td>
<td>-l&lt;level&gt; or --logging=&lt;level&gt;</td>
</tr>
<tr><td>&nbsp;</td>
<td>&lt;level&gt;: none, info*, error, warn, debug (*default)</td>
</tr>
<tr><td><em>Run in debug mode:</em></td>
<td>-g (same as option: -ldebug)</td>
</tr>
<tr><td><em>This help information:</em></td>
<td>-h or --help</td>
</tr>
</tbody>
</table>
<p><strong>[SERIAL NO.|USB ID|IP|DEVNODE] (-i mode only)</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><em>USB bus:device (usb only):</em></td>
<td>&quot;xxx:yyy&quot; where 'xxx' is the USB bus and 'yyy' is the USB device. (Note: The ':' and all leading zeros must be present.)</td>
</tr>
<tr><td>&nbsp;</td>
<td>Use the 'lsusb' command to obtain this information.</td>
</tr>
<tr><td><em>IPs (network only):</em></td>
<td>IPv4 address &quot;a.b.c.d&quot; or &quot;hostname&quot;</td>
</tr>
<tr><td><em>DEVNODE (parallel only):</em></td>
<td>&quot;/dev/parportX&quot;, X=0,1,2,...</td>
</tr>
<tr><td><em>SERIAL NO. (usb and parallel only):</em></td>
<td>&quot;serial no.&quot;</td>
</tr>
</tbody>
</table>
<p><strong>Examples:</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><em>One USB printer attached, automatic:</em></td>
<td>$ hp-setup -a</td>
</tr>
<tr><td><em>USB, IDs specified:</em></td>
<td>$ hp-setup 001:002</td>
</tr>
<tr><td><em>Network:</em></td>
<td>$ hp-setup 66.35.250.209</td>
</tr>
<tr><td><em>Network, Jetdirect port 2:</em></td>
<td>$ hp-setup --port=2 66.35.250.209</td>
</tr>
<tr><td><em>Parallel:</em></td>
<td>$ hp-setup /dev/parport0</td>
</tr>
<tr><td><em>USB or parallel, using serial number:</em></td>
<td>$ hp-setup US12345678A</td>
</tr>
<tr><td><em>USB, automatic:</em></td>
<td>$ hp-setup --auto 001:002</td>
</tr>
<tr><td><em>Parallel, automatic, no testpage:</em></td>
<td>$ hp-setup -a -x /dev/parport0</td>
</tr>
<tr><td><em>Parallel, choose device:</em></td>
<td>$ hp-setup -b par</td>
</tr>
<tr><td><em>Setup using GUI mode:</em></td>
<td>$ hp-setup -u</td>
</tr>
</tbody>
</table>
<p><strong>Notes:</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td colspan="2"><ol class="first last arabic simple">
<li>If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.</li>
</ol>
</td>
</tr>
<tr><td colspan="2"><ol class="first last arabic simple" start="2">
<li>Using 'lsusb' to obtain USB IDs: (example)</li>
</ol>
</td>
</tr>
<tr><td colspan="2">$ lsusb</td>
</tr>
<tr><td colspan="2">Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard</td>
</tr>
<tr><td colspan="2">$ hp-setup --auto 003:011</td>
</tr>
<tr><td colspan="2">(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)</td>
</tr>
<tr><td colspan="2"><ol class="first last arabic simple" start="3">
<li>None of the parameters -a, -p, -n, -f, -t, -b, or [SERIAL NO.|USB ID|IP|DEVNODE] are valid in GUI (-u) mode.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p><strong>See Also:</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><a class="reference" href="makeuri.html">hp-makeuri</a></td>
<td>&nbsp;</td>
</tr>
<tr><td><a class="reference" href="probe.html">hp-probe</a></td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</div>


        <hr size="1"/>
        <small>Last update: Mon Oct 16 11:02:38 2006; HPLIP Version: 1.6.10</small>

        <!-- FOOTER -->
    </table>
    <table border="0" width="100%" cellspacing="0">
        <tr>
            <td colspan="3"><hr noshade="noshade" size="1"/></td>
        </tr>
        <!-- <tr><td colspan="3" class="footer"></td> -->
        <tr>
            <td class="footer"><a href="../../legal.html">Legal Notices</a></td>
            <td class="footer">Copyright &#169; 2003-2006, Hewlett-Packard Development Company, L.P.</td>
            <td class="footer"><a href="mailto:hplip@hp.com">Contact Site Maintainer</a></td>
        </tr>
        <tr>
            <td colspan="3" class="footer"><a href="http://sourceforge.net/" alt="Hosted by Sourceforge.net"><img src="../../images/sflogo.png" border="0"></a></td>
        </tr>
    
    </table>
</body>

</html>