403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.156
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/hplip/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/hplip/__pycache__/query.cpython-310.pyc
o

�K0j��	@s|ddlmZdZdZdZdZddlZddlTddlm	Z	m
Z
mZ�z�ejeeeede
fd	d
�Zejdgd�dgd
�ejdgd�dd�\ZZZZZZdZdZdZdZdZdZdZeD]8\ZZedvreeZqZedvrleZqZedvrueZdZqZedvr~d	ZdZqZedvr�eZqZedvr�eZqZedkr�d	ZqZer�es�er�es�er�er�e� d�e�!d�es�es�es�e� d�e�!d�er�ze	�"e�\	Z#Z$Z%ZZ&Z'Z(Z)Z*Wne+y�e� de�e�!d�Yn
wer�e
�,e��-�Zes�e� d�e�!d�e�-�Z.e.dv�rd Zn'e.d!k�r
d"Zne.d#k�rd$Zne.d%k�rd&Zne.d'k�r)e� d(�e�!d�e	�/e�Z0e0�s=e� d)e�e�!d�d*Z1e�rme2e0�3��Z4e4�5�e4D]Z6e1�s]d+e6e0e6fZ1�qNe�7e1d+e6e0e6fg�Z1�qNn3e�r�ze0eWne8�y�e� d,e�e�!d�Ynwd+ee0efZ1n
e� d-�e�!d�e�r�e9e1d.d/�WdSe9e1�WdSe:�y�YdSw)0�)�print_functionz0.2zModel Query Utilityzhp-queryz_Query a printer model for static model information. Designed to be called from other processes.N)�*)�device�models�moduleT)�quiet))zSpecify model by device URI:z'-d<device_uri> or --device=<device_uri>�optionF)zSpecify normalized model name:zE-m<model_name> or --model=<model_name> (normalized models.dat format)rF)zSpecify raw model name:zR-r<model_name> or --raw=<model_name> (raw model name from MDL: field of device ID)rF)zSpecify key to query:z<-k<key> or --key=<key> (or, use -a/--all to return all keys)rF)zQuery all keys:z'-a or --all (default separator is a LF)rF)z5Specify the separator when multiple keys are queried:zk-s<sep> --sep=<sep> (character or 'tab', 'newline', 'cr', 'lf', 'crlf')(only valid when used with -a/--all)rF)zSuppress trailing linefeed:�-xrFzhp-info)�
extra_options�
see_also_listzm:k:as:d:r:x)zmodel=zkey=zsep=�allzdevice=zraw=F)�handle_device_printer�lf)z-m�--model)z-dr)z-kz--key)z-az--all)z-rz--raw)z-sz--sepr	z1error: You may only specify one of -d, -m, or -r.�z-error: You must specify one of -d, -m, or -r.zerror: Invalid device URI: %szerror: Invalid model name.)r�newline�
�cr�
�crlfz
�tab�	�=z!error: Separator must not be '='.z!error: Model name '%s' not found.�z%s=%szerror: Key '%s' not found.z:error: Must specify key with -k/--key or specify -a/--all.� )�end);�
__future__r�__version__�	__title__�__mod__�__doc__�sys�base.g�baserrr�Module�NON_INTERACTIVE_MODE�mod�setUsage�parseStdOpts�opts�
device_uri�printer_name�mode�
ui_toolkit�lang�
norm_model�	raw_model�key�all_keys�sep�suppress_trailing_linefeed�o�a�log�stderr�exit�parseDeviceURI�back_end�is_hp�bus�serial�dev_file�host�zc�port�Error�normalizeModelName�lower�s�queryModelByModel�data�output�list�keys�kk�sort�k�join�KeyError�print�KeyboardInterrupt�rSrS�/usr/share/hplip/query.py�<module>s����������



��










��

�

Youez - 2016 - github.com/yon3zu
LinuXploit