%PDF- %PDF-
Mini Shell

Mini Shell

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

�

=	f����ddlmZdZdZdZdZddlZddlZddlZddl	�ddl
mZmZm
Z
mZd'd	�Zed
ddfd
ezd
ddfej ej"ej$ej&ej(ej*ej,ej.ej0gZ	ej7e�ej8eeeeeeefee e!fdd��	Z"	e"jGdgd�d��\Z$Z%Z&Z'Z(Z)ej^d�rejad�dZ1dZ2e$D]�\Z3Z4e3dvre��e3dk(r	ed�� e3dk(r	ed��.e3dk(re5ed��ej\d��Pe3d vre4jm�jo�Z1�se3d!k(rdZ1�{e3d"k(s��dZ2��ejae1�se�e2sejpee�e"jsed�ejtjwd#e<jzz�Z>ejej�d$e>z��ejtj�e>�r	ej�e>�ej�e>�ej�ej��ej�e'�ZHe
j�eHe'e(e2�e"j��ejd&�y#ejT$r?Z+ejYe+jZ�e�ej\d�YdZ+[+��$dZ+[+wwxYw#eC$rY��wxYw#eJ$rejYd%�Y��wxYw)(�)�print_functionz1.1z0AutoConfig Utility to check queues configurationzhp-daignose-queuesz_Auto config utility for HPLIP supported multifunction Devices to diagnose queues configuration.N)�*)�utils�module�queues�passwordc���|dk(rtjtt�tjt
|ttt�tjd�y)N�textr)	r�	log_title�	__title__�__version__�format_text�USAGE�__mod__�sys�exit)�typs �#/usr/share/hplip/diagnose_queues.py�usager&s8��
�f�}�
���	�;�/�	���e�S�)�W�k�B��H�H�Q�K���nameTzUsage: %s [MODE] [OPTIONS]�summary)�run_as_root_ok�quietzhl:gsiu)�helpz	help-restzhelp-manz	help-desczlogging=�gui�interactiveF)�handle_device_printer��HPLIP_DEBUG�debug�info)z-hz--helpz--help-rest�restz
--help-man�manz--help-desc� )�end)z-lz	--loggingz-gz-sz%s/hplip_queues.logzSaving output in log file: %sz	User exitzDone.)r
)L�
__future__rr
rr�__doc__r�os�getopt�base.g�baserrrrr�
USAGE_MODE�USAGE_GUI_MODE�USAGE_INTERACTIVE_MODE�USAGE_SPACE�
USAGE_OPTIONS�USAGE_LOGGING1�USAGE_LOGGING2�USAGE_LOGGING3�
USAGE_HELPr�log�
set_module�Module�INTERACTIVE_MODE�GUI_MODE�UI_TOOLKIT_QT3�UI_TOOLKIT_QT4�UI_TOOLKIT_QT5�mod�parseStdOpts�opts�
device_uri�printer_name�mode�
ui_toolkit�loc�GetoptError�e�error�msgr�getenv�	set_level�	log_level�
quiet_mode�o�a�print�lower�stripr�lockInstance�path�normpath�prop�user_dir�log_filer"�bold�exists�remove�OSError�set_logfile�	set_where�LOG_TO_CONSOLE_AND_FILE�Password�passwordObj�
main_function�KeyboardInterrupt�unlockInstance�rr�<module>rgs<��,&���>�	�
��
o���	�
��0�0���2�v�t�	$�
&��
0�"�i��	F�
�
�
�
�
�
�
�
&�
&�
�
�
�	�	�	�	�	�	�u�3�3�U�5I�5I�	�	�	�		
��B��N�N�7��
�&�-�-���K��%�%�x�0�#�^�^�D�#'�d�4�C�	�@C�@P�@P�QZ�c�,1�AQ�A3�=��j�,��j�#��r�y�y����
�
�g���I��J�����1�� � ��G�
�-�
��&�M�
�,�
��%�L�
�-�
��'�s�#��C�H�H�Q�K�
�%�
%����	���)�I�
�$�Y��I�
�$�Y��J�+�.�=�=��#�
�������	�;�/����W�d�#��w�w��� 5�d�m�m� C�D�H��I�I�c�h�h�6��A�B�C�	�w�w�~�~�h��	��B�I�I�h���O�O�H���M�M�#�-�-�.�#�(�#�#�D�)�K��F����d�:�z�C������	�	�'���s�����	�	�!�%�%��
������������X�	��	�����I�I�k���si�#1L)�K
�2B)L)�B)L)�L�AL)�
L�4L�L)�L�L)�L&�#L)�%L&�&L)�)M�M

Zerion Mini Shell 1.0