%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/hplip/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/hplip/__pycache__/info.cpython-312.pyc

�

=	f
��
�dZdZdZdZddlZddlZddlZddlZddl�ddl	m
Z
mZmZm
Z
mZddlmZ	dd	lmZ	dZdej4vZerej9d
�ej:eeeedeefe e!fde�	Z"e"jGejHddgdg��e"jKddg�\Z&Z'Z(Z)Z*Z+e&D]
\Z,Z-e,dk(s�dZ�ere.Z)e)ek(r'ej^�sejadez�eZ)e)ek(rdZe"jce'e(e��Z'e'sejdd�e)ee.fv�r	e
jfe'e(�Z4esLejmd�ejmejoe4jN��ejmd�		e4jq�e4js�esejvddd�ddd�f�Z<er9	e4jzd re>e4jzd �ejdd��ne@e4jzj���ZBeBj��ejmejod"��ejmejoe<j�d#���ejme<j�d$��eBD]7ZEejme<j�eEeFe4jzeE�f���9ejmejod%��ejmejoe<j�d#���ejme<j�d$��e@e4j�j���ZHeHj��eHD]7ZEejme<j�eEeFe4j�eE�f���9e4j��rSejvd&dd�d'dd�d(dd�d)dd�d)dd�f�Z<ejmejod*��ejmejoe<j�d+���ejme<j�d,��e4j��ZKeKD]�ZLe
j�eLj��ZOejme<j�ej�d-ej�eLj���eFeLj��eOeLj�eFeLj��f����ejmd�e4j��nwej�e*�\ZWZXeeXd.z�ZY	eWej4�ZZeYj�de'�Z\e\j��	ej-d/�eZj��ejmd�ejmd1�y#e$r"Zej-e�dd
lmZYdZ[���dZ[wwxYw#e5$r'ejad�ejdd�Y���wxYw#e5$r)Zejadejtz�YdZ[���dZ[wwxYw#e?$rejad!�Y��NwxYw#e4j��wxYw#e_$rejdd�Y��wxYw#e_$rejad0�Y��wxYw)2z5.2zDevice Information Utilityzhp-infozjQuery a printer for static model information, dynamic status information, and CUPS printer queue settings.�N)�*)�device�status�utils�tui�module)�cups)�
import_module)�dyn_import_modTz--id�noneF)zDevice ID mode:zE--id (prints device ID only and exits.) (interactive (-i) mode only.)�optionF)z*Allow device URIs of uninstalled printers:z -x (interactive (-i) mode only.)r
Fz
hp-toolbox)�
extra_options�
see_also_list�x�idz-xz@%s -u/--gui requires Qt4 GUI support. Entering interactive mode.)�restrict_to_installed_devices�zUnexpected error. Exiting.�zError opening device (%s).��)�width�margin�:�deviceidzDevice ID not available.z!Device Parameters (dynamic data):)�	ParameterzValue(s))z----------------------------z:----------------------------------------------------------z 
Model Parameters (static data):���(�z$
Status History (most recent first):)z	Date/Time�CodezStatus Description�UserzJob ID)z--------------------z-----z(----------------------------------------�--------r"z%x %H:%M:%Sz.infodialogzStarting GUI loop...z	User exitzDone.)`�__version__�	__title__�__mod__�__doc__�sys�getopt�time�os�base.g�baserrrrr�prntr	�	importlibr
�ImportError�e�log�debug�
base.utilsr�restrict�argv�
devid_mode�	set_level�Module�INTERACTIVE_MODE�GUI_MODE�UI_TOOLKIT_QT4�UI_TOOLKIT_QT5�mod�setUsage�USAGE_FLAG_DEVICE_ARGS�parseStdOpts�opts�
device_uri�printer_name�mode�
ui_toolkit�lang�o�a�NON_INTERACTIVE_MODE�canEnterGUIMode4�error�getDeviceUri�exit�Device�d�Error�info�bold�open�queryDevice�msg�
TextFormatter�	formatter�dq�print�KeyError�list�keys�dq_keys�sort�compose�key�str�mq�mq_keys�
dbus_avail�queryHistory�hq�h�queryString�
event_code�desc�strftime�	localtime�timedate�username�job_id�close�
import_dialog�QApplication�
ui_package�ui�app�
InfoDialog�dlg�show�exec_�KeyboardInterrupt���/usr/share/hplip/info.py�<module>r~sJ��.��(�	�
��
v���
��	�
�3�3��;�'�M��H��3�8�8�#�J���
�
�f���&�-�-���K��$�)�8�4�~�~�6V��z�+�C��L�L��.�.�E�z��%�~�	�'�	����t�f�%�;�D�*�l�D�*�d�
����1���9��H���#���x��%�u�%�%�'��I�I�X�[b�b�c�#�D��x�����!�!�*�l�Zb�!�c�J��������� �"6�7�7�	���
�
�j�,�7�A�
��H�H�R�L��H�H�S�X�X�a�l�l�+�,��H�H�R�L�D	�
@������
�
��
�/�E�/�/�.0�Q�$?�.0�Q�$?�!"��	��:��t�t�J�'��q�t�t�J�/�1��C�H�H�Q�K��q�t�t�y�y�{�+������������"E�F�G�������)�"3�"3�4M�"N�O�P�����*�*�+;�<�=�"�G�C��H�H�Y�.�.��S����c��^�/D�E�F�G�������"E�F�G�������)�"3�"3�4M�"N�O�P�����*�*�+;�<�=��q�t�t�y�y�{�+������"�G�C��H�H�Y�.�.��S����c��^�/D�E�F�G��<�<� 3�� 3� 3�24��(C�23��(B�24��(C�23��(B�23��(B�%&�!"�I��H�H�S�X�X�&M�N�O��H�H�S�X�X�i�&7�&7�8u�&v�w�x��H�H�Y�.�.�/T�U�V����)�B��R��1�v�1�1�!�,�,�?������!2�!2�M�D�M�M�-�Q_�QU�Q_�Q_�`a�`j�`j�Qk�4l�����-�t�Q�Z�Z��Q�X�X��4P�"Q�R�R�
�H�H�R�L�
�G�G�I�$7�5�#6�#6�z�#B� ��j�
�:�
�5�
6����s�x�x�(�C��-�-��j�1�C��H�H�J�
��	�	�0�1��	�	�������������k�;��I�I�a�L�:�:��;��f�	��I�I�2�3��C�H�H�Q�K�	���
@��	�	�6����>�?�?��
@��" �:��I�I�8�9�:��^
�G�G�I��%�
�������
�����I�I�k���s��W
�B	Z#�A*Z#�/W4�AZ#� X#�2Y1�6Y�LY1�A&Z#�!Z�
W1�W,�,W1�4(X �Z#�X � Z#�#Y�(Y�Y1�Y�Y1�Y.�*Y1�-Y.�.Y1�1Z�Z#�Z �Z#�Z � Z#�#Z=�<Z=

Zerion Mini Shell 1.0