Sindbad~EG File Manager

Current Path : /usr/share/hplip/__pycache__/
Upload File :
Current File : //usr/share/hplip/__pycache__/timedate.cpython-310.pyc

o

�/�a:
�@s�dZdZdZdZddlZddlZddlZddlZddlZddl	Z	ddl
TddlTddlm
Z
mZmZmZmZmZddlmZzdd	lmZWneyYe�d
�e�d�Ynwejdejd
ejdejdejdej dej!dej"dej#dej$dej%diZ&z�e�'eeeede(f�Z)e)�*ej+�e)�,�\Z-Z.Z/Z0Z1Z2e)j3e.e/dej4dfidgd�Z.e.s�e�d�e�5de.�z
ej6e.e/dd�Z7Wn-e8y�Z9z!e9j:e;kr�e�d�e�d�ne�e9j<�e�d�WYdZ9[9ndZ9[9wwz>ze7�=�Wne8�y	e�d�e�d�Ynwz
e�5de.�e7�>�Wne8�y&e�d �YnwWe7�?�ne7�?�wWne@�yBe�d!�Ynwe�5d"�e�5d#�dS)$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�rKrK�/usr/share/hplip/timedate.py�<module>s� 
�����



��
����


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists