ó J¡Vc#@sódZdZdZdZddlZddlZddlZddlZddlTddl Tddl m Z m Z m Z edd efd edd efd dd efdddefdddefdddefdddefdddefe jdddefdddefdddefdddefe je je je je jd d!d"efd#d$d"efd%d&d"efd'd(d"efe je jd)dd*efd+dd*efd,dd*efd-dd*efd.dd*efe je jd/dd0efg Ze jeeeeeefdeeƒ Zejd1d2d3d4d5gd6eƒ\ZZ Z!Z"Z#Z$yCeZ%eZ&eZ'd7Z(xµeD]­\Z)Z*e)dPkr«eZ%qŠe)dQkrÀeZ&qŠe)dRkrÕeZ'qŠe)dSkrye+e*ƒZ(Wq7e,k rej-d@dAgƒq7XqŠe)dBkrŠe.j/dCƒqŠqŠWe%pJe&pJe'Z0e0e_1ej2ƒe3ej4ƒd7kr‹ej-d@dDgƒnej4dEZ5dFe5j6ƒkrÀej-d@dGgƒne j7e5e(ƒ\Z8Z9Z:e8sþe.j;dHƒej<d7ƒne%r e8GHne0sdIe8GHne9rGe&r2e9GHqde0sddJe9GHqdne9 rde&rde.j;dKƒne:re'rxe:GHqªe0sªdLe:GHqªne: rªe'rªe.j;dMƒnWne=k rËe.j;dNƒnXe0sïe.j>dƒe.j>dOƒndS(Ts5.0sDevice URI Creation Utilitys hp-makeurisOCreates device URIs for local and network connected printers for use with CUPS.iÿÿÿÿN(t*(tdevicetutilstmodulettnames2Usage: %s [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE]tsummarys[SERIAL NO.|USB ID|IP|DEVNODE]theadingsUSB IDs (usb only):ss"xxx:yyy" where xxx is the USB bus ID and yyy is the USB device ID. The ':' and all leading zeroes must be present.toptionsA(Use the 'lsusb' command to obtain this information. See Note 1.)sIPs (network only):s$IPv4 address "a.b.c.d" or "hostname"sDEVNODE (parallel only):s"/dev/parportX", X=0,1,2,...s#SERIAL NO. (usb and parallel only):s "serial no."s.To specify the port on a multi-port JetDirect:sE-p or --port= (Valid values are 1\*, 2, and 3. \*default)s$Show the CUPS URI only (quiet mode):s -c or --cupss$Show the SANE URI only (quiet mode):s -s or --sanes&Show the HP Fax URI only (quiet mode):s -f or --faxsUSB:s$ hp-makeuri 001:002texamplesNetwork:s$ hp-makeuri 66.35.250.209s Parallel:s$ hp-makeuri /dev/parport0s&USB or parallel (using serial number):s$ hp-makeuri US123456789ss1. Example using 'lsusb' to obtain USB bus ID and USB device ID (example only, the values you obtain will differ) :tnotes $ lsusbs3 Bus 003 Device 011: ID 03f0:c202 Hewlett-Packards $ hp-makeuri 003:011sn (Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)shp-setuptseealsosp:csftporttcupstsanetfaxthandle_device_printeris-cs--cupss-ss--sanes-fs--faxs-ps--portt error_msgs7Invalid port number. Must be between 1 and 3 inclusive.s-gtdebugsAYou must specify one SERIAL NO., IP, USB ID or DEVNODE parameter.it localhostsInvalid hostnamesDevice not founds CUPS URI: %ss SANE URI: %ssDevice does not support scan.sHP Fax URI: %ssDevice does not support fax.s User exitsDone.(s-cs--cups(s-ss--sane(s-fs--fax(s-ps--port(?t __version__t __title__t__mod__t__doc__tsystretgetopttostbase.gt base.codestbaseRRRtTruetFalset USAGE_OPTIONStUSAGE_LOGGING1tUSAGE_LOGGING2tUSAGE_LOGGING3t USAGE_HELPtUSAGE_EXAMPLESt USAGE_SPACEt USAGE_NOTESt USAGE_SEEALSOtUSAGEtModuletINTERACTIVE_MODEtNonetmodt parseStdOptstoptst device_urit printer_nametmodet ui_toolkittlangtcups_quiet_modetsane_quiet_modetfax_quiet_modetjd_porttotatintt ValueErrortusagetlogt set_levelt quiet_modetquiett showTitletlentargstparamtlowertmakeURItcups_uritsane_uritfax_uriterrortexittKeyboardInterrupttinfo(((sW/builds/ul11u3sru-gate/components/hplip/build/prototype/i386/usr/share/hplip/makeuri.pytsÄ