File: makeuri.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 (225 lines) | stat: -rw-r--r-- 8,679 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
<!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>Device URI Creation 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-makeuri


        <td align="left" valign="top" class="content">
        <div class="document" id="hp-makeuri-device-uri-creation-utility-ver-4-3">
<h1 class="title">hp-makeuri: Device URI Creation Utility (ver. 4.3)</h1>
<p>Creates device URIs for local and network connected printers for use with CUPS.</p>
<p><strong>Usage: hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE]</strong></p>
<p><strong>[SERIAL NO.|USB ID|IP|DEVNODE]</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><em>USB IDs (usb only):</em></td>
<td>&quot;xxx:yyy&quot; where xxx is the USB bus ID and yyy is the USB device ID. The ':' and all leading zeroes must be present.</td>
</tr>
<tr><td>&nbsp;</td>
<td>(Use the 'lsusb' command to obtain this information. See Note 1.)</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>[OPTIONS]</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<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)</td>
</tr>
<tr><td><em>Show the CUPS URI only (quiet mode):</em></td>
<td>-c or --cups</td>
</tr>
<tr><td><em>Show the SANE URI only (quiet mode):</em></td>
<td>-s or --sane</td>
</tr>
<tr><td><em>Show the HP Fax URI only (quiet mode):</em></td>
<td>-f or --fax</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>Examples:</strong></p>
<table border="1" class="borderless docutils">
<colgroup>
<col width="51%" />
<col width="49%" />
</colgroup>
<tbody valign="top">
<tr><td><em>USB:</em></td>
<td>$ hp-makeuri 001:002</td>
</tr>
<tr><td><em>Network:</em></td>
<td>$ hp-makeuri 66.35.250.209</td>
</tr>
<tr><td><em>Parallel:</em></td>
<td>$ hp-makeuri /dev/parport0</td>
</tr>
<tr><td><em>USB or parallel (using serial number):</em></td>
<td>$ hp-makeuri US123456789</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>Example using 'lsusb' to obtain USB bus ID and USB device ID (example only, the values you obtain will differ) :</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-makeuri 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>
</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="setup.html">hp-setup</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>