%PDF- %PDF-
Mini Shell

Mini Shell

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

�

=	f:
���dZdZdZdZddlZddlZddlZddlZddlZddl	Z	ddl
�ddl�ddlm
Z
mZmZmZmZmZddlmZ	dd	lmZej6dej8d
ej:dej<dej>dej@dejBdejDdejFdejHdejJdiZ&	ejNeeeede(f�Z)e)jUejV�e)jY�\Z-Z.Z/Z0Z1Z2e)jge.e/dejhdfidg��Z.e.sej4d�ejkde.z�	ejle.e/d��Z7		e7j{�	ejkde.z�e7j}�e7j�	ejkd"�ejkd#�y#e$r'ej3d
�ej4d�Y���wxYw#e8$rkZ9e9jte;k(r$ej3d�ej4d�n-ej3e9jx�ej4d�YdZ9[9��dZ9[9wwxYw#e8$r'ej3d�ej4d�Y��&wxYw#e8$rej3d �Y��wxYw#e7j�wxYw#e@$rej3d!�Y��?wxYw)$z2.0zhp-timedatezTime/Date UtilityzVSet the time and date on an HP Officejet all-in-one device using the PC time and date.�N)�*)�device�status�utils�pml�tui�module)�cups)�	faxdevicezJUnable to load fax services for HPLIP (required for hp-timedate). Exiting.�zOK: End of supported objectsz#OK: Nearest legal value substitutedzUnknown requestzBuffer overflowzCommand executionzUnknown OIDzObject does not support actionzInvalid or unsupported valuezPast end of supported objectszAction cannot be performed now�Syntaxzfax-type�hpfax)�filter�back_end_filterzUsing device : %s
T)�disable_dbusz*Device does not support setting time/date.z Unable to open device. Exiting. zSetting time and date on %szAn error occured!z	User exit�zDone.)A�__version__�__mod__�	__title__�__doc__�sys�re�getopt�struct�operator�os�base.g�
base.codes�baserrrrrr	�prntr
�faxr�ImportError�log�error�exit�!ERROR_OK_END_OF_SUPPORTED_OBJECTS�'ERROR_OK_NEAREST_LEGAL_VALUE_SUBSITUTED�ERROR_UNKNOWN_REQUEST�ERROR_BUFFER_OVERFLOW�ERROR_COMMAND_EXECUTION�ERROR_UNKNOWN_OID�+ERROR_OBJ_DOES_NOT_SUPPORT_SPECIFIED_ACTION�"ERROR_INVALID_OR_UNSUPPORTED_VALUE� ERROR_PAST_END_OF_SUPPORTED_OBJS�$ERROR_ACTION_CANNOT_BE_PERFORMED_NOW�ERROR_SYNTAX�PML_ERROR_CODES�Module�INTERACTIVE_MODE�mod�setUsage�USAGE_FLAG_DEVICE_ARGS�parseStdOpts�opts�
device_uri�printer_name�mode�
ui_toolkit�lang�getDeviceUri�gt�info�	FaxDevice�d�Error�e�opt�'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION�msg�open�setDateAndTime�close�KeyboardInterrupt���/usr/share/hplip/timedate.py�<module>rOs���.��
���	�
b���	�
�
��	���8�8�����)�)�+I��/�/�1V����0����0����!4����=��3�3�5U��*�*�,J��(�(�*I��,�,�.N����h���*�
�&�-�-���K��$�)�+�-�C��L�L��.�.�/�	����;�D�*�l�D�*�d��!�!�*�l��X�[�[�!�,�-� �	�"�#�J���������H�H�
"�Z�
/�0���I���
�L�t�L��
�	�
�F�F�H�
	+��H�H�2�Z�?�@�
����	
���	�
�����������A���I�I�Z�[��C�H�H�Q�K���J���5�5�;�;��I�I�B�C��C�H�H�Q�K��I�I�a�e�e���C�H�H�Q�K���
���	��I�I�8�9��C�H�H�Q�K�	���	+��I�I�)�*�	+��	
���	�����I�I�k���s��G&�BK)�&H�=J�$J7�2K)�&(H�H�J�A J�:K)�J�K)�(J4�0K�3J4�4K�7K�
K�K�K�K&�&K)�)L�L

Zerion Mini Shell 1.0