JVc@sdZdZdZdZddlZddlZddlZddlZddl Z ddlZddl Z ddl Tddl Tddl mZmZmZmZmZddlmZdd lmZdZd Zd Zd d Zeddefdeddefejejejddde fddde fej!ej"ddde fej#ej$ej%ej&ej'ej(ddde fddde fgZ)ej*eeeee)e+e,fe-e.feZ/e/j0ddddd d!d"d#gd$e \Z1Z2Z3Z4Z5Z6dZ7e8Z9e:Z;e Z<xe1D]\Z=Z>e=d|krtej?j@ej?jAej?jBe>Z7q/e=d)kreCZ9e5d*kreDjEd+qq/e=d,kreFZ9e5d*kreDjEd-qq/e=d.kreGe>Z;q/e=d/kr/eZ<q/q/WejHrCeDjId0eeJeKfejLd1ne<s_e e/_Me/jNneOjPZQd2eQZRe/jSZTeTe kreDjId3ejLd1ne7dk rej?jUe7seDjId4e7ed1nej?jVe7rAej?jWe7d2eQZ7ej?jUe7sAeDjId4e7ed1qAnej?jXe7eRkrweDjId5eRed1nejYe7d6dd7ZZZ[Z\d8e7Z7eDj]d9e7eZfne4e,kr.e5d*krej^s+eDjId:eed1q+q.ej_s.eDjId;eed1q.nej`eajbd<d=ZcecryMddldTyeeZfeZgWn)ehjik rZjeDjId>e ZgnXWqeDjId?e ZgqXne Zgdd@lkmlZleljmZne Zoenjpeljqkre7dkreZone4e,kr e5d*kryddlrTddAlsmtZtWn(euk rneDjIdBed1nXevejwZxeyjzexe{dCexe|dDe6dkre}jbdEdFdGZ6e6j~dGkreejZ6eDj]dHe6qne6j~dIkrdJZy.e6jdK\ZZdKjWeegZ6Wn,ek rpe6ZdKjWe6egZ6nXeDj]dLe6edZdMeZeDj]dNeejeeOjZerexjeqdIZ6ne6dIkreDj]dOndeDj]dPe6ejee6e6eO_y ejejeje6Wnejk r\nXetjZexjeejexjqy*ddQlmvZvmZddRlmZWn(euk reDjIdSed1nXevejwZxeor6 ejddTdUeQejejBejkr6 ed1q6 nede9e;ZejyeDj]dVexjWqek r eDjIdWed qXnyeDjdXeDjdejdYeQeor eDjdZeQejd[\ZZe s e r ed q ne7dkr< ejd\d}d_d~Zejdejdejdejejdhdbdddfgdb\ZZe s edfkr ed nedbkr dZ7q< xxer8 eeDjdieQjZ7e7jj~dfkr ed1ne7jdjr4 eDjIdke7q nej?j@ej?jAej?jBe7Z7ej?jUe7s eDjId4e7q nej?jVe7r ej?jWe7eRZ7ej?jUe7s eDjId4e7q q nej?jXe7eRkr eDjId5eRq nejYe7d6dd7ZZZ[Z\d8e7Z7Pq Wne7jd8r[ ejdlnFejdmeDjdnejZTeTs eDjIdoed1neDjdpe7ejdqZenje7e\ZZ7ZdGHeekri eDjIeeeefkrO ejdrds\ZZe s2 e rf enje7ed qf qi enje7ed1nejdtenje7e4enje7ejdugZe ZxeD]ZejeZejbdvd r es ejdweZneDjeDjdxeyejeZWn(ek rLeDjIdyed1nXejrieDjdznejq q WWnek reDjIdWnXeDjdeDjd{ed dS(s2.1s hp-plugins#Plugin Download and Install Utilitys2HP Proprietary Plugin Download and Install UtilityiN(t*(tdevicetutilsttuitmoduletservices(tinput(tcupscCs3tjtd|||tj||dS(Nid(tpmtupdatetintRt format_bytes(tctstt((sV/builds/ul11u3sru-gate/components/hplip/build/prototype/i386/usr/share/hplip/plugin.pytplugin_download_callback.scCs |GHdS(N((R ((sV/builds/ul11u3sru-gate/components/hplip/build/prototype/i386/usr/share/hplip/plugin.pytplugin_install_callback3sicCstjtj|dS(N(tmodtunlockInstancetsystexit(tcode((sV/builds/ul11u3sru-gate/components/hplip/build/prototype/i386/usr/share/hplip/plugin.pyt clean_exit6s ttnamesUsage: %s [MODE] [OPTIONS]tsummarys'Installation for required printer mode:s--required (Qt4 only)toptions'Installation for optional printer mode:s--optional (Qt4 only)s$Specify the path to the plugin file:s--p or --path= or --plugin=shp-setuptseealsos hp-firmwaressp:spath=splugin=splug-in=sreason=tgenerictoptionaltrequiredthandle_device_printers-ps--paths--plugins --plug-ins --requiredtqt3s--required switch ignored.s --optionals--optional switch ignored.s--reasons-ss%s %sishplip-%s-plugin.runsBPlug-in lock acquire failed. check if hp-plugin is already runningsPlug-in path '%s' not found.sPlug-in filename must be '%s'.igsfile://sPlugin path=%s (%d)sR%s requires GUI support (try running with --qt4). Try using interactive (-i) mode.sR%s requires GUI support (try running with --qt3). Try using interactive (-i) mode.t configures policy-kitsBPolicyKit support requires DBUS or PolicyKit support files missings)Unable to load pkit...is HPLIP installed?(t pluginhandler(t pluginform2s,Unable to load Qt3 support. Is it installed?slastWindowClosed()squit()tuitloctsystemsUsing system locale: %sR tutf8t.s&Trying to load .qm file for %s locale.s hplip_%s.qmsName of .qm file: %ssUsing default 'C' localesUsing locale: %s(t QApplicationt QMessageBox(t PluginDialogs,Unable to load Qt4 support. Is it installed?t ssThe driver plugin for HPLIP %s appears to already be installed. Do you wish to download and re-install the plug-in?sStarting GUI loop...s User exits](Note: Defaults for each question are maked with a '*'. Press to accept the default.)s!PLUG-IN INSTALLATION FOR HPLIP %ss?The driver plugin for HPLIP %s appears to already be installed.s3Do you wish to download and re-install the plug-in?theadertOptiont Descriptiont min_widthsi i2tds&Download plug-in from HP (recommended)tps(Specify a path to the plug-in (advanced)tqs"Quit hp-plugin (skip installation)s6 Enter option (d=download*, p=specify path, q=quit) ? s<Enter the path to the 'hplip-%s-plugin.run' file (q=quit) : shttp://s(Plug-in filename =%s must be local file.s COPY PLUGINsDOWNLOAD PLUGINs"Checking for network connection...s Network connection not detected.sDownloading plug-in from: %ssDownloading plug-in:s)Do you still want to install the plug-in?tnsINSTALLING PLUG-INthps fw-downloadsDOWNLOADING FIRMWAREs% Downloading firmware to device %s...sError opening device. Exiting.sFirmware download successful. sDone.(s-ps--paths--plugins --plug-in(R.R/(i i2(R1s&Download plug-in from HP (recommended)(R2s(Specify a path to the plug-in (advanced)(R3s"Quit hp-plugin (skip installation)((t __version__t__mod__t __title__t__doc__Rtgetoptttimetos.pathtostretgziptbase.gt base.stringstbaseRRRRRtbase.sixext.movesRtprntRtNoneRRRRtTruet USAGE_MODEtUSAGE_GUI_MODEtUSAGE_INTERACTIVE_MODEtFalsetUSAGE_LANGUAGEt USAGE_OPTIONStUSAGE_LOGGING1tUSAGE_LOGGING2tUSAGE_LOGGING3t USAGE_HELPt USAGE_SPACEt USAGE_SEEALSOtUSAGEtModuletINTERACTIVE_MODEtGUI_MODEtUI_TOOLKIT_QT3tUI_TOOLKIT_QT4Rt parseStdOptstoptst device_urit printer_nametmodet ui_toolkitR%t plugin_patht PLUGIN_NONEt install_modetPLUGIN_REASON_NONEt plugin_reasont Is_quiet_modetotatpathtnormpathtabspatht expandusertPLUGIN_REQUIREDtlogtwarntPLUGIN_OPTIONALR trunning_as_rootterrort queryStringtERROR_RUNNING_AS_ROOTRtquiett showTitletproptinstalled_versiontversiontplugin_filenamet lockInstancetoktexiststisdirtjointbasenametstattsizetchecksumt timestamptdebugtcanEnterGUIModetcanEnterGUIMode4tto_booltsys_conftgettPKITt base.pkitt PolicyKittpkittpkit_installedtdbust DBusExceptiontext installerR"t PluginHandlet pluginObjtplugin_installedt getStatustPLUGIN_INSTALLEDtqtR$R#t ImportErrorR)targvtapptQObjecttconnecttSIGNALtSLOTt user_conftlowertstrt QTextCodectlocaletetsplittltxt ValueErrort QTranslatorttranstqm_filetloadtlocalization_dirtloadedtinstallTranslatortQLocalet setDefaultt setlocaletLC_ALLt normalizetErrort PluginForm2twt setMainWidgettshowt exec_loopt PyQt4.QtGuiR*tui4.plugindialogR+tquestiontYestNotdialogtexec_tKeyboardInterrupttinfoR-t enter_yes_notconttanst Formatterttabletaddtoutputt enter_choicetboldtstript startswithtcheck_network_connectiont ProgressMetertdownloadtstatust error_strt ERROR_SUCCESStERROR_UNABLE_TO_RECV_KEYStERROR_DIGITAL_SIGN_NOT_FOUNDtdeleteInstallationFilest run_plugintgetSupportedCUPSDevicest cups_devicesttitletdevtqueryModelByURItmqtDeviceR1tdownloadFirmwaretclose(((sV/builds/ul11u3sru-gate/components/hplip/build/prototype/i386/usr/share/hplip/plugin.pyts         (     -                  !            !      "                                 * !