Sindbad~EG File Manager
o
�/�a�
�
@ s� d Z dZdZdZddlZddlZddlZddlZddlZddl Z ddl
T ddlmZm
Z
mZmZmZ ddlmZ zdd lmZ W n ey] Z ze�e� dd
lmZ W Y dZ[ndZ[ww z�e�eee edefeef�Zej ej!dgd� e�"� \Z#Z$Z%Z&Z'Z(ej)e$e%d
ej*dfid�Z$e$s�e�+d� e�,de$ � e
�-� s�e�.de � e�+d� e
�/e'�\Z0Z1ee1d �Z2e0ej3�Z4e2�5de$�Z6e6�7� ze�d� e4�8� W n e9y� e�+d� Y nw W n e9y� e�.d� Y nw e�,d� e�,d� dS )z0.1zDevice Setup Utilityzhp-devicesettingszoDevice settings utility for HPLIP supported printers. (Note: Not all printers require the use of this utility).� N)�*)�device�utils�maint�tui�module)�cups)�
import_module)�dyn_import_modz
hp-toolbox)�
see_also_listzpower-settings)�filter� zUsing device : %s
z.%s -u/--gui requires Qt4 GUI support. Exiting.z.devicesetupdialogzStarting GUI loop...z User exit� zDone.):�__version__� __title__�__mod__�__doc__�sys�re�getopt�time�operator�os�base.g�baser r r r r �prntr � importlibr �ImportError�e�log�debug�
base.utilsr
�Module�GUI_MODE�UI_TOOLKIT_QT4�UI_TOOLKIT_QT5�mod�setUsage�USAGE_FLAG_DEVICE_ARGS�parseStdOpts�opts�
device_uri�printer_name�mode�
ui_toolkit�lang�getDeviceUri�gt�exit�info�canEnterGUIMode4�error�
import_dialog�QApplication�
ui_package�ui�argv�app�DeviceSetupDialog�dlg�show�exec_�KeyboardInterrupt� rA rA �"/usr/share/hplip/devicesettings.py�<module> sn
��
����
���
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists