📄 scripts.ps
字号:
/doclutimage{/rgbclut xd p/mylookup bpc 8 eq{3 createexpandstr/8lookup}{bpc 4 eq{6 createexpandstr/4lookup}{12 createexpandstr/2lookup}ife}ife l iw ih bpc[1 0 0 -1 0 ih][setupimageproc/exec load/colorexpand load/exec load]cvxfalse 3 colorimage}d}if not enl/colorimage where{p true}{false}ife dup{/do24image{iw ih 8[1 0 0 -1 0 ih]setupimageproc false 3 colorimage}d}ifdup dup snl not{/rgbtogray{/str xd/len str length def/smlen len 3 idiv def/rstr str def/gstr str 1 len 1 sub getinterval def/bstr str 2 len 2 sub getinterval defstr dup 0 1 smlen 1 sub{dup 3 mul rstr 1 ix get .3 mulgstr 2 ix get .59 mul add bstr 3 -1 roll get .11 mul addround cvi put dup}for p 0 smlen getinterval}d/do24image{iw ih 8[1 0 0 -1 0 ih][setupimageproc/exec load/rgbtogray load/exec load]cvx bindimage}d}if enl/doimage{iw ih 8[1 0 0 -1 0 ih]setupimageproc image}d/setup1asciiproc{[currentfile mystring/rh cvx/p cvx]cvx bind}d/setup1binaryproc{[currentfile mystring/readstring cvx/p cvx]cvx bind}d/iw 0 def/ih 0 def/im_save 0 def/setupimageproc 0 def/polarity 0 def/smoothflag 0 def/mystring 0 def/bpc 0 def/beginimage{/im_save sv def dup 0 eq{p/setup1binaryproc}{1 eq{/setup1asciiproc}{(error, can't use level2 data acquisition procs for level1)print flush}ife}ife/setupimageproc x l/polarity xd/smoothflag xd tr sc/mystring x string def/bpc xd/ih xd/iw xd}d/endimage{im_save rs np}d/1bitbwcopyimage{1 g 0 0 m 0 1 rl 1 0 rl 0 -1 rl cp fill0 g iw ih polarity[1 0 0 -1 0 ih]setupimageproc imagemask}d/1bitcopyimage{setrgbcolor0 0 m 0 1 rl 1 0 rl 0 -1 rl cp fillsetrgbcolor iw ih polarity[1 0 0 -1 0 ih]setupimageprocimagemask}d/1bitmaskimage{setrgbcoloriw ih polarity[1 0 0 -1 0 ih]setupimageprocimagemask}d} if/BeginEPSF{enduserdict begin/showpage{}def/b4 sv def/d_cnt countdictstack def/op_cnt count 1 sub def0 setgray 0 setlinecap 1 setlinewidth 0 setlinejoin10 setmiterlimit[]0 setdash newpath/languagelevel where{p languagelevel 1 ne{false setstrokeadjust false setoverprint}if}if}denduserdict begin/EndEPSF{count op_cnt sub{pop}repeatcountdictstack d_cnt sub{end}repeat b4 end restore wpdict begin}bind def end%%EndProlog /wb {wpdict begin} defwb/cml 1 def/we {icl end} dweuserdict /SVDoc known {/SVDoc save def matrix astore setmatrix}if/winmtx matrix currentmatrix def%%BeginResource: font MSTT31c3ec/GreNewFont{10 dict dup 3 1 roll def dup begin 6 1 roll/FontType 3def/FontMatrix exch def/FontBBox exch def/FontInfo 2 dict def FontInfo/UnderlinePosition 3 -1 roll put FontInfo/UnderlineThickness 3 -1roll put/Encoding 256 array def 0 1 255{Encoding exch/.notdef put}for/CharProcs 256 dict def CharProcs/.notdef{}put/Metrics 256 dict defMetrics/.notdef 3 -1 roll put/BuildChar{/char exch def/fontdict exchdef/charname fontdict/Encoding get char get def fontdict/Metrics getcharname get aload pop setcachedevice fontdict begin Encoding charget CharProcs exch get end exec}def end definefont pop}def/AddChar{beginEncoding 3 1 roll put CharProcs 3 1 roll put Metrics 3 1 roll put end}def/MSTT31c3ec [75.0 0 0 0 0 0] 53 -104 [-75.0 -75.0 75.0 75.0] [1 75 div 0 0 1 75 div 0 0] /MSTT31c3ec GreNewFont%%EndResource32 0 0 75 75 0 0 1 67 /MSTT31c3ec font%%BeginResource: font MSTT31c3ec/G52 [50.0 0.0 1.0 0.0 51.0 50.0]/G52 { 50 50 true [1 0 0 -1 -1.0 50.0] {<ffffffe00000000ffffffe00000003ff80ff80000003fe003fc0000001fc001ff0000001fc000ff0000001fc0007f8000001fc0003fc000001fc0003fc000001fc0003fe000001fc0001fe000001fc0001fe000001fc0001fe000001fc0001fe000001fc0001fe000001fc0001fe000001fc0001fc000001fc0003fc000001fc0003fc000001fc0007f8000001fc000ff0000001fc001fe0000001fc003fc0000001fc00ff00000001fc07fc00000001ffffe000000001fffff000000001fc0ff000000001fc07f800000001fc03fc00000001fc03fe00000001fc01fe00000001fc00ff00000001fc00ff80000001fc007fc0000001fc003fc0000001fc001fe0000001fc001ff0000001fc000ff0000001fc0007f8000001fc0003fc000001fc0003fe000001fc0001fe000001fc0000ff000001fc00007f800001fc00007fc00003fe00003fe00003fe00001ff8000fff80000ffe00fffff8000fffc0>} imagemask } 82 /G52 MSTT31c3ec AddChar/G44 [54.0 0.0 1.0 0.0 51.0 50.0]/G44 { 50 50 true [1 0 0 -1 -1.0 50.0] {<fffffff80000000fffffffc0000003ff803ff8000003fc0003fe000001fc0000ff800001fc00007fc00001fc00001fe00001fc00000ff00001fc000007f80001fc000007f80001fc000003fc0001fc000001fe0001fc000001fe0001fc000000ff0001fc000000ff0001fc0000007f8001fc0000007f8001fc0000007f8001fc0000007f8001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003fc001fc0000003f8001fc0000007f8001fc0000007f8001fc0000007f8001fc0000007f0001fc000000ff0001fc000000ff0001fc000001fe0001fc000001fc0001fc000003fc0001fc000007f80001fc000007f00001fc00000fe00001fc00001fc00001fc00007f800001fc0000ff000003fc0003fc000003ff801ff000000fffffff800000fffffff8000000>} imagemask } 68 /G44 MSTT31c3ec AddChar/G45 [46.0 0.0 1.0 0.0 44.0 50.0]/G45 { 43 50 true [1 0 0 -1 -1.0 50.0] {<fffffffffc0007fffffffc0003fc0000fc0003fc00003c0001fc00001c0001fc00000e0001fc00000e0001fc00000e0001fc00000e0001fc0000060001fc0000060001fc0000000001fc0000000001fc0000000001fc0000000001fc0000000001fc0000800001fc0000800001fc0000800001fc0001800001fc0001800001fc0003800001fc000f800001ffffff800001ffffff800001fc000f800001fc0003800001fc0001800001fc0001800001fc0000800001fc0000800001fc0000800001fc0000000001fc0000000001fc0000000001fc0000000001fc0000000001fc0000006001fc000000c001fc000000c001fc000001c001fc0000018001fc0000038001fc0000078001fc0000070001fc00000f0003fc00003f0003fe0000fe000ffffffffe00fffffffffe00>} imagemask } 69 /G45 MSTT31c3ec AddChar/G4d [67.0 0.0 1.0 0.0 66.0 50.0]/G4d { 65 50 true [1 0 0 -1 -1.0 50.0] {<fffc000000001fff800ffe000000001ff80007fe000000003fe00003ff000000003fe00001ff000000007fc00001ff000000007fc00001ff80000000ffc00001ff80000000ffc00001ffc0000001ffc00001dfc0000001dfc00001dfe0000001dfc00001cfe00000039fc00001cff00000039fc00001c7f00000071fc00001c7f80000071fc00001c3f800000e1fc00001c3fc00000e1fc00001c1fc00001c1fc00001c1fe00001c1fc00001c0fe0000381fc00001c0ff0000381fc00001c0ff0000781fc00001c07f8000701fc00001c07f8000f01fc00001c03fc000e01fc00001c03fc001e01fc00001c01fc001c01fc00001c01fe003c01fc00001c00fe003801fc00001c00ff003801fc00001c007f007001fc00001c007f807001fc00001c003f80e001fc00001c003fc0e001fc00001c001fc1c001fc00001c001fe1c001fc00001c000fe38001fc00001c000ff38001fc00001c0007f70001fc00001c0007ff0001fc00001c0007ff0001fc00001c0003fe0001fc00001c0003fe0001fc00001c0001fc0001fc00001c0001fc0001fc00001c0000f80001fc00003e0000f80003fe00003e0000700003fe0000ff800070000fff800ffff8002000fffff80>} imagemask } 77 /G4d MSTT31c3ec AddChar/G4f [54.0 0.0 3.0 -1.0 51.0 51.0]/G4f { 48 52 true [1 0 0 -1 -3.0 51.0] {<00001ff800000000ffff80000003f00fe000000f8001f000003f0000fc00007e00007e0000fc00003f0001f800001f8003f000000fc007e000000fe00fe0000007f00fc0000007f01fc0000003f81fc0000003f83f80000001fc3f80000001fc7f80000001fe7f80000001fe7f80000001fe7f00000000feff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000ffff00000000fe7f00000000fe7f80000000fe7f80000001fe7f80000001fc3f80000001fc3fc0000001fc1fc0000003f81fc0000003f80fe0000003f00fe0000007e007f0000007e003f000000fc001f800001f8000fc00003f00007e00007e00003f0000fc00001f8003f0000007f00fc0000001ffff000000001ff80000>} imagemask } 79 /G4f MSTT31c3ec AddChar/G20 [19.0 0.0 0.0 0.0 0.0 0.0]/G20 {} 32 /G20 MSTT31c3ec AddChar/G54 [45.0 0.0 2.0 0.0 44.0 50.0]/G54 { 42 50 true [1 0 0 -1 -2.0 50.0] {<7fffffffff807fffffffff807c007f001f8078007f00078070007f000380e0007f0001c0c0007f0000c0c0007f0000c0c0007f0000c0c0007f0000c080007f00004000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f00000000007f0000000000ff8000000000ff8000000003ffe00000003ffffe0000>} imagemask } 84 /G54 MSTT31c3ec AddChar/G65 [33.0 0.0 3.0 -1.0 31.0 35.0]/G65 { 28 36 true [1 0 0 -1 -3.0 35.0] {<001fe000007ffc0001c1fe0003807f0007003f800e001fc01c001fe03c000fe038000fe038000ff078000ff07ffffff07ffffff0f8000000f8000000f8000000f8000000f8000000fc000000fc000000fc000000fc000000fe000010fe0000307f0000307f8000607fc000603fe000e03ff001c01ffc07c00fffff8007ffff0003fffe0001fffc0000fff800001fc000>} imagemask } 101 /G65 MSTT31c3ec AddChar/G73 [29.0 0.0 4.0 -1.0 27.0 35.0]/G73 { 23 36 true [1 0 0 -1 -4.0 35.0] {<01fe0807fff81e03f83c00f8780078700038700038f00018f00018f80008fc0008fe00007f80007fe0003ff8001ffe000fff0003ffc001ffe0007ff0001ff80007fc0001fc0000fe00007e80007e80003ec0003ec0003ee0003cf0003cf80078fc00f0ff81e0ffff8083fe00>} imagemask } 115 /G73 MSTT31c3ec AddChar/G74 [21.0 0.0 0.0 -1.0 21.0 45.0]/G74 { 21 46 true [1 0 0 -1 0.0 45.0] {<00100000300000300000700000700000f00000f00001f00003f00007f0001ff0007ffff0fffff003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f00003f01803f83001fc7001ffe000ffc000ff80003e00>} imagemask } 116 /G74 MSTT31c3ec AddChar/G53 [42.0 0.0 5.0 -1.0 38.0 51.0]/G53 { 33 52 true [1 0 0 -1 -5.0 51.0] {<003fe0040000fffc040003f03f8c0007c007fc000f0001fc001f0000fc003e00007c007c00003c007c00003c007c00001c00fc00001c00fc00000c00fe00000c00fe00000c00ff00000400ff800004007fc00004007fe00000007ff80000003ffe0000001fff0000000fffc0000007fff0000003fffc000000fffe0000007fff8000001fffc0000007fff0000003fff8000000fffc0000003ffe0000000ffe00000007ff00000001ff00000000ff004000007f804000003f806000003f806000003f806000001f806000001f807000001f807000001f007800001f007800003e007c00003e007e00007c007f8000f8007fc001f00063f807e000403fff80004007fc0000>} imagemask } 83 /G53 MSTT31c3ec AddChar/G63 [33.0 0.0 3.0 -1.0 31.0 35.0]/G63 { 28 36 true [1 0 0 -1 -3.0 35.0] {<000ff000007ffc0000f07f0003c03f8007801fc00f001fc01f000fe01e000fe03e000fe03e0007e07c0003c07c0000007c000000fc000000fc000000fc000000fc000000fc000000fc000000fe000000fe000000fe000000ff0000107f0000307f0000307f8000607fc000603fe000c03ff001c01ffc0f800fffff8007ffff0003fffe0001fffc0000fff000001f8000>} imagemask } 99 /G63 MSTT31c3ec AddChar/G72 [25.0 0.0 1.0 0.0 25.0 35.0]/G72 { 24 35 true [1 0 0 -1 -1.0 35.0] {<00e07c03e0fe0fe1ff7fe3ffdfe7ff0fee7f07ec3e07f80e07f00007f00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007e00007f0000ff0001ffc00ffff00>} imagemask } 114 /G72 MSTT31c3ec AddChar/G69 [21.0 0.0 3.0 0.0 19.0 52.0]/G69 { 16 52 true [1 0 0 -1 -3.0 52.0] {<03c007e00ff00ff00ff00ff007e003c000000000000000000000000000000000000000e003e00fe07fe0dfe00fe007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e007e00ff01ff8ffff>} imagemask } 105 /G69 MSTT31c3ec AddChar/G70 [38.0 0.0 1.0 -16.0 35.0 35.0]/G70 { 34 51 true [1 0 0 -1 -1.0 35.0] {<00e01f800003e07fe0000fe1fff0007fe3fff800ffe7fffc000fef07fe0007ee01ff0007f800ff0007f0007f8007e0003f8007e0003f8007e0001f8007e0001fc007e0001fc007e0001fc007e0000fc007e0000fc007e0000fc007e0000fc007e0000fc007e0000fc007e0000fc007e0000f8007e0000f8007e0000f8007e0001f0007e0001f0007e0001f0007e0003e0007f0003c0007f0007c0007f800780007fc00f00007ff03e00007e7ff800007e1fe000007e000000007e000000007e000000007e000000007e000000007e000000007e000000007e000000007e000000007e000000007e000000007e00000000ff00000001ff8000000ffff000000>} imagemask } 112 /G70 MSTT31c3ec AddChar%%EndResource0 0 0 fC857 243 646 (RDEMO Test Scripts) 646 SB0 0 0 fC/fm 256 def645 2 857 313 B1 Fn%%BeginResource: font MSTT31c3f9/MSTT31c3f9 [50.0 0 0 0 0 0] 100 -100 [-50.0 -50.0 50.0 50.0] [1 50 div 0 0 1 50 div 0 0] /MSTT31c3f9 GreNewFont%%EndResource32 0 0 50 50 0 0 1 47 /MSTT31c3f9 font%%BeginResource: font MSTT31c3f9/G56 [33.0 0.0 0.0 0.0 33.0 36.0]/G56 { 33 36 true [1 0 0 -1 0.0 36.0] {<ff00007f807f00007f007f00007f007f00007f003f8000fe003f8000fe003f8000fe001fc001fc001fc001fc001fc001fc000fe003f8000fe003f8000fe003f80007f007f00007f007f00007f007f00003f80fe00003f80fe00003f80fe00001fc1fc00001fc1fc00001fc1fc00000fc1f800000fe3f800000fe3f8000007e3f0000007f7f0000007f7f0000003f7e0000003ffe0000003ffe0000001ffc0000001ffc0000001ffc0000000ff80000000ff80000>} imagemask } 86 /G56 MSTT31c3f9 AddChar/G65 [28.0 0.0 2.0 0.0 26.0 27.0]/G65 { 24 27 true [1 0 0 -1 -2.0 27.0] {<00ff0003ffc007fff01ffff81ffff83fc3fc7f81fe7f00fe7e007efe007ffe007ffffffffffffffffffffffffffe0000fe0000fe00007f00787f00ff7f80fe3fc1fe1ffffc1ffff80ffff003ffe0007f80>} imagemask } 101 /G65 MSTT31c3f9 AddChar/G72 [19.0 0.0 3.0 0.0 20.0 27.0]/G72 { 17 27 true [1 0 0 -1 -3.0 27.0] {<003e00fc7f80fcff80fdff00ffff00ffff00ffc000ff8000ff0000ff0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000fe0000>} imagemask } 114 /G72 MSTT31c3f9 AddChar/G73 [28.0 0.0 1.0 0.0 26.0 27.0]/G73 { 25 27 true [1 0 0 -1 -1.0 27.0] {<00ff800007fff0000ffff8001ffffc003ffffe007f81fe007f00ff007f0078007f8000007ff000003fff00003fffe0001ffffc000ffffe0003ffff00007fff000007ff8000007f801e003f80ff003f807f003f807fc0ff003fffff001ffffe000ffffc0007fff00000ffc000>} imagemask } 115 /G73 MSTT31c3f9 AddChar/G69 [14.0 0.0 3.0 0.0 10.0 36.0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -