| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492 | 
							- (function(win) {
 
- 	var CLODOP = {
 
- 		strWebPageID: "C21AAAH",
 
- 		strTaskID: "",
 
- 		strHostURI: "http://192.168.1.41:8000",
 
- 		VERSION: "6.5.7.1",
 
- 		IVERSION: "6571",
 
- 		CVERSION: "6.5.7.1",
 
- 		HTTPS_STATUS: 0,
 
- 		VERSION_EXT: true,
 
- 		iBaseTask: 0,
 
- 		timeThreshold: 5,
 
- 		Priority: 0,
 
- 		blIslocal: true,
 
- 		Iframes: [],
 
- 		ItemDatas: {},
 
- 		PageData: {},
 
- 		defStyleJson: {},
 
- 		PageDataEx: {},
 
- 		ItemCNameStyles: {},
 
- 		blWorking: false,
 
- 		blNormalItemAdded: false,
 
- 		blTmpSelectedIndex: null,
 
- 		Caption: null,
 
- 		Color: null,
 
- 		CompanyName: null,
 
- 		strBroadcastMS: null,
 
- 		Border: null,
 
- 		Inbrowse: null,
 
- 		webskt: null,
 
- 		SocketEnable: false,
 
- 		SocketOpened: false,
 
- 		NoClearAfterPrint: false,
 
- 		On_Return_Remain: false,
 
- 		On_Broadcast_Remain: false,
 
- 		On_Return: null,
 
- 		Result: null,
 
- 		OBO_Mode: 1,
 
- 		blOneByone: false,
 
- 		DelimChar: "\f\f",
 
- 		Printers: {
 
- 			"default": "5",
 
- 			"list": [{
 
- 				"name": "导出为WPS PDF",
 
- 				"DriverName": "Kingsoft Virtual Printer Driver",
 
- 				"PortName": "Kingsoft Virtual Printer Port",
 
- 				"Orientation": "1",
 
- 				"PaperSize": "9",
 
- 				"PaperLength": "2970",
 
- 				"PaperWidth": "2100",
 
- 				"Copies": "1",
 
- 				"DefaultSource": "1",
 
- 				"PrintQuality": "600",
 
- 				"Color": "2",
 
- 				"Duplex": "1",
 
- 				"FormName": "A4",
 
- 				"Comment": "",
 
- 				"DriverVersion": "20481",
 
- 				"DCOrientation": "90",
 
- 				"MaxExtentWidth": "65535",
 
- 				"MaxExtentLength": "65535",
 
- 				"MinExtentWidth": "10",
 
- 				"MinExtentlength": "10",
 
- 				"pagelist": [{
 
- 					"name": "信纸"
 
- 				}, {
 
- 					"name": "小号信纸"
 
- 				}, {
 
- 					"name": "Tabloid"
 
- 				}, {
 
- 					"name": "Ledger"
 
- 				}, {
 
- 					"name": "法律专用纸"
 
- 				}, {
 
- 					"name": "Statement"
 
- 				}, {
 
- 					"name": "Executive"
 
- 				}, {
 
- 					"name": "A3"
 
- 				}, {
 
- 					"name": "A4"
 
- 				}, {
 
- 					"name": "A4 小号"
 
- 				}, {
 
- 					"name": "A5"
 
- 				}, {
 
- 					"name": "B4 (JIS)"
 
- 				}, {
 
- 					"name": "B5 (JIS)"
 
- 				}, {
 
- 					"name": "Folio"
 
- 				}, {
 
- 					"name": "Quarto"
 
- 				}, {
 
- 					"name": "10x14"
 
- 				}, {
 
- 					"name": "11x17"
 
- 				}, {
 
- 					"name": "便笺"
 
- 				}, {
 
- 					"name": "信封 #9"
 
- 				}, {
 
- 					"name": "信封 #10"
 
- 				}, {
 
- 					"name": "信封 #11"
 
- 				}, {
 
- 					"name": "信封 #12"
 
- 				}, {
 
- 					"name": "信封 #14"
 
- 				}, {
 
- 					"name": "C size sheet"
 
- 				}, {
 
- 					"name": "D size sheet"
 
- 				}, {
 
- 					"name": "E size sheet"
 
- 				}, {
 
- 					"name": "信封 DL"
 
- 				}, {
 
- 					"name": "信封 C5"
 
- 				}, {
 
- 					"name": "信封 C3"
 
- 				}, {
 
- 					"name": "信封 C4"
 
- 				}, {
 
- 					"name": "信封 C6"
 
- 				}, {
 
- 					"name": "信封 C65"
 
- 				}, {
 
- 					"name": "信封 B4"
 
- 				}, {
 
- 					"name": "信封 B5"
 
- 				}, {
 
- 					"name": "信封 B6"
 
- 				}, {
 
- 					"name": "信封"
 
- 				}, {
 
- 					"name": "信封 Monarch"
 
- 				}, {
 
- 					"name": "6 3/4 信封"
 
- 				}, {
 
- 					"name": "美国标准 Fanfold"
 
- 				}, {
 
- 					"name": "德国标准 Fanfold"
 
- 				}, {
 
- 					"name": "德国法律专用纸 Fanfold"
 
- 				}, {
 
- 					"name": "B4 (ISO)"
 
- 				}, {
 
- 					"name": "日式明信片"
 
- 				}, {
 
- 					"name": "9x11"
 
- 				}, {
 
- 					"name": "10x11"
 
- 				}, {
 
- 					"name": "15x11"
 
- 				}, {
 
- 					"name": "信封邀请函"
 
- 				}, {
 
- 					"name": "特大信纸"
 
- 				}, {
 
- 					"name": "特大法律专用纸"
 
- 				}, {
 
- 					"name": "Tabloid 特大"
 
- 				}, {
 
- 					"name": "A4 特大"
 
- 				}, {
 
- 					"name": "信纸横向"
 
- 				}, {
 
- 					"name": "A4 横向"
 
- 				}, {
 
- 					"name": "特大信纸横向"
 
- 				}, {
 
- 					"name": "Super A"
 
- 				}, {
 
- 					"name": "Super B"
 
- 				}, {
 
- 					"name": "信纸加大"
 
- 				}, {
 
- 					"name": "A4 加大"
 
- 				}, {
 
- 					"name": "A5 横向"
 
- 				}, {
 
- 					"name": "B5 (JIS) 横向"
 
- 				}, {
 
- 					"name": "A3 特大"
 
- 				}, {
 
- 					"name": "A5 特大"
 
- 				}, {
 
- 					"name": "B5 (ISO) 特大"
 
- 				}, {
 
- 					"name": "A2"
 
- 				}, {
 
- 					"name": "A3 横向"
 
- 				}, {
 
- 					"name": "A3 特大横向"
 
- 				}, {
 
- 					"name": "日式往返明信片"
 
- 				}, {
 
- 					"name": "A6"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #2"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #3"
 
- 				}, {
 
- 					"name": "日式信封 Chou #3"
 
- 				}, {
 
- 					"name": "日式信封 Chou #4"
 
- 				}, {
 
- 					"name": "信纸旋转"
 
- 				}, {
 
- 					"name": "A3 旋转"
 
- 				}, {
 
- 					"name": "A4 旋转"
 
- 				}, {
 
- 					"name": "A5 旋转"
 
- 				}, {
 
- 					"name": "B4 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "B5 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "日式明信片旋转"
 
- 				}, {
 
- 					"name": "双层日式明信片旋转"
 
- 				}, {
 
- 					"name": "A6 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #2 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #3 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Chou #3 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Chou #4 旋转"
 
- 				}, {
 
- 					"name": "B6 (JIS)"
 
- 				}, {
 
- 					"name": "B6 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "12x11"
 
- 				}, {
 
- 					"name": "日式信封 You #4"
 
- 				}, {
 
- 					"name": "日式信封 You #4 旋转"
 
- 				}, {
 
- 					"name": "PRC 16K"
 
- 				}, {
 
- 					"name": "PRC 32K"
 
- 				}, {
 
- 					"name": "PRC 32K(Big)"
 
- 				}, {
 
- 					"name": "PRC 信封 #1"
 
- 				}, {
 
- 					"name": "PRC 信封 #2"
 
- 				}, {
 
- 					"name": "PRC 信封 #3"
 
- 				}, {
 
- 					"name": "PRC 信封 #4"
 
- 				}, {
 
- 					"name": "PRC 信封 #5"
 
- 				}, {
 
- 					"name": "PRC 信封 #6"
 
- 				}, {
 
- 					"name": "PRC 信封 #7"
 
- 				}, {
 
- 					"name": "PRC 信封 #8"
 
- 				}, {
 
- 					"name": "PRC 信封 #9"
 
- 				}, {
 
- 					"name": "PRC 信封 #10"
 
- 				}, {
 
- 					"name": "PRC 16K 旋转"
 
- 				}, {
 
- 					"name": "PRC 32K 旋转"
 
- 				}, {
 
- 					"name": "PRC 32K(大)旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #1 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #2 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #3 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #4 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #5 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #6 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #7 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #8 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #9 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #10 旋转"
 
- 				}],
 
- 				"subdevlist": []
 
- 			}, {
 
- 				"name": "OneNote (Desktop)",
 
- 				"DriverName": "Send to Microsoft OneNote 16 Driver",
 
- 				"PortName": "nul:",
 
- 				"Orientation": "1",
 
- 				"PaperSize": "9",
 
- 				"PaperLength": "2970",
 
- 				"PaperWidth": "2100",
 
- 				"Copies": "1",
 
- 				"DefaultSource": "15",
 
- 				"PrintQuality": "600",
 
- 				"Color": "2",
 
- 				"Duplex": "1",
 
- 				"FormName": "A4",
 
- 				"Comment": "",
 
- 				"DriverVersion": "1539",
 
- 				"DCOrientation": "270",
 
- 				"MaxExtentWidth": "2970",
 
- 				"MaxExtentLength": "4318",
 
- 				"MinExtentWidth": "984",
 
- 				"MinExtentlength": "1905",
 
- 				"pagelist": [{
 
- 					"name": "信纸"
 
- 				}, {
 
- 					"name": "Tabloid"
 
- 				}, {
 
- 					"name": "法律专用纸"
 
- 				}, {
 
- 					"name": "Executive"
 
- 				}, {
 
- 					"name": "A3"
 
- 				}, {
 
- 					"name": "A4"
 
- 				}, {
 
- 					"name": "B4 (JIS)"
 
- 				}, {
 
- 					"name": "B5 (JIS)"
 
- 				}, {
 
- 					"name": "信封 #10"
 
- 				}, {
 
- 					"name": "信封 Monarch"
 
- 				}],
 
- 				"subdevlist": []
 
- 			}, {
 
- 				"name": "Microsoft XPS Document Writer",
 
- 				"DriverName": "Microsoft XPS Document Writer v4",
 
- 				"PortName": "PORTPROMPT:",
 
- 				"Orientation": "1",
 
- 				"PaperSize": "9",
 
- 				"PaperLength": "2970",
 
- 				"PaperWidth": "2100",
 
- 				"Copies": "1",
 
- 				"DefaultSource": "15",
 
- 				"PrintQuality": "600",
 
- 				"Color": "2",
 
- 				"Duplex": "1",
 
- 				"FormName": "A4",
 
- 				"Comment": "",
 
- 				"DriverVersion": "1539",
 
- 				"DCOrientation": "270",
 
- 				"MaxExtentWidth": "8636",
 
- 				"MaxExtentLength": "11176",
 
- 				"MinExtentWidth": "900",
 
- 				"MinExtentlength": "900",
 
- 				"pagelist": [{
 
- 					"name": "信纸"
 
- 				}, {
 
- 					"name": "小号信纸"
 
- 				}, {
 
- 					"name": "Tabloid"
 
- 				}, {
 
- 					"name": "Ledger"
 
- 				}, {
 
- 					"name": "法律专用纸"
 
- 				}, {
 
- 					"name": "Statement"
 
- 				}, {
 
- 					"name": "Executive"
 
- 				}, {
 
- 					"name": "A3"
 
- 				}, {
 
- 					"name": "A4"
 
- 				}, {
 
- 					"name": "A4 小号"
 
- 				}, {
 
- 					"name": "A5"
 
- 				}, {
 
- 					"name": "B4 (JIS)"
 
- 				}, {
 
- 					"name": "B5 (JIS)"
 
- 				}, {
 
- 					"name": "Folio"
 
- 				}, {
 
- 					"name": "Quarto"
 
- 				}, {
 
- 					"name": "10x14"
 
- 				}, {
 
- 					"name": "11x17"
 
- 				}, {
 
- 					"name": "便笺"
 
- 				}, {
 
- 					"name": "信封 #9"
 
- 				}, {
 
- 					"name": "信封 #10"
 
- 				}, {
 
- 					"name": "信封 #11"
 
- 				}, {
 
- 					"name": "信封 #12"
 
- 				}, {
 
- 					"name": "信封 #14"
 
- 				}, {
 
- 					"name": "C size sheet"
 
- 				}, {
 
- 					"name": "D size sheet"
 
- 				}, {
 
- 					"name": "E size sheet"
 
- 				}, {
 
- 					"name": "信封 DL"
 
- 				}, {
 
- 					"name": "信封 C5"
 
- 				}, {
 
- 					"name": "信封 C3"
 
- 				}, {
 
- 					"name": "信封 C4"
 
- 				}, {
 
- 					"name": "信封 C6"
 
- 				}, {
 
- 					"name": "信封 C65"
 
- 				}, {
 
- 					"name": "信封 B4"
 
- 				}, {
 
- 					"name": "信封 B5"
 
- 				}, {
 
- 					"name": "信封 B6"
 
- 				}, {
 
- 					"name": "信封"
 
- 				}, {
 
- 					"name": "信封 Monarch"
 
- 				}, {
 
- 					"name": "6 3/4 信封"
 
- 				}, {
 
- 					"name": "美国标准 Fanfold"
 
- 				}, {
 
- 					"name": "德国标准 Fanfold"
 
- 				}, {
 
- 					"name": "德国法律专用纸 Fanfold"
 
- 				}, {
 
- 					"name": "B4 (ISO)"
 
- 				}, {
 
- 					"name": "日式明信片"
 
- 				}, {
 
- 					"name": "9x11"
 
- 				}, {
 
- 					"name": "10x11"
 
- 				}, {
 
- 					"name": "15x11"
 
- 				}, {
 
- 					"name": "信封邀请函"
 
- 				}, {
 
- 					"name": "特大信纸"
 
- 				}, {
 
- 					"name": "特大法律专用纸"
 
- 				}, {
 
- 					"name": "A4 特大"
 
- 				}, {
 
- 					"name": "信纸横向"
 
- 				}, {
 
- 					"name": "A4 横向"
 
- 				}, {
 
- 					"name": "特大信纸横向"
 
- 				}, {
 
- 					"name": "Super A"
 
- 				}, {
 
- 					"name": "Super B"
 
- 				}, {
 
- 					"name": "信纸加大"
 
- 				}, {
 
- 					"name": "A4 加大"
 
- 				}, {
 
- 					"name": "A5 横向"
 
- 				}, {
 
- 					"name": "B5 (JIS) 横向"
 
- 				}, {
 
- 					"name": "A3 特大"
 
- 				}, {
 
- 					"name": "A5 特大"
 
- 				}, {
 
- 					"name": "B5 (ISO) 特大"
 
- 				}, {
 
- 					"name": "A2"
 
- 				}, {
 
- 					"name": "A3 横向"
 
- 				}, {
 
- 					"name": "A3 特大横向"
 
- 				}, {
 
- 					"name": "日式往返明信片"
 
- 				}, {
 
- 					"name": "A6"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #2"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #3"
 
- 				}, {
 
- 					"name": "日式信封 Chou #3"
 
- 				}, {
 
- 					"name": "日式信封 Chou #4"
 
- 				}, {
 
- 					"name": "信纸旋转"
 
- 				}, {
 
- 					"name": "A3 旋转"
 
- 				}, {
 
- 					"name": "A4 旋转"
 
- 				}, {
 
- 					"name": "A5 旋转"
 
- 				}, {
 
- 					"name": "B4 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "B5 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "日式明信片旋转"
 
- 				}, {
 
- 					"name": "双层日式明信片旋转"
 
- 				}, {
 
- 					"name": "A6 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #2 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #3 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Chou #3 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Chou #4 旋转"
 
- 				}, {
 
- 					"name": "B6 (JIS)"
 
- 				}, {
 
- 					"name": "B6 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "12x11"
 
- 				}, {
 
- 					"name": "日式信封 You #4"
 
- 				}, {
 
- 					"name": "日式信封 You #4 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #1"
 
- 				}, {
 
- 					"name": "PRC 信封 #3"
 
- 				}, {
 
- 					"name": "PRC 信封 #4"
 
- 				}, {
 
- 					"name": "PRC 信封 #5"
 
- 				}, {
 
- 					"name": "PRC 信封 #6"
 
- 				}, {
 
- 					"name": "PRC 信封 #7"
 
- 				}, {
 
- 					"name": "PRC 信封 #8"
 
- 				}, {
 
- 					"name": "PRC 信封 #9"
 
- 				}, {
 
- 					"name": "PRC 信封 #10"
 
- 				}, {
 
- 					"name": "PRC 信封 #1 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #3 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #4 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #5 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #6 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #7 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #8 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #9 旋转"
 
- 				}, {
 
- 					"name": "用户定义大小"
 
- 				}],
 
- 				"subdevlist": []
 
- 			}, {
 
- 				"name": "Microsoft Print to PDF",
 
- 				"DriverName": "Microsoft Print To PDF",
 
- 				"PortName": "PORTPROMPT:",
 
- 				"Orientation": "1",
 
- 				"PaperSize": "9",
 
- 				"PaperLength": "2970",
 
- 				"PaperWidth": "2100",
 
- 				"Copies": "1",
 
- 				"DefaultSource": "15",
 
- 				"PrintQuality": "600",
 
- 				"Color": "2",
 
- 				"Duplex": "1",
 
- 				"FormName": "A4",
 
- 				"Comment": "",
 
- 				"DriverVersion": "1539",
 
- 				"DCOrientation": "90",
 
- 				"MaxExtentWidth": "2970",
 
- 				"MaxExtentLength": "4318",
 
- 				"MinExtentWidth": "1397",
 
- 				"MinExtentlength": "2100",
 
- 				"pagelist": [{
 
- 					"name": "信纸"
 
- 				}, {
 
- 					"name": "Tabloid"
 
- 				}, {
 
- 					"name": "法律专用纸"
 
- 				}, {
 
- 					"name": "Statement"
 
- 				}, {
 
- 					"name": "Executive"
 
- 				}, {
 
- 					"name": "A3"
 
- 				}, {
 
- 					"name": "A4"
 
- 				}, {
 
- 					"name": "A5"
 
- 				}, {
 
- 					"name": "B4 (JIS)"
 
- 				}, {
 
- 					"name": "B5 (JIS)"
 
- 				}],
 
- 				"subdevlist": []
 
- 			}, {
 
- 				"name": "Fax",
 
- 				"DriverName": "Microsoft Shared Fax Driver",
 
- 				"PortName": "SHRFAX:",
 
- 				"Orientation": "1",
 
- 				"PaperSize": "9",
 
- 				"PaperLength": "0",
 
- 				"PaperWidth": "0",
 
- 				"Copies": "1",
 
- 				"DefaultSource": "1",
 
- 				"PrintQuality": "200",
 
- 				"Color": "1",
 
- 				"Duplex": "1",
 
- 				"FormName": "A4",
 
- 				"Comment": "",
 
- 				"DriverVersion": "1024",
 
- 				"DCOrientation": "90",
 
- 				"MaxExtentWidth": "2160",
 
- 				"MaxExtentLength": "3556",
 
- 				"MinExtentWidth": "0",
 
- 				"MinExtentlength": "0",
 
- 				"pagelist": [{
 
- 					"name": "信纸"
 
- 				}, {
 
- 					"name": "小号信纸"
 
- 				}, {
 
- 					"name": "法律专用纸"
 
- 				}, {
 
- 					"name": "Statement"
 
- 				}, {
 
- 					"name": "Executive"
 
- 				}, {
 
- 					"name": "A4"
 
- 				}, {
 
- 					"name": "A4 小号"
 
- 				}, {
 
- 					"name": "A5"
 
- 				}, {
 
- 					"name": "B5 (JIS)"
 
- 				}, {
 
- 					"name": "Folio"
 
- 				}, {
 
- 					"name": "Quarto"
 
- 				}, {
 
- 					"name": "便笺"
 
- 				}, {
 
- 					"name": "信封 #9"
 
- 				}, {
 
- 					"name": "信封 #10"
 
- 				}, {
 
- 					"name": "信封 #11"
 
- 				}, {
 
- 					"name": "信封 #12"
 
- 				}, {
 
- 					"name": "信封 #14"
 
- 				}, {
 
- 					"name": "信封 DL"
 
- 				}, {
 
- 					"name": "信封 C5"
 
- 				}, {
 
- 					"name": "信封 C6"
 
- 				}, {
 
- 					"name": "信封 C65"
 
- 				}, {
 
- 					"name": "信封 B5"
 
- 				}, {
 
- 					"name": "信封 B6"
 
- 				}, {
 
- 					"name": "信封"
 
- 				}, {
 
- 					"name": "信封 Monarch"
 
- 				}, {
 
- 					"name": "6 3/4 信封"
 
- 				}, {
 
- 					"name": "德国标准 Fanfold"
 
- 				}, {
 
- 					"name": "德国法律专用纸 Fanfold"
 
- 				}, {
 
- 					"name": "日式明信片"
 
- 				}, {
 
- 					"name": "Reserved48"
 
- 				}, {
 
- 					"name": "Reserved49"
 
- 				}, {
 
- 					"name": "信纸横向"
 
- 				}, {
 
- 					"name": "A4 横向"
 
- 				}, {
 
- 					"name": "信纸加大"
 
- 				}, {
 
- 					"name": "A4 加大"
 
- 				}, {
 
- 					"name": "A5 横向"
 
- 				}, {
 
- 					"name": "B5 (JIS) 横向"
 
- 				}, {
 
- 					"name": "A5 特大"
 
- 				}, {
 
- 					"name": "B5 (ISO) 特大"
 
- 				}, {
 
- 					"name": "日式往返明信片"
 
- 				}, {
 
- 					"name": "A6"
 
- 				}, {
 
- 					"name": "日式信封 Kaku #3"
 
- 				}, {
 
- 					"name": "日式信封 Chou #3"
 
- 				}, {
 
- 					"name": "日式信封 Chou #4"
 
- 				}, {
 
- 					"name": "A5 旋转"
 
- 				}, {
 
- 					"name": "日式明信片旋转"
 
- 				}, {
 
- 					"name": "双层日式明信片旋转"
 
- 				}, {
 
- 					"name": "A6 旋转"
 
- 				}, {
 
- 					"name": "日式信封 Chou #4 旋转"
 
- 				}, {
 
- 					"name": "B6 (JIS)"
 
- 				}, {
 
- 					"name": "B6 (JIS) 旋转"
 
- 				}, {
 
- 					"name": "日式信封 You #4"
 
- 				}, {
 
- 					"name": "PRC 16K"
 
- 				}, {
 
- 					"name": "PRC 32K"
 
- 				}, {
 
- 					"name": "PRC 32K(Big)"
 
- 				}, {
 
- 					"name": "PRC 信封 #1"
 
- 				}, {
 
- 					"name": "PRC 信封 #2"
 
- 				}, {
 
- 					"name": "PRC 信封 #3"
 
- 				}, {
 
- 					"name": "PRC 信封 #4"
 
- 				}, {
 
- 					"name": "PRC 信封 #5"
 
- 				}, {
 
- 					"name": "PRC 信封 #6"
 
- 				}, {
 
- 					"name": "PRC 信封 #7"
 
- 				}, {
 
- 					"name": "PRC 信封 #8"
 
- 				}, {
 
- 					"name": "PRC 32K 旋转"
 
- 				}, {
 
- 					"name": "PRC 32K(大)旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #1 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #2 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #3 旋转"
 
- 				}, {
 
- 					"name": "PRC 信封 #4 旋转"
 
- 				}, {
 
- 					"name": "North America 5x 8"
 
- 				}, {
 
- 					"name": "North America 4x 6"
 
- 				}, {
 
- 					"name": "North America 5x 7"
 
- 				}, {
 
- 					"name": "English Photo L"
 
- 				}, {
 
- 					"name": "North America 8x 10"
 
- 				}],
 
- 				"subdevlist": []
 
- 			}, {
 
- 				"name": "EPSONAB8583 (L4260 Series)",
 
- 				"DriverName": "Microsoft IPP Class Driver",
 
- 				"PortName": "WSD-a9d5e3c4-ae3d-4690-b036-906b8b07ec46",
 
- 				"Orientation": "1",
 
- 				"PaperSize": "9",
 
- 				"PaperLength": "2970",
 
- 				"PaperWidth": "2100",
 
- 				"Copies": "1",
 
- 				"DefaultSource": "15",
 
- 				"PrintQuality": "360",
 
- 				"Color": "2",
 
- 				"Duplex": "1",
 
- 				"FormName": "A4",
 
- 				"Comment": "",
 
- 				"DriverVersion": "1539",
 
- 				"DCOrientation": "90",
 
- 				"MaxExtentWidth": "2159",
 
- 				"MaxExtentLength": "3556",
 
- 				"MinExtentWidth": "889",
 
- 				"MinExtentlength": "1270",
 
- 				"pagelist": [{
 
- 					"name": "信纸"
 
- 				}, {
 
- 					"name": "法律专用纸"
 
- 				}, {
 
- 					"name": "A4"
 
- 				}, {
 
- 					"name": "A5"
 
- 				}, {
 
- 					"name": "B5 (JIS)"
 
- 				}, {
 
- 					"name": "信封 #10"
 
- 				}, {
 
- 					"name": "信封 DL"
 
- 				}, {
 
- 					"name": "日式明信片"
 
- 				}, {
 
- 					"name": "A6"
 
- 				}, {
 
- 					"name": "North America 5x 8"
 
- 				}, {
 
- 					"name": "North America 4x 6"
 
- 				}, {
 
- 					"name": "North America 5x 7"
 
- 				}, {
 
- 					"name": "English Photo L"
 
- 				}, {
 
- 					"name": "North America 8x 10"
 
- 				}],
 
- 				"subdevlist": []
 
- 			}, {
 
- 				"name": "(AO)Client-Bridge Driver",
 
- 				"DriverName": "",
 
- 				"PortName": "",
 
- 				"Orientation": "",
 
- 				"PaperSize": "",
 
- 				"PaperLength": "",
 
- 				"PaperWidth": "",
 
- 				"Copies": "",
 
- 				"DefaultSource": "",
 
- 				"PrintQuality": "",
 
- 				"Color": "",
 
- 				"Duplex": "",
 
- 				"FormName": "",
 
- 				"Comment": "",
 
- 				"DriverVersion": "",
 
- 				"DCOrientation": "",
 
- 				"MaxExtentWidth": "",
 
- 				"MaxExtentLength": "",
 
- 				"MinExtentWidth": "",
 
- 				"MinExtentlength": "",
 
- 				"pagelist": [],
 
- 				"subdevlist": [{
 
- 					"name": "HEXIN",
 
- 					"id": "C7253561256",
 
- 					"ssbprinter": {
 
- 						"default": "5",
 
- 						"list": [{
 
- 							"name": "导出为WPS PDF",
 
- 							"DriverName": "Kingsoft Virtual Printer Driver",
 
- 							"PortName": "Kingsoft Virtual Printer Port",
 
- 							"Orientation": "0",
 
- 							"PaperSize": "9",
 
- 							"PaperLength": "2970",
 
- 							"PaperWidth": "2100",
 
- 							"Copies": "1",
 
- 							"DefaultSource": "1",
 
- 							"PrintQuality": "600",
 
- 							"Color": "2",
 
- 							"Duplex": "1",
 
- 							"FormName": "A4",
 
- 							"Comment": "",
 
- 							"DriverVersion": "20481",
 
- 							"DCOrientation": "90",
 
- 							"MaxExtentWidth": "65535",
 
- 							"MaxExtentLength": "65535",
 
- 							"MinExtentWidth": "10",
 
- 							"MinExtentlength": "10",
 
- 							"pagelist": [{
 
- 								"name": "信纸"
 
- 							}, {
 
- 								"name": "小号信纸"
 
- 							}, {
 
- 								"name": "Tabloid"
 
- 							}, {
 
- 								"name": "Ledger"
 
- 							}, {
 
- 								"name": "法律专用纸"
 
- 							}, {
 
- 								"name": "Statement"
 
- 							}, {
 
- 								"name": "Executive"
 
- 							}, {
 
- 								"name": "A3"
 
- 							}, {
 
- 								"name": "A4"
 
- 							}, {
 
- 								"name": "A4 小号"
 
- 							}, {
 
- 								"name": "A5"
 
- 							}, {
 
- 								"name": "B4 (JIS)"
 
- 							}, {
 
- 								"name": "B5 (JIS)"
 
- 							}, {
 
- 								"name": "Folio"
 
- 							}, {
 
- 								"name": "Quarto"
 
- 							}, {
 
- 								"name": "10x14"
 
- 							}, {
 
- 								"name": "11x17"
 
- 							}, {
 
- 								"name": "便笺"
 
- 							}, {
 
- 								"name": "信封 #9"
 
- 							}, {
 
- 								"name": "信封 #10"
 
- 							}, {
 
- 								"name": "信封 #11"
 
- 							}, {
 
- 								"name": "信封 #12"
 
- 							}, {
 
- 								"name": "信封 #14"
 
- 							}, {
 
- 								"name": "C size sheet"
 
- 							}, {
 
- 								"name": "D size sheet"
 
- 							}, {
 
- 								"name": "E size sheet"
 
- 							}, {
 
- 								"name": "信封 DL"
 
- 							}, {
 
- 								"name": "信封 C5"
 
- 							}, {
 
- 								"name": "信封 C3"
 
- 							}, {
 
- 								"name": "信封 C4"
 
- 							}, {
 
- 								"name": "信封 C6"
 
- 							}, {
 
- 								"name": "信封 C65"
 
- 							}, {
 
- 								"name": "信封 B4"
 
- 							}, {
 
- 								"name": "信封 B5"
 
- 							}, {
 
- 								"name": "信封 B6"
 
- 							}, {
 
- 								"name": "信封"
 
- 							}, {
 
- 								"name": "信封 Monarch"
 
- 							}, {
 
- 								"name": "6 3/4 信封"
 
- 							}, {
 
- 								"name": "美国标准 Fanfold"
 
- 							}, {
 
- 								"name": "德国标准 Fanfold"
 
- 							}, {
 
- 								"name": "德国法律专用纸 Fanfold"
 
- 							}, {
 
- 								"name": "B4 (ISO)"
 
- 							}, {
 
- 								"name": "日式明信片"
 
- 							}, {
 
- 								"name": "9x11"
 
- 							}, {
 
- 								"name": "10x11"
 
- 							}, {
 
- 								"name": "15x11"
 
- 							}, {
 
- 								"name": "信封邀请函"
 
- 							}, {
 
- 								"name": "特大信纸"
 
- 							}, {
 
- 								"name": "特大法律专用纸"
 
- 							}, {
 
- 								"name": "Tabloid 特大"
 
- 							}, {
 
- 								"name": "A4 特大"
 
- 							}, {
 
- 								"name": "信纸横向"
 
- 							}, {
 
- 								"name": "A4 横向"
 
- 							}, {
 
- 								"name": "特大信纸横向"
 
- 							}, {
 
- 								"name": "Super A"
 
- 							}, {
 
- 								"name": "Super B"
 
- 							}, {
 
- 								"name": "信纸加大"
 
- 							}, {
 
- 								"name": "A4 加大"
 
- 							}, {
 
- 								"name": "A5 横向"
 
- 							}, {
 
- 								"name": "B5 (JIS) 横向"
 
- 							}, {
 
- 								"name": "A3 特大"
 
- 							}, {
 
- 								"name": "A5 特大"
 
- 							}, {
 
- 								"name": "B5 (ISO) 特大"
 
- 							}, {
 
- 								"name": "A2"
 
- 							}, {
 
- 								"name": "A3 横向"
 
- 							}, {
 
- 								"name": "A3 特大横向"
 
- 							}, {
 
- 								"name": "日式往返明信片"
 
- 							}, {
 
- 								"name": "A6"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #2"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #3"
 
- 							}, {
 
- 								"name": "日式信封 Chou #3"
 
- 							}, {
 
- 								"name": "日式信封 Chou #4"
 
- 							}, {
 
- 								"name": "信纸旋转"
 
- 							}, {
 
- 								"name": "A3 旋转"
 
- 							}, {
 
- 								"name": "A4 旋转"
 
- 							}, {
 
- 								"name": "A5 旋转"
 
- 							}, {
 
- 								"name": "B4 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "B5 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "日式明信片旋转"
 
- 							}, {
 
- 								"name": "双层日式明信片旋转"
 
- 							}, {
 
- 								"name": "A6 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #2 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #3 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Chou #3 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Chou #4 旋转"
 
- 							}, {
 
- 								"name": "B6 (JIS)"
 
- 							}, {
 
- 								"name": "B6 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "12x11"
 
- 							}, {
 
- 								"name": "日式信封 You #4"
 
- 							}, {
 
- 								"name": "日式信封 You #4 旋转"
 
- 							}, {
 
- 								"name": "PRC 16K"
 
- 							}, {
 
- 								"name": "PRC 32K"
 
- 							}, {
 
- 								"name": "PRC 32K(Big)"
 
- 							}, {
 
- 								"name": "PRC 信封 #1"
 
- 							}, {
 
- 								"name": "PRC 信封 #2"
 
- 							}, {
 
- 								"name": "PRC 信封 #3"
 
- 							}, {
 
- 								"name": "PRC 信封 #4"
 
- 							}, {
 
- 								"name": "PRC 信封 #5"
 
- 							}, {
 
- 								"name": "PRC 信封 #6"
 
- 							}, {
 
- 								"name": "PRC 信封 #7"
 
- 							}, {
 
- 								"name": "PRC 信封 #8"
 
- 							}, {
 
- 								"name": "PRC 信封 #9"
 
- 							}, {
 
- 								"name": "PRC 信封 #10"
 
- 							}, {
 
- 								"name": "PRC 16K 旋转"
 
- 							}, {
 
- 								"name": "PRC 32K 旋转"
 
- 							}, {
 
- 								"name": "PRC 32K(大)旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #1 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #2 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #3 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #4 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #5 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #6 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #7 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #8 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #9 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #10 旋转"
 
- 							}]
 
- 						}, {
 
- 							"name": "OneNote (Desktop)",
 
- 							"DriverName": "Send to Microsoft OneNote 16 Driver",
 
- 							"PortName": "nul:",
 
- 							"Orientation": "0",
 
- 							"PaperSize": "9",
 
- 							"PaperLength": "2970",
 
- 							"PaperWidth": "2100",
 
- 							"Copies": "1",
 
- 							"DefaultSource": "15",
 
- 							"PrintQuality": "600",
 
- 							"Color": "2",
 
- 							"Duplex": "1",
 
- 							"FormName": "A4",
 
- 							"Comment": "",
 
- 							"DriverVersion": "1539",
 
- 							"DCOrientation": "270",
 
- 							"MaxExtentWidth": "2970",
 
- 							"MaxExtentLength": "4318",
 
- 							"MinExtentWidth": "984",
 
- 							"MinExtentlength": "1905",
 
- 							"pagelist": [{
 
- 								"name": "信纸"
 
- 							}, {
 
- 								"name": "Tabloid"
 
- 							}, {
 
- 								"name": "法律专用纸"
 
- 							}, {
 
- 								"name": "Executive"
 
- 							}, {
 
- 								"name": "A3"
 
- 							}, {
 
- 								"name": "A4"
 
- 							}, {
 
- 								"name": "B4 (JIS)"
 
- 							}, {
 
- 								"name": "B5 (JIS)"
 
- 							}, {
 
- 								"name": "信封 #10"
 
- 							}, {
 
- 								"name": "信封 Monarch"
 
- 							}]
 
- 						}, {
 
- 							"name": "Microsoft XPS Document Writer",
 
- 							"DriverName": "Microsoft XPS Document Writer v4",
 
- 							"PortName": "PORTPROMPT:",
 
- 							"Orientation": "0",
 
- 							"PaperSize": "9",
 
- 							"PaperLength": "2970",
 
- 							"PaperWidth": "2100",
 
- 							"Copies": "1",
 
- 							"DefaultSource": "15",
 
- 							"PrintQuality": "600",
 
- 							"Color": "2",
 
- 							"Duplex": "1",
 
- 							"FormName": "A4",
 
- 							"Comment": "",
 
- 							"DriverVersion": "1539",
 
- 							"DCOrientation": "270",
 
- 							"MaxExtentWidth": "8636",
 
- 							"MaxExtentLength": "11176",
 
- 							"MinExtentWidth": "900",
 
- 							"MinExtentlength": "900",
 
- 							"pagelist": [{
 
- 								"name": "信纸"
 
- 							}, {
 
- 								"name": "小号信纸"
 
- 							}, {
 
- 								"name": "Tabloid"
 
- 							}, {
 
- 								"name": "Ledger"
 
- 							}, {
 
- 								"name": "法律专用纸"
 
- 							}, {
 
- 								"name": "Statement"
 
- 							}, {
 
- 								"name": "Executive"
 
- 							}, {
 
- 								"name": "A3"
 
- 							}, {
 
- 								"name": "A4"
 
- 							}, {
 
- 								"name": "A4 小号"
 
- 							}, {
 
- 								"name": "A5"
 
- 							}, {
 
- 								"name": "B4 (JIS)"
 
- 							}, {
 
- 								"name": "B5 (JIS)"
 
- 							}, {
 
- 								"name": "Folio"
 
- 							}, {
 
- 								"name": "Quarto"
 
- 							}, {
 
- 								"name": "10x14"
 
- 							}, {
 
- 								"name": "11x17"
 
- 							}, {
 
- 								"name": "便笺"
 
- 							}, {
 
- 								"name": "信封 #9"
 
- 							}, {
 
- 								"name": "信封 #10"
 
- 							}, {
 
- 								"name": "信封 #11"
 
- 							}, {
 
- 								"name": "信封 #12"
 
- 							}, {
 
- 								"name": "信封 #14"
 
- 							}, {
 
- 								"name": "C size sheet"
 
- 							}, {
 
- 								"name": "D size sheet"
 
- 							}, {
 
- 								"name": "E size sheet"
 
- 							}, {
 
- 								"name": "信封 DL"
 
- 							}, {
 
- 								"name": "信封 C5"
 
- 							}, {
 
- 								"name": "信封 C3"
 
- 							}, {
 
- 								"name": "信封 C4"
 
- 							}, {
 
- 								"name": "信封 C6"
 
- 							}, {
 
- 								"name": "信封 C65"
 
- 							}, {
 
- 								"name": "信封 B4"
 
- 							}, {
 
- 								"name": "信封 B5"
 
- 							}, {
 
- 								"name": "信封 B6"
 
- 							}, {
 
- 								"name": "信封"
 
- 							}, {
 
- 								"name": "信封 Monarch"
 
- 							}, {
 
- 								"name": "6 3/4 信封"
 
- 							}, {
 
- 								"name": "美国标准 Fanfold"
 
- 							}, {
 
- 								"name": "德国标准 Fanfold"
 
- 							}, {
 
- 								"name": "德国法律专用纸 Fanfold"
 
- 							}, {
 
- 								"name": "B4 (ISO)"
 
- 							}, {
 
- 								"name": "日式明信片"
 
- 							}, {
 
- 								"name": "9x11"
 
- 							}, {
 
- 								"name": "10x11"
 
- 							}, {
 
- 								"name": "15x11"
 
- 							}, {
 
- 								"name": "信封邀请函"
 
- 							}, {
 
- 								"name": "特大信纸"
 
- 							}, {
 
- 								"name": "特大法律专用纸"
 
- 							}, {
 
- 								"name": "A4 特大"
 
- 							}, {
 
- 								"name": "信纸横向"
 
- 							}, {
 
- 								"name": "A4 横向"
 
- 							}, {
 
- 								"name": "特大信纸横向"
 
- 							}, {
 
- 								"name": "Super A"
 
- 							}, {
 
- 								"name": "Super B"
 
- 							}, {
 
- 								"name": "信纸加大"
 
- 							}, {
 
- 								"name": "A4 加大"
 
- 							}, {
 
- 								"name": "A5 横向"
 
- 							}, {
 
- 								"name": "B5 (JIS) 横向"
 
- 							}, {
 
- 								"name": "A3 特大"
 
- 							}, {
 
- 								"name": "A5 特大"
 
- 							}, {
 
- 								"name": "B5 (ISO) 特大"
 
- 							}, {
 
- 								"name": "A2"
 
- 							}, {
 
- 								"name": "A3 横向"
 
- 							}, {
 
- 								"name": "A3 特大横向"
 
- 							}, {
 
- 								"name": "日式往返明信片"
 
- 							}, {
 
- 								"name": "A6"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #2"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #3"
 
- 							}, {
 
- 								"name": "日式信封 Chou #3"
 
- 							}, {
 
- 								"name": "日式信封 Chou #4"
 
- 							}, {
 
- 								"name": "信纸旋转"
 
- 							}, {
 
- 								"name": "A3 旋转"
 
- 							}, {
 
- 								"name": "A4 旋转"
 
- 							}, {
 
- 								"name": "A5 旋转"
 
- 							}, {
 
- 								"name": "B4 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "B5 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "日式明信片旋转"
 
- 							}, {
 
- 								"name": "双层日式明信片旋转"
 
- 							}, {
 
- 								"name": "A6 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #2 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #3 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Chou #3 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Chou #4 旋转"
 
- 							}, {
 
- 								"name": "B6 (JIS)"
 
- 							}, {
 
- 								"name": "B6 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "12x11"
 
- 							}, {
 
- 								"name": "日式信封 You #4"
 
- 							}, {
 
- 								"name": "日式信封 You #4 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #1"
 
- 							}, {
 
- 								"name": "PRC 信封 #3"
 
- 							}, {
 
- 								"name": "PRC 信封 #4"
 
- 							}, {
 
- 								"name": "PRC 信封 #5"
 
- 							}, {
 
- 								"name": "PRC 信封 #6"
 
- 							}, {
 
- 								"name": "PRC 信封 #7"
 
- 							}, {
 
- 								"name": "PRC 信封 #8"
 
- 							}, {
 
- 								"name": "PRC 信封 #9"
 
- 							}, {
 
- 								"name": "PRC 信封 #10"
 
- 							}, {
 
- 								"name": "PRC 信封 #1 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #3 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #4 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #5 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #6 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #7 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #8 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #9 旋转"
 
- 							}, {
 
- 								"name": "用户定义大小"
 
- 							}]
 
- 						}, {
 
- 							"name": "Microsoft Print to PDF",
 
- 							"DriverName": "Microsoft Print To PDF",
 
- 							"PortName": "PORTPROMPT:",
 
- 							"Orientation": "0",
 
- 							"PaperSize": "9",
 
- 							"PaperLength": "2970",
 
- 							"PaperWidth": "2100",
 
- 							"Copies": "1",
 
- 							"DefaultSource": "15",
 
- 							"PrintQuality": "600",
 
- 							"Color": "2",
 
- 							"Duplex": "1",
 
- 							"FormName": "A4",
 
- 							"Comment": "",
 
- 							"DriverVersion": "1539",
 
- 							"DCOrientation": "90",
 
- 							"MaxExtentWidth": "2970",
 
- 							"MaxExtentLength": "4318",
 
- 							"MinExtentWidth": "1397",
 
- 							"MinExtentlength": "2100",
 
- 							"pagelist": [{
 
- 								"name": "信纸"
 
- 							}, {
 
- 								"name": "Tabloid"
 
- 							}, {
 
- 								"name": "法律专用纸"
 
- 							}, {
 
- 								"name": "Statement"
 
- 							}, {
 
- 								"name": "Executive"
 
- 							}, {
 
- 								"name": "A3"
 
- 							}, {
 
- 								"name": "A4"
 
- 							}, {
 
- 								"name": "A5"
 
- 							}, {
 
- 								"name": "B4 (JIS)"
 
- 							}, {
 
- 								"name": "B5 (JIS)"
 
- 							}]
 
- 						}, {
 
- 							"name": "Fax",
 
- 							"DriverName": "Microsoft Shared Fax Driver",
 
- 							"PortName": "SHRFAX:",
 
- 							"Orientation": "0",
 
- 							"PaperSize": "9",
 
- 							"PaperLength": "2970",
 
- 							"PaperWidth": "2100",
 
- 							"Copies": "1",
 
- 							"DefaultSource": "1",
 
- 							"PrintQuality": "200",
 
- 							"Color": "1",
 
- 							"Duplex": "1",
 
- 							"FormName": "A4",
 
- 							"Comment": "",
 
- 							"DriverVersion": "1024",
 
- 							"DCOrientation": "90",
 
- 							"MaxExtentWidth": "2160",
 
- 							"MaxExtentLength": "3556",
 
- 							"MinExtentWidth": "0",
 
- 							"MinExtentlength": "0",
 
- 							"pagelist": [{
 
- 								"name": "信纸"
 
- 							}, {
 
- 								"name": "小号信纸"
 
- 							}, {
 
- 								"name": "法律专用纸"
 
- 							}, {
 
- 								"name": "Statement"
 
- 							}, {
 
- 								"name": "Executive"
 
- 							}, {
 
- 								"name": "A4"
 
- 							}, {
 
- 								"name": "A4 小号"
 
- 							}, {
 
- 								"name": "A5"
 
- 							}, {
 
- 								"name": "B5 (JIS)"
 
- 							}, {
 
- 								"name": "Folio"
 
- 							}, {
 
- 								"name": "Quarto"
 
- 							}, {
 
- 								"name": "便笺"
 
- 							}, {
 
- 								"name": "信封 #9"
 
- 							}, {
 
- 								"name": "信封 #10"
 
- 							}, {
 
- 								"name": "信封 #11"
 
- 							}, {
 
- 								"name": "信封 #12"
 
- 							}, {
 
- 								"name": "信封 #14"
 
- 							}, {
 
- 								"name": "信封 DL"
 
- 							}, {
 
- 								"name": "信封 C5"
 
- 							}, {
 
- 								"name": "信封 C6"
 
- 							}, {
 
- 								"name": "信封 C65"
 
- 							}, {
 
- 								"name": "信封 B5"
 
- 							}, {
 
- 								"name": "信封 B6"
 
- 							}, {
 
- 								"name": "信封"
 
- 							}, {
 
- 								"name": "信封 Monarch"
 
- 							}, {
 
- 								"name": "6 3/4 信封"
 
- 							}, {
 
- 								"name": "德国标准 Fanfold"
 
- 							}, {
 
- 								"name": "德国法律专用纸 Fanfold"
 
- 							}, {
 
- 								"name": "日式明信片"
 
- 							}, {
 
- 								"name": "Reserved48"
 
- 							}, {
 
- 								"name": "Reserved49"
 
- 							}, {
 
- 								"name": "信纸横向"
 
- 							}, {
 
- 								"name": "A4 横向"
 
- 							}, {
 
- 								"name": "信纸加大"
 
- 							}, {
 
- 								"name": "A4 加大"
 
- 							}, {
 
- 								"name": "A5 横向"
 
- 							}, {
 
- 								"name": "B5 (JIS) 横向"
 
- 							}, {
 
- 								"name": "A5 特大"
 
- 							}, {
 
- 								"name": "B5 (ISO) 特大"
 
- 							}, {
 
- 								"name": "日式往返明信片"
 
- 							}, {
 
- 								"name": "A6"
 
- 							}, {
 
- 								"name": "日式信封 Kaku #3"
 
- 							}, {
 
- 								"name": "日式信封 Chou #3"
 
- 							}, {
 
- 								"name": "日式信封 Chou #4"
 
- 							}, {
 
- 								"name": "A5 旋转"
 
- 							}, {
 
- 								"name": "日式明信片旋转"
 
- 							}, {
 
- 								"name": "双层日式明信片旋转"
 
- 							}, {
 
- 								"name": "A6 旋转"
 
- 							}, {
 
- 								"name": "日式信封 Chou #4 旋转"
 
- 							}, {
 
- 								"name": "B6 (JIS)"
 
- 							}, {
 
- 								"name": "B6 (JIS) 旋转"
 
- 							}, {
 
- 								"name": "日式信封 You #4"
 
- 							}, {
 
- 								"name": "PRC 16K"
 
- 							}, {
 
- 								"name": "PRC 32K"
 
- 							}, {
 
- 								"name": "PRC 32K(Big)"
 
- 							}, {
 
- 								"name": "PRC 信封 #1"
 
- 							}, {
 
- 								"name": "PRC 信封 #2"
 
- 							}, {
 
- 								"name": "PRC 信封 #3"
 
- 							}, {
 
- 								"name": "PRC 信封 #4"
 
- 							}, {
 
- 								"name": "PRC 信封 #5"
 
- 							}, {
 
- 								"name": "PRC 信封 #6"
 
- 							}, {
 
- 								"name": "PRC 信封 #7"
 
- 							}, {
 
- 								"name": "PRC 信封 #8"
 
- 							}, {
 
- 								"name": "PRC 32K 旋转"
 
- 							}, {
 
- 								"name": "PRC 32K(大)旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #1 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #2 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #3 旋转"
 
- 							}, {
 
- 								"name": "PRC 信封 #4 旋转"
 
- 							}, {
 
- 								"name": "North America 5x 8"
 
- 							}, {
 
- 								"name": "North America 4x 6"
 
- 							}, {
 
- 								"name": "North America 5x 7"
 
- 							}, {
 
- 								"name": "English Photo L"
 
- 							}, {
 
- 								"name": "North America 8x 10"
 
- 							}]
 
- 						}, {
 
- 							"name": "EPSONAB8583 (L4260 Series)",
 
- 							"DriverName": "Microsoft IPP Class Driver",
 
- 							"PortName": "WSD-a9d5e3c4-ae3d-4690-b036-906b8b07ec46",
 
- 							"Orientation": "0",
 
- 							"PaperSize": "9",
 
- 							"PaperLength": "2970",
 
- 							"PaperWidth": "2100",
 
- 							"Copies": "1",
 
- 							"DefaultSource": "15",
 
- 							"PrintQuality": "360",
 
- 							"Color": "2",
 
- 							"Duplex": "1",
 
- 							"FormName": "A4",
 
- 							"Comment": "",
 
- 							"DriverVersion": "1539",
 
- 							"DCOrientation": "90",
 
- 							"MaxExtentWidth": "2159",
 
- 							"MaxExtentLength": "3556",
 
- 							"MinExtentWidth": "889",
 
- 							"MinExtentlength": "1270",
 
- 							"pagelist": [{
 
- 								"name": "信纸"
 
- 							}, {
 
- 								"name": "法律专用纸"
 
- 							}, {
 
- 								"name": "A4"
 
- 							}, {
 
- 								"name": "A5"
 
- 							}, {
 
- 								"name": "B5 (JIS)"
 
- 							}, {
 
- 								"name": "信封 #10"
 
- 							}, {
 
- 								"name": "信封 DL"
 
- 							}, {
 
- 								"name": "日式明信片"
 
- 							}, {
 
- 								"name": "A6"
 
- 							}, {
 
- 								"name": "North America 5x 8"
 
- 							}, {
 
- 								"name": "North America 4x 6"
 
- 							}, {
 
- 								"name": "North America 5x 7"
 
- 							}, {
 
- 								"name": "English Photo L"
 
- 							}, {
 
- 								"name": "North America 8x 10"
 
- 							}]
 
- 						}]
 
- 					}
 
- 				}]
 
- 			}]
 
- 		},
 
- 		altMessageWebSocketInvalid: "WebSocket没准备好,请稍后重试!",
 
- 		altMessageNoReadWriteFile: "不能远程读写文件!",
 
- 		altMessageNoReadFile: "不能远程读文件!",
 
- 		altMessageNoWriteFile: "不能远程写文件!",
 
- 		altMessageNoPrintDesign: "不能远程打印设计!",
 
- 		altMessageNoPrintSetup: "不能远程打印维护!",
 
- 		altMessageSomeWindowExist: "有窗口已打开,先关闭它(持续如此时请刷新页面)!",
 
- 		altMessageBusy: "上一个请求正忙,请稍后再试!",
 
- 		Browser: (function() {
 
- 			var ua = navigator.userAgent;
 
- 			var isOpera = Object.prototype.toString.call(window.opera) == "[object Opera]";
 
- 			return {
 
- 				IE: !!window.attachEvent && !isOpera,
 
- 				Opera: isOpera,
 
- 				WebKit: ua.indexOf("AppleWebKit/") > -1,
 
- 				Gecko: ua.indexOf("Gecko") > -1 && ua.indexOf("KHTML") === -1,
 
- 				MobileSafari: /Apple.*Mobile/.test(ua)
 
- 			}
 
- 		})(),
 
- 		GetTaskID: function() {
 
- 			if (!this.strTaskID || this.strTaskID == "") {
 
- 				var dt = new Date();
 
- 				this.iBaseTask++;
 
- 				this.strTaskID = "" + dt.getHours() + dt.getMinutes() + dt.getSeconds() + "_" + this
 
- 					.iBaseTask;
 
- 			}
 
- 			return this.strWebPageID + this.strTaskID;
 
- 		},
 
- 		DoInit: function() {
 
- 			this.strTaskID = "";
 
- 			if (this.NoClearAfterPrint) return;
 
- 			this.ItemDatas = {
 
- 				"count": 0
 
- 			};
 
- 			this.PageData = {};
 
- 			this.ItemCNameStyles = {};
 
- 			this.defStyleJson = {
 
- 				"beginpage": 0,
 
- 				"beginpagea": 0
 
- 			};
 
- 			this.blNormalItemAdded = false;
 
- 		},
 
- 		OpenWebSocket: function() {
 
- 			if (!window.WebSocket && !window.MozWebSocket) {
 
- 				if (window.On_CLodop_Opened) {
 
- 					if (CLODOP.Priority == window.CLODOP_OK_Priority) setTimeout(
 
- 						"window.On_CLodop_Opened(CLODOP)", 1);
 
- 				}
 
- 				return;
 
- 			}
 
- 			this.SocketEnable = true;
 
- 			try {
 
- 				if (!this.webskt || this.webskt.readyState == 3) {
 
- 					if (!window.WebSocket && window.MozWebSocket) window.WebSocket = window.MozWebSocket;
 
- 					this.webskt = new WebSocket('ws://192.168.1.41:8000/c_webskt/');
 
- 					this.webskt.onopen = function(e) {
 
- 						CLODOP.SocketOpened = true;
 
- 						if (window.On_CLodop_Opened) {
 
- 							if (CLODOP.Priority == window.CLODOP_OK_Priority) setTimeout(
 
- 								"window.On_CLodop_Opened(CLODOP)", 1);
 
- 						}
 
- 					};
 
- 					this.webskt.onmessage = function(e) {
 
- 						CLODOP.blOneByone = false;
 
- 						var strResult = e.data;
 
- 						CLODOP.Result = strResult;
 
- 						try {
 
- 							var strFTaskID = null;
 
- 							var iPos = strResult.indexOf("=");
 
- 							if (iPos >= 0 && iPos < 30) {
 
- 								strFTaskID = strResult.slice(0, iPos);
 
- 								strResult = strResult.slice(iPos + 1);
 
- 							}
 
- 							if (strFTaskID.indexOf("ErrorMS") > -1) {
 
- 								alert(strResult);
 
- 								return;
 
- 							}
 
- 							if (strFTaskID.indexOf("BroadcastMS") > -1) {
 
- 								CLODOP.strBroadcastMS = strResult;
 
- 								if (CLODOP.On_Broadcast) {
 
- 									var selfFunc = CLODOP.On_Broadcast;
 
- 									CLODOP.On_Broadcast(strResult);
 
- 									if (!CLODOP.On_Broadcast_Remain && selfFunc === CLODOP.On_Broadcast)
 
- 										CLODOP.On_Broadcast = null;
 
- 								}
 
- 								return;
 
- 							}
 
- 							if (CLODOP.On_Return) {
 
- 								var selfFunc = CLODOP.On_Return;
 
- 								if ((strResult.toLowerCase() == "true") || (strResult.toLowerCase() ==
 
- 										"false"))
 
- 									CLODOP.On_Return(strFTaskID, strResult.toLowerCase() == "true");
 
- 								else
 
- 									CLODOP.On_Return(strFTaskID, strResult);
 
- 								if (!CLODOP.On_Return_Remain && selfFunc === CLODOP.On_Return) CLODOP
 
- 									.On_Return =
 
- 									null;
 
- 							}
 
- 						} catch (err) {};
 
- 					};
 
- 					this.webskt.onclose = function(e) {
 
- 						if (!CLODOP.SocketOpened) {
 
- 							CLODOP.SocketEnable = false;
 
- 							return;
 
- 						}
 
- 						setTimeout("CLODOP.OpenWebSocket()", 2000);
 
- 					};
 
- 					this.webskt.onerror = function(e) {};
 
- 				}
 
- 			} catch (err) {
 
- 				this.webskt = null;
 
- 				if (err.message.indexOf("SecurityError") > -1)
 
- 					this.SocketEnable = false;
 
- 				else
 
- 					setTimeout("CLODOP.OpenWebSocket()", 2000);
 
- 			}
 
- 		},
 
- 		wsSend: function(strData, blReTry) {
 
- 			if (!this.SocketEnable) return;
 
- 			if (this.webskt && this.webskt.readyState == 1) {
 
- 				this.Result = null;
 
- 				this.webskt.send(strData);
 
- 				return true;
 
- 			} else {
 
- 				if (!blReTry)
 
- 					setTimeout(function() {
 
- 						CLODOP.wsSend(strData, true);
 
- 					}, 600);
 
- 				else {
 
- 					alert(this.altMessageWebSocketInvalid);
 
- 					this.OpenWebSocket();
 
- 				}
 
- 			}
 
- 		},
 
- 		FORMAT: function(oType, oValue) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (oType !== undefined && oValue !== undefined) {
 
- 				if (oType.replace(/^\s+|\s+$/g, "").toLowerCase().indexOf("time:") == 0) {
 
- 					oType = oType.replace(/^\s+|\s+$/g, "").slice(5);
 
- 					if (oValue.toLowerCase().indexOf("now") > -1) oValue = (new Date()).toString();
 
- 					if (oValue.toLowerCase().indexOf("date") > -1) oValue = (new Date()).toString();
 
- 					if (oValue.toLowerCase().indexOf("time") > -1) oValue = (new Date()).toString();
 
- 					var TypeYMD = "ymd";
 
- 					if (oValue.toLowerCase().indexOf("ymd") > -1) {
 
- 						TypeYMD = "ymd";
 
- 						oValue = oValue.slice(3);
 
- 					}
 
- 					if (oValue.toLowerCase().indexOf("dmy") > -1) {
 
- 						TypeYMD = "dmy";
 
- 						oValue = oValue.slice(3);
 
- 					}
 
- 					if (oValue.toLowerCase().indexOf("mdy") > -1) {
 
- 						TypeYMD = "mdy";
 
- 						oValue = oValue.slice(3);
 
- 					}
 
- 					oValue = oValue.replace(/ [^ ]*\+[^ ]* /g, " ");
 
- 					oValue = oValue.replace(/\(.*\)/g, " ");
 
- 					oValue = oValue.replace(/星期日|星期一|星期二|星期三|星期四|星期五|星期六/g, " ");
 
- 					oValue = oValue.replace(/[A-Za-z]+day|Mon|Tue|Wed|Thu|Fri|Sat|Sun/g, " ");
 
- 					var aMonth = 0;
 
- 					var exp = new RegExp("Oct[A-Za-z]*|十月|10月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 10;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Nov[A-Za-z]*|十一月|11月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 11;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Dec[A-Za-z]*|十二月|12月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 12;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Jan[A-Za-z]*|一月|01月|1月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 1;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Feb[A-Za-z]*|二月|02月|2月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 2;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Mar[A-Za-z]*|三月|03月|3月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 3;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Apr[A-Za-z]*|四月|04月|4月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 4;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("May[A-Za-z]*|五月|05月|5月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 5;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Jun[A-Za-z]*|六月|06月|6月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 6;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Jul[A-Za-z]*|七月|07月|7月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 7;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Aug[A-Za-z]*|八月|08月|8月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 8;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					exp = new RegExp("Sep[A-Za-z]*|九月|09月|9月", "i");
 
- 					if (oValue.match(exp) !== null) {
 
- 						aMonth = 9;
 
- 						oValue = oValue.replace(exp, "");
 
- 					}
 
- 					oValue = oValue.replace(/日|秒/g, " ");
 
- 					oValue = oValue.replace(/时|分/g, ":");
 
- 					var subTime = oValue.match(/ \d+:\d+:\d+/);
 
- 					if (subTime == null) subTime = "";
 
- 					oValue = oValue.replace(/ \d+:\d+:\d+/, "") + subTime;
 
- 					var dValue = new Date();
 
- 					var iYear = 0;
 
- 					var iMonth = 0;
 
- 					var iDate = 0;
 
- 					var iHour = 0;
 
- 					var iMinutes = 0;
 
- 					var iSecond = 0;
 
- 					var tmpValue = oValue;
 
- 					var sValue = "";
 
- 					var MC1 = 0;
 
- 					MC2 = 0;
 
- 					MC3 = 0;
 
- 					sValue = tmpValue.match(/\d+/);
 
- 					if (sValue !== null) {
 
- 						MC1 = parseInt(sValue[0]);
 
- 						tmpValue = tmpValue.replace(/\d+/, "");
 
- 					}
 
- 					sValue = tmpValue.match(/\d+/);
 
- 					if (sValue !== null) {
 
- 						MC2 = parseInt(sValue[0]);
 
- 						tmpValue = tmpValue.replace(/\d+/, "");
 
- 					}
 
- 					if (aMonth <= 0) {
 
- 						sValue = tmpValue.match(/\d+/);
 
- 						if (sValue !== null) {
 
- 							MC3 = parseInt(sValue[0]);
 
- 							tmpValue = tmpValue.replace(/\d+/, "");
 
- 						}
 
- 					}
 
- 					if (aMonth > 0) {
 
- 						iMonth = aMonth;
 
- 						if (MC2 <= 31) {
 
- 							iYear = MC1;
 
- 							iDate = MC2;
 
- 						} else {
 
- 							iYear = MC2;
 
- 							iDate = MC1;
 
- 						}
 
- 					} else
 
- 					if (TypeYMD == "dmy") {
 
- 						iDate = MC1;
 
- 						iMonth = MC2;
 
- 						iYear = MC3;
 
- 					} else
 
- 					if (TypeYMD == "mdy") {
 
- 						iMonth = MC1;
 
- 						iDate = MC2;
 
- 						iYear = MC3;
 
- 					} else {
 
- 						iYear = MC1;
 
- 						iMonth = MC2;
 
- 						iDate = MC3;
 
- 						if (MC3 > 31) {
 
- 							iYear = MC3;
 
- 							iMonth = MC1;
 
- 							iDate = MC2;
 
- 							if (MC1 > 12) {
 
- 								iDate = MC1;
 
- 								iMonth = MC2
 
- 							};
 
- 						} else {
 
- 							if (MC2 > 12) {
 
- 								iYear = MC2;
 
- 								iMonth = MC1;
 
- 							}
 
- 						}
 
- 					}
 
- 					var sValue = tmpValue.match(/\d+/);
 
- 					if (sValue !== null) {
 
- 						iHour = parseInt(sValue[0]);
 
- 						tmpValue = tmpValue.replace(/\d+/, "");
 
- 					}
 
- 					var sValue = tmpValue.match(/\d+/);
 
- 					if (sValue !== null) {
 
- 						iMinutes = parseInt(sValue[0]);
 
- 						tmpValue = tmpValue.replace(/\d+/, "");
 
- 					}
 
- 					var sValue = tmpValue.match(/\d+/);
 
- 					if (sValue !== null) {
 
- 						iSecond = parseInt(sValue[0]);
 
- 						tmpValue = tmpValue.replace(/\d+/, "");
 
- 					}
 
- 					if (oType.toLowerCase() == "isvalidformat")
 
- 						oValue = (iYear > 0 && iMonth > 0 && iMonth <= 12 && iDate > 0 && iDate <= 31);
 
- 					else {
 
- 						if (("" + iYear).length < 4) iYear = iYear + 2000;
 
- 						dValue.setFullYear(iYear, iMonth - 1, iDate);
 
- 						dValue.setHours(iHour);
 
- 						dValue.setMinutes(iMinutes);
 
- 						dValue.setSeconds(iSecond);
 
- 						var iDay = dValue.getDay();
 
- 						if (oType.toLowerCase() == "weekindex")
 
- 							oValue = iDay;
 
- 						else
 
- 						if (oType.toLowerCase() == "floatvalue")
 
- 							oValue = dValue.getTime();
 
- 						else {
 
- 							var sWeek = "";
 
- 							switch (iDay) {
 
- 								case 0:
 
- 									sWeek = "日";
 
- 									break;
 
- 								case 1:
 
- 									sWeek = "一";
 
- 									break;
 
- 								case 2:
 
- 									sWeek = "二";
 
- 									break;
 
- 								case 3:
 
- 									sWeek = "三";
 
- 									break;
 
- 								case 4:
 
- 									sWeek = "四";
 
- 									break;
 
- 								case 5:
 
- 									sWeek = "五";
 
- 									break;
 
- 								case 6:
 
- 									sWeek = "六";
 
- 									break;
 
- 							}
 
- 							oValue = oType.replace(/dddd/ig, "星期" + sWeek);
 
- 							if (/(y+)/i.test(oValue)) oValue = oValue.replace(RegExp.$1, (iYear + "")
 
- 								.substr(
 
- 									4 - RegExp.$1.length));
 
- 							if (/(m+:)/i.test(oValue)) oValue = oValue.replace(RegExp.$1, ("00" + iMinutes +
 
- 								":").substr(("00" + iMinutes + ":").length - RegExp.$1.length));
 
- 							if (/(M+)/i.test(oValue)) {
 
- 								var dsWidth = ("" + iMonth).length > RegExp.$1.length ? ("" + iMonth)
 
- 									.length :
 
- 									RegExp.$1.length;
 
- 								oValue = oValue.replace(RegExp.$1, ("00" + iMonth).substr(("00" + iMonth)
 
- 									.length -
 
- 									dsWidth));
 
- 							}
 
- 							if (/(d+)/i.test(oValue)) {
 
- 								var dsWidth = ("" + iDate).length > RegExp.$1.length ? ("" + iDate).length :
 
- 									RegExp.$1.length;
 
- 								oValue = oValue.replace(RegExp.$1, ("00" + iDate).substr(("00" + iDate)
 
- 									.length -
 
- 									dsWidth));
 
- 							}
 
- 							if (/(H+)/i.test(oValue)) oValue = oValue.replace(RegExp.$1, ("00" + iHour)
 
- 								.substr(
 
- 									("00" + iHour).length - RegExp.$1.length));
 
- 							if (/(n+)/i.test(oValue)) oValue = oValue.replace(RegExp.$1, ("00" + iMinutes)
 
- 								.substr(
 
- 									("00" + iMinutes).length - RegExp.$1.length));
 
- 							if (/(s+)/i.test(oValue)) oValue = oValue.replace(RegExp.$1, ("00" + iSecond)
 
- 								.substr(
 
- 									("00" + iSecond).length - RegExp.$1.length));
 
- 						}
 
- 					}
 
- 					if (CLODOP.On_Return) {
 
- 						var selfFunc = CLODOP.On_Return;
 
- 						CLODOP.On_Return(0, oValue);
 
- 						if (!CLODOP.On_Return_Remain && selfFunc === CLODOP.On_Return) CLODOP.On_Return =
 
- 							null;
 
- 					}
 
- 					return oValue;
 
- 				} else
 
- 				if (this.blIslocal || oType.indexOf("FILE:") < 0) {
 
- 					this.PageData["format_type"] = oType;
 
- 					this.PageData["format_value"] = oValue;
 
- 					if (this.DoPostDatas("format") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				} else alert(this.altMessageNoReadWriteFile)
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		SET_PRINT_PAPER: function(Top, Left, Width, Height, strPrintTask) {
 
- 			return this.PRINT_INITA(Top, Left, Width, Height, strPrintTask);
 
- 		},
 
- 		PRINT_INIT: function(strPrintTask) {
 
- 			return this.PRINT_INITA(null, null, null, null, strPrintTask);
 
- 		},
 
- 		PRINT_INITA: function(Top, Left, Width, Height, strPrintTask) {
 
- 			if (Top === undefined || Top === null) Top = "";
 
- 			if (Left === undefined || Left === null) Left = "";
 
- 			if (Width === undefined || Width === null) Width = "";
 
- 			if (Height === undefined || Height === null) Height = "";
 
- 			if (strPrintTask === undefined || strPrintTask === null) strPrintTask = "";
 
- 			this.NoClearAfterPrint = false;
 
- 			this.DoInit();
 
- 			this.PageData["top"] = Top;
 
- 			this.PageData["left"] = Left;
 
- 			this.PageData["width"] = Width;
 
- 			this.PageData["height"] = Height;
 
- 			this.PageData["printtask"] = strPrintTask;
 
- 			return true;
 
- 		},
 
- 		SET_PRINT_MODE: function(strModeType, ModeValue) {
 
- 			if (strModeType === undefined || strModeType === null) strModeType = "";
 
- 			if (ModeValue === undefined || ModeValue === null) ModeValue = "";
 
- 			if (strModeType === "") return false;
 
- 			strModeType = strModeType.toLowerCase();
 
- 			this.PageData[strModeType] = ModeValue;
 
- 			if (strModeType == "noclear_after_print") this.NoClearAfterPrint = ModeValue;
 
- 			if (strModeType.indexOf("window_def") > -1 || strModeType.indexOf("control_printer") > -1) {
 
- 				var tResult = null;
 
- 				if (this.DoPostDatas("onlysetprint") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 				this.DoInit();
 
- 				this.blWorking = false;
 
- 				return tResult;
 
- 			}
 
- 		},
 
- 		ADD_PRINT_TEXT: function(top, left, width, height, strText) {
 
- 			return this.AddItemArray(2, top, left, width, height, strText);
 
- 		},
 
- 		ADD_PRINT_TEXTA: function(itemName, top, left, width, height, strText) {
 
- 			return this.AddItemArray(2, top, left, width, height, strText, itemName);
 
- 		},
 
- 		ADD_PRINT_HTM: function(top, left, width, height, strHTML) {
 
- 			return this.AddItemArray(4, top, left, width, height, strHTML);
 
- 		},
 
- 		ADD_PRINT_HTML: function(top, left, width, height, strHTML) {
 
- 			return this.AddItemArray(1, top, left, width, height, strHTML);
 
- 		},
 
- 		ADD_PRINT_HTMLA: function(itemName, top, left, width, height, strHTML) {
 
- 			return this.AddItemArray(1, top, left, width, height, strHTML, itemName);
 
- 		},
 
- 		ADD_PRINT_BARCODE: function(top, left, width, height, BarType, BarValue) {
 
- 			return this.AddItemArray(9, top, left, width, height, BarValue, null, null, null, null, null,
 
- 				null, BarType);
 
- 		},
 
- 		ADD_PRINT_BARCODEA: function(ItemName, top, left, width, height, BarType, BarValue) {
 
- 			return this.AddItemArray(9, top, left, width, height, BarValue, ItemName, null, null, null,
 
- 				null, null, BarType);
 
- 		},
 
- 		ADD_PRINT_RECTA: function(top, left, width, height, intPenStyle, intPenWidth, intColor) {
 
- 			return this.AddItemArray(3, top, left, width, height, null, null, 2, intPenStyle, intPenWidth,
 
- 				intColor, null);
 
- 		},
 
- 		ADD_PRINT_RECT: function(top, left, width, height, intPenStyle, intPenWidth) {
 
- 			return this.AddItemArray(3, top, left, width, height, null, null, 2, intPenStyle, intPenWidth,
 
- 				null, null);
 
- 		},
 
- 		ADD_PRINT_ELLIPSEA: function(top, left, width, height, intPenStyle, intPenWidth, intColor) {
 
- 			return this.AddItemArray(3, top, left, width, height, null, null, 3, intPenStyle, intPenWidth,
 
- 				intColor, null);
 
- 		},
 
- 		ADD_PRINT_ELLIPSE: function(top, left, width, height, intPenStyle, intPenWidth) {
 
- 			return this.AddItemArray(3, top, left, width, height, null, null, 3, intPenStyle, intPenWidth,
 
- 				null, null);
 
- 		},
 
- 		ADD_PRINT_SHAPE: function(ShapeType, top, left, width, height, intPenStyle, intPenWidth, intColor) {
 
- 			return this.AddItemArray(3, top, left, width, height, null, null, ShapeType, intPenStyle,
 
- 				intPenWidth, intColor, null);
 
- 		},
 
- 		ADD_PRINT_LINE: function(top1, left1, top2, left2, intPenStyle, intPenWidth) {
 
- 			return this.AddItemArray(3, top1, left1, top2, left2, null, null, 0, intPenStyle, intPenWidth,
 
- 				null, "1");
 
- 		},
 
- 		ADD_PRINT_DNLINE: function(Top, Left, Width, Height, intPenStyle, intPenWidth) {
 
- 			return this.AddItemArray(3, Top, Left, Width, Height, null, null, 1, intPenStyle, intPenWidth,
 
- 				null, null);
 
- 		},
 
- 		ADD_PRINT_DNLINEA: function(Top, Left, Width, Height, intPenStyle, intPenWidth, intColor) {
 
- 			return this.AddItemArray(3, Top, Left, Width, Height, null, null, 1, intPenStyle, intPenWidth,
 
- 				intColor, null);
 
- 		},
 
- 		ADD_PRINT_UPLINE: function(Top, Left, Width, Height, intPenStyle, intPenWidth) {
 
- 			return this.AddItemArray(3, Top, Left, Width, Height, null, null, 0, intPenStyle, intPenWidth,
 
- 				null, null);
 
- 		},
 
- 		ADD_PRINT_UPLINEA: function(Top, Left, Width, Height, intPenStyle, intPenWidth, intColor) {
 
- 			return this.AddItemArray(3, Top, Left, Width, Height, null, null, 0, intPenStyle, intPenWidth,
 
- 				intColor, null);
 
- 		},
 
- 		ADD_PRINT_TABLE: function(top, left, width, height, strHTML) {
 
- 			return this.AddItemArray(6, top, left, width, height, strHTML);
 
- 		},
 
- 		ADD_PRINT_TBURL: function(top, left, width, height, strURL) {
 
- 			return this.AddItemArray(7, top, left, width, height, strURL);
 
- 		},
 
- 		ADD_PRINT_URL: function(top, left, width, height, strURL) {
 
- 			return this.AddItemArray(5, top, left, width, height, strURL);
 
- 		},
 
- 		ADD_PRINT_IMAGE: function(top, left, width, height, strHTML) {
 
- 			return this.AddItemArray(8, top, left, width, height, strHTML);
 
- 		},
 
- 		ADD_PRINT_CHART: function(top, left, width, height, strChartTypess, strHTML) {
 
- 			return this.AddItemArray(10, top, left, width, height, strHTML, null, null, null, null, null,
 
- 				null, null, strChartTypess);
 
- 		},
 
- 		ADD_PRINT_PDF: function(top, left, width, height, strContent) {
 
- 			if (!this.blIslocal && strContent[1] == ":")
 
- 				alert("Unable to print or view remote service files");
 
- 			else
 
- 				return this.AddItemArray(11, top, left, width, height, strContent);
 
- 		},
 
- 		SET_PRINT_PROPERTY: function(ItemNO, intPageType, intHorzOrient, intVertOrient) {
 
- 			this.SET_PRINT_STYLEA(ItemNO, "ItemType", intPageType);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "HOrient", intHorzOrient);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "VOrient", intVertOrient);
 
- 		},
 
- 		SET_PRINT_PROPERTYA: function(ItemName, intPageType, intHorzOrient, intVertOrient) {
 
- 			this.SET_PRINT_PROPERTY(ItemName, intPageType, intHorzOrient, intVertOrient);
 
- 		},
 
- 		SET_PRINT_STYLE: function(strStyleName, StyleValue) {
 
- 			if (strStyleName === undefined || strStyleName === null) strStyleName = "";
 
- 			if (StyleValue === undefined || StyleValue === null) StyleValue = "";
 
- 			if (strStyleName === "") return false;
 
- 			strStyleName = strStyleName.toLowerCase();
 
- 			this.defStyleJson[strStyleName] = StyleValue;
 
- 		},
 
- 		SET_PRINT_STYLEA: function(ItemNo, strKey, Value) {
 
- 			if (ItemNo === undefined || ItemNo === null) ItemNo = "";
 
- 			if (strKey === undefined || strKey === null) strKey = "";
 
- 			if (Value === undefined || Value === null) Value = "";
 
- 			if (ItemNo === "" || strKey === "") return false;
 
- 			if (this.ItemDatas["count"] <= 0) {
 
- 				if (this.PageData["add_print_program_data"] !== undefined) {
 
- 					this.ItemCNameStyles[strKey.toLowerCase() + "-" + ItemNo] = Value;
 
- 					return true;
 
- 				} else {
 
- 					return false;
 
- 				}
 
- 			}
 
- 			strKey = strKey.toLowerCase();
 
- 			if (strKey == "type") return false;
 
- 			var blResult = false;
 
- 			if (ItemNo == 0) {
 
- 				ItemNo = this.ItemDatas["count"];
 
- 			}
 
- 			for (var vItemNO in this.ItemDatas) {
 
- 				var ItemName = this.ItemDatas[vItemNO]["itemname"];
 
- 				if ((ItemNo == vItemNO) || (ItemNo == ItemName) || ((typeof ItemNo === "string") && (
 
- 						typeof ItemName ===
 
- 						"string") && (ItemNo.toUpperCase() == ItemName.toUpperCase()))) {
 
- 					this.ItemDatas[vItemNO][strKey] = Value;
 
- 					blResult = true;
 
- 				}
 
- 			}
 
- 			if (blResult) return true;
 
- 			return false;
 
- 		},
 
- 		SET_PRINT_TEXT_STYLE: function(ItemNO, strFontName, intSize, intBold, intItalic, intUnderline,
 
- 			intAlignment) {
 
- 			this.SET_PRINT_STYLEA(ItemNO, "fontname", strFontName);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "fontsize", intSize);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "bold", intBold);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "italic", intItalic);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "underline", intUnderline);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "alignment", intAlignment);
 
- 		},
 
- 		SET_PRINT_TEXT_STYLEA: function(ItemNO, strFontName, intSize, intBold, intItalic, intUnderline,
 
- 			intAlignment, Color) {
 
- 			this.SET_PRINT_TEXT_STYLE(ItemNO, strFontName, intSize, intBold, intItalic, intUnderline,
 
- 				intAlignment);
 
- 			this.SET_PRINT_STYLEA(ItemNO, "fontcolor", Color);
 
- 		},
 
- 		SET_PRINT_TEXT_STYLEB: function(ItemNO, strFontName, intSize, intBold, intItalic, intUnderline,
 
- 			intAlignment, Color) {
 
- 			this.SET_PRINT_TEXT_STYLEA(ItemNO, strFontName, intSize, intBold, intItalic, intUnderline,
 
- 				intAlignment, Color);
 
- 		},
 
- 		NEWPAGE: function() {
 
- 			this.NewPage();
 
- 		},
 
- 		NewPage: function() {
 
- 			var blSomeNormal = false;
 
- 			var noItemType;
 
- 			for (var vItemNO in this.ItemDatas) {
 
- 				if (vItemNO == "count") noItemType = false;
 
- 				else noItemType = true;
 
- 				for (var vItemxx in this.ItemDatas[vItemNO]) {
 
- 					if (vItemxx == "itemtype") {
 
- 						noItemType = false;
 
- 						if ((this.ItemDatas[vItemNO][vItemxx] == 0) || (this.ItemDatas[vItemNO][vItemxx] ==
 
- 								4)) {
 
- 							blSomeNormal = true;
 
- 							break;
 
- 						}
 
- 					}
 
- 				}
 
- 				if (noItemType) blSomeNormal = true;
 
- 				if (blSomeNormal) break;
 
- 			}
 
- 			if (blSomeNormal) this.defStyleJson["beginpage"] = this.defStyleJson["beginpage"] + 1;
 
- 		},
 
- 		NEWPAGEA: function() {
 
- 			this.NewPageA();
 
- 		},
 
- 		NewPageA: function() {
 
- 			var blSomeNormal = false;
 
- 			var noItemType;
 
- 			for (var vItemNO in this.ItemDatas) {
 
- 				if (vItemNO == "count") noItemType = false;
 
- 				else noItemType = true;
 
- 				for (var vItemxx in this.ItemDatas[vItemNO]) {
 
- 					if (vItemxx == "itemtype") {
 
- 						noItemType = false;
 
- 						if ((this.ItemDatas[vItemNO][vItemxx] == 0) || (this.ItemDatas[vItemNO][vItemxx] ==
 
- 								4)) {
 
- 							blSomeNormal = true;
 
- 							break;
 
- 						}
 
- 					}
 
- 				}
 
- 				if (noItemType) blSomeNormal = true;
 
- 				if (blSomeNormal) break;
 
- 			}
 
- 			if (blSomeNormal) this.defStyleJson["beginpagea"] = this.defStyleJson["beginpagea"] + 1;
 
- 		},
 
- 		PREVIEW: function(destView, iWidth, iHigh, iOption) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if ((!destView) && (this.blIslocal) && (!this.PageData["printersubid"])) {
 
- 				if (this.DoPostDatas("preview") == true) {
 
- 					this.Result = null;
 
- 					this.GetLastResult(true);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			} else {
 
- 				if (this.DoPostDatas("cpreview") == true) {
 
- 					this.DoCPreview(destView, iWidth, iHigh, iOption);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		PRINT: function() {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.DoPostDatas("print") == true)
 
- 				tResult = this.GetTaskID();
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_PRINTER_COUNT: function() {
 
- 			if (this.Printers === undefined) return 0;
 
- 			else {
 
- 				return this.Printers["list"].length;
 
- 			}
 
- 		},
 
- 		GET_PRINTER_NAME: function(intNO) {
 
- 			if (this.Printers === undefined) return "";
 
- 			else {
 
- 				if (typeof intNO == "string" && intNO.indexOf(":") > -1) {
 
- 					var strPPname = intNO.slice(intNO.indexOf(":") + 1);
 
- 					intNO = intNO.slice(0, intNO.indexOf(":"));
 
- 					if (intNO == -1)
 
- 						return this.Printers["list"][this.Printers["default"]][strPPname];
 
- 					else
 
- 						return this.Printers["list"][intNO][strPPname];
 
- 				} else {
 
- 					if (intNO == -1)
 
- 						return this.Printers["list"][this.Printers["default"]].name;
 
- 					else
 
- 					if (intNO >= 0 && intNO < this.Printers["list"].length)
 
- 						return this.Printers["list"][intNO].name;
 
- 					else return "Printer NO. overflow";
 
- 				}
 
- 			}
 
- 		},
 
- 		GET_PAGESIZES_LIST: function(PNameIndx, Split, ListName, NameOrID) {
 
- 			if (!ListName) ListName = "pagelist";
 
- 			if (!NameOrID) NameOrID = "name";
 
- 			if (this.Printers === undefined) return "";
 
- 			else {
 
- 				if (PNameIndx == -1) PNameIndx = this.Printers["list"][this.Printers["default"]].name;
 
- 				for (var intNO in this.Printers["list"]) {
 
- 					if (PNameIndx == intNO || PNameIndx == this.Printers["list"][intNO].name) {
 
- 						var strList = "";
 
- 						for (var iPNO in this.Printers["list"][intNO][ListName]) {
 
- 							if ((NameOrID == "id") && this.Printers["list"][intNO][ListName][iPNO].id) {
 
- 								if (strList === "") strList = this.Printers["list"][intNO][ListName][iPNO]
 
- 									.id;
 
- 								else
 
- 									strList = strList + Split + this.Printers["list"][intNO][ListName][iPNO]
 
- 									.id;
 
- 							} else {
 
- 								if (strList === "") strList = this.Printers["list"][intNO][ListName][iPNO]
 
- 									.name;
 
- 								else
 
- 									strList = strList + Split + this.Printers["list"][intNO][ListName][iPNO]
 
- 									.name;
 
- 							}
 
- 						}
 
- 						return strList;
 
- 					}
 
- 				}
 
- 				return "";
 
- 			}
 
- 		},
 
- 		SET_PRINTER_INDEX: function(strName, strKeyModeName) {
 
- 			if (this.Printers === undefined) return false;
 
- 			else {
 
- 				if (!strKeyModeName) strKeyModeName = "printerindex";
 
- 				strName = strName + "";
 
- 				strName = strName.replace(/^\s+|\s+$/g, "");
 
- 				var iPos = strName.indexOf(",");
 
- 				var strNameOrNO = strName;
 
- 				if (iPos > -1) strNameOrNO = strName.slice(0, iPos);
 
- 				if (strNameOrNO == "-1") {
 
- 					this.PageData[strKeyModeName] = this.Printers["default"];
 
- 					if (iPos > -1) this.PageData["printersubid"] = strName.slice(iPos + 1);
 
- 					return true;
 
- 				} else {
 
- 					for (var vNO in this.Printers["list"]) {
 
- 						var strPrinterName = this.Printers["list"][vNO].name;
 
- 						if (!strPrinterName) continue;
 
- 						if ((strPrinterName.replace(/\\/g, "") == strNameOrNO.replace(/\\/g, "")) || (vNO ==
 
- 								strNameOrNO)) {
 
- 							this.PageData[strKeyModeName] = strPrinterName;
 
- 							if (iPos > -1) this.PageData["printersubid"] = strName.slice(iPos + 1);
 
- 							return true;
 
- 						}
 
- 					}
 
- 					return false;
 
- 				}
 
- 			}
 
- 		},
 
- 		SET_PRINTER_INDEXA: function(strName) {
 
- 			return this.SET_PRINTER_INDEX(strName, "printerindexa");
 
- 		},
 
- 		PRINT_DESIGN: function() {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (this.DoPostDatas("print_design") == true) {
 
- 					this.Result = null;
 
- 					this.GetLastResult(true);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			} else alert(this.altMessageNoPrintDesign);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		PRINT_SETUP: function() {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (this.DoPostDatas("print_setup") == true) {
 
- 					this.Result = null;
 
- 					this.GetLastResult(true);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			} else alert(this.altMessageNoPrintSetup);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		SET_PRINT_PAGESIZE: function(intOrient, PageWidth, PageHeight, strPageName) {
 
- 			if (intOrient !== undefined && intOrient !== null) this.PageData["orient"] = intOrient;
 
- 			if (PageWidth !== undefined && PageWidth !== null) this.PageData["pagewidth"] = PageWidth;
 
- 			if (PageHeight !== undefined && PageHeight !== null) this.PageData["pageheight"] = PageHeight;
 
- 			if (strPageName !== undefined && strPageName !== null) this.PageData["pagename"] = strPageName;
 
- 		},
 
- 		SET_PRINT_COPIES: function(intCopies) {
 
- 			if (intCopies !== undefined && intCopies !== null) {
 
- 				this.PageData["printcopies"] = intCopies;
 
- 				return true;
 
- 			}
 
- 		},
 
- 		SELECT_PRINTER: function(blPrint) {
 
- 			this.SelectBox.create(388, 240, !blPrint);
 
- 			return true;
 
- 		},
 
- 		PRINTA: function(blPrintB, sView) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (!sView && this.blIslocal) {
 
- 				this.Result = null;
 
- 				if (blPrintB) {
 
- 					if (this.DoPostDatas("printb") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				} else {
 
- 					if (this.DoPostDatas("printa") == true) {
 
- 						this.GetLastResult(true);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 				this.DoInit();
 
- 				this.blWorking = false;
 
- 			} else {
 
- 				this.SELECT_PRINTER(true);
 
- 			}
 
- 			return tResult;
 
- 		},
 
- 		PRINTAOK: function(iPrintIndex, iPrintCopies, iStartNO, iEndNO, onlySelect) {
 
- 			this.SET_PRINTER_INDEX(iPrintIndex);
 
- 			this.SET_PRINT_COPIES(iPrintCopies);
 
- 			if (iStartNO !== undefined && iStartNO !== 0) this.SET_PRINT_MODE("PRINT_START_PAGE", iStartNO);
 
- 			if (iEndNO !== undefined && iEndNO !== 0) this.SET_PRINT_MODE("PRINT_END_PAGE", iEndNO);
 
- 			if (!onlySelect) this.PRINT();
 
- 			else {
 
- 				this.blTmpSelectedIndex = iPrintIndex;
 
- 				if (CLODOP.On_Return) {
 
- 					var selfFunc = CLODOP.On_Return;
 
- 					CLODOP.On_Return(0, iPrintIndex);
 
- 					if (!CLODOP.On_Return_Remain && selfFunc === CLODOP.On_Return) CLODOP.On_Return = null;
 
- 				}
 
- 			}
 
- 		},
 
- 		SET_LICENSES: function(strCompanyName, strLicense, strLicenseA, strLicenseB) {
 
- 			if ((strCompanyName == 'THIRD LICENSE') && (strLicense == "")) {
 
- 				if (strLicenseA && strLicenseA !== "") this.PageDataEx["licensec"] = strLicenseA;
 
- 				if (strLicenseB && strLicenseB !== "") this.PageDataEx["licensed"] = strLicenseB;
 
- 			} else if ((strCompanyName == 'LICENSE TETCODE') && (strLicense == "") && (strLicenseB == "")) {
 
- 				if (strLicenseA && strLicenseA !== "") this.PageDataEx["Licensetetcode"] = strLicenseA;
 
- 			} else {
 
- 				if (strCompanyName && strCompanyName !== "") this.PageDataEx["companyname"] =
 
- 					strCompanyName;
 
- 				if (strLicense && strLicense !== "") this.PageDataEx["license"] = strLicense;
 
- 				if (strLicenseA && strLicenseA !== "") this.PageDataEx["licensea"] = strLicenseA;
 
- 				if (strLicenseB && strLicenseB !== "") this.PageDataEx["licenseb"] = strLicenseB;
 
- 			}
 
- 		},
 
- 		PRINTB: function() {
 
- 			return this.PRINTA(true);
 
- 		},
 
- 		PREVIEWA: function() {
 
- 			return this.PREVIEW();
 
- 		},
 
- 		PREVIEWB: function() {
 
- 			return this.PREVIEW();
 
- 		},
 
- 		ADD_PRINT_SETUP_BKIMG: function(strContent) {
 
- 			if (strContent !== undefined && strContent !== null) {
 
- 				this.PageData["setup_bkimg"] = strContent;
 
- 				return true;
 
- 			}
 
- 		},
 
- 		SET_PREVIEW_WINDOW: function(intDispMode, intToolMode, blDirectPrint, oWidth, oHeight,
 
- 			strPButtonCaptoin) {
 
- 			if (intDispMode !== undefined && intDispMode !== null) this.PageData["pvw_dispmode"] =
 
- 				intDispMode;
 
- 			if (intToolMode !== undefined && intToolMode !== null) this.PageData["pvw_toolmode"] =
 
- 				intToolMode;
 
- 			if (blDirectPrint !== undefined && blDirectPrint !== null) this.PageData["pvw_directprint"] =
 
- 				blDirectPrint;
 
- 			if (oWidth !== undefined && oWidth !== null) this.PageData["pvw_width"] = oWidth;
 
- 			if (oHeight !== undefined && oHeight !== null) this.PageData["pvw_height"] = oHeight;
 
- 			if (strPButtonCaptoin !== undefined && strPButtonCaptoin !== null) this.PageData[
 
- 				"pvw_puttoncaptoin"] = strPButtonCaptoin;
 
- 		},
 
- 		SET_PREVIEW_MODE: function(ModeValue) {
 
- 			if (ModeValue !== undefined) this.PageData["pvw_preview_mode"] = ModeValue;
 
- 		},
 
- 		SET_SHOW_MODE: function(strModeType, ModeValue) {
 
- 			if (strModeType === undefined || strModeType === null) strModeType = "";
 
- 			if (ModeValue === undefined || ModeValue === null) ModeValue = "";
 
- 			if (strModeType === "") return false;
 
- 			strModeType = strModeType.toLowerCase();
 
- 			this.PageData['shwmod_' + strModeType] = ModeValue;
 
- 		},
 
- 		SAVE_TO_FILE: function(strFileName) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (strFileName) {
 
- 					this.PageData["stf_file_name"] = strFileName;
 
- 					if (this.DoPostDatas("savetofile") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 			} else alert(this.altMessageNoWriteFile);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		SET_SAVE_MODE: function(strModeType, ModeValue) {
 
- 			if (strModeType === undefined || strModeType === null) strModeType = "";
 
- 			if (ModeValue === undefined || ModeValue === null) ModeValue = "";
 
- 			if (strModeType === "") return false;
 
- 			strModeType = strModeType.toLowerCase();
 
- 			this.PageData['stfmod_' + strModeType] = ModeValue;
 
- 		},
 
- 		SEND_PRINT_RAWDATA: function(strRawData) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (strRawData !== undefined) {
 
- 				this.PageData["raw_print_data"] = strRawData;
 
- 				if (this.DoPostDatas("sendrawdata") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		WRITE_FILE_TEXT: function(WriteMode, strFileName, strText) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (strFileName !== undefined && strText !== undefined) {
 
- 					this.PageData["write_file_mode"] = WriteMode;
 
- 					this.PageData["write_file_name"] = strFileName;
 
- 					this.PageData["write_file_text"] = strText;
 
- 					if (this.DoPostDatas("writefiletext") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 			} else alert(this.altMessageNoWriteFile);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_DIALOG_VALUE: function(oType, oPreValue) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (oType !== undefined && oPreValue !== undefined) {
 
- 				if (this.blIslocal) {
 
- 					this.PageData["dialog_type"] = oType;
 
- 					this.PageData["dialog_value"] = oPreValue;
 
- 					if (this.DoPostDatas("dialog") == true) {
 
- 						this.GetLastResult(true);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				} else alert(this.altMessageNoReadWriteFile);
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		WRITE_PORT_DATA: function(strPortName, strData) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (strPortName !== undefined && strData !== undefined) {
 
- 				this.PageData["write_port_name"] = strPortName;
 
- 				this.PageData["write_port_data"] = strData;
 
- 				if (this.DoPostDatas("writeportdata") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		READ_PORT_DATA: function(strPortName) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (strPortName !== undefined) {
 
- 				this.PageData["read_port_name"] = strPortName;
 
- 				if (this.DoPostDatas("readportdata") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_SYSTEM_INFO: function(InfoType) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (InfoType !== undefined) {
 
- 				this.PageData["system_info_type"] = InfoType;
 
- 				if (this.DoPostDatas("getsysteminfo") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_FILE_TEXT: function(strFileName) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (strFileName !== undefined) {
 
- 					this.PageData["get_file_name"] = strFileName;
 
- 					if (this.DoPostDatas("getfiletext") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 			} else alert(this.altMessageNoReadFile);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		IS_FILE_EXIST: function(strFileName) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (strFileName !== undefined) {
 
- 					this.PageData["file_exist_name"] = strFileName;
 
- 					if (this.DoPostDatas("isfileexist") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 			} else alert(this.altMessageNoReadFile);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_FILE_TIME: function(strFileName) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (strFileName !== undefined) {
 
- 					this.PageData["file_time_name"] = strFileName;
 
- 					if (this.DoPostDatas("getfiletime") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 			} else alert(this.altMessageNoReadFile);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_PRINT_INIFFNAME: function(strPrintTaskName) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (this.blIslocal) {
 
- 				if (strPrintTaskName !== undefined) {
 
- 					this.PageData["iniff_task_name"] = strPrintTaskName;
 
- 					if (this.DoPostDatas("getiniffname") == true) {
 
- 						this.GetLastResult(false);
 
- 						tResult = this.GetTaskID();
 
- 					}
 
- 				}
 
- 			} else alert(this.altMessageNoReadFile);
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		GET_VALUE: function(ValueType, ValueIndex) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (ValueType !== undefined && ValueIndex !== undefined) {
 
- 				this.PageData["get_value_type"] = ValueType;
 
- 				this.PageData["get_value_index"] = ValueIndex;
 
- 				if (this.DoPostDatas("dogetvalue") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		ADD_PRINT_DATA: function(DataType, oValue) {
 
- 			if (DataType !== undefined && oValue !== null) {
 
- 				if (DataType.toLowerCase().indexOf("programdata") > -1) {
 
- 					this.PageData["add_print_program_data"] = oValue;
 
- 					return true;
 
- 				}
 
- 			}
 
- 		},
 
- 		SHOW_CHART: function() {},
 
- 		DO_ACTION: function(strActName, strActValue) {
 
- 			if (this.blWorking) {
 
- 				alert(this.altMessageBusy);
 
- 				return null;
 
- 			}
 
- 			var tResult = null;
 
- 			if (strActName !== undefined && strActValue !== undefined) {
 
- 				this.PageData["do_action_name"] = strActName;
 
- 				this.PageData["do_action_value"] = strActValue;
 
- 				if (this.DoPostDatas("doaction") == true) {
 
- 					this.GetLastResult(false);
 
- 					tResult = this.GetTaskID();
 
- 				}
 
- 			}
 
- 			this.DoInit();
 
- 			this.blWorking = false;
 
- 			return tResult;
 
- 		},
 
- 		Create_Printer_List: function(oElement, blNoDetailForAO) {
 
- 			while (oElement.childNodes.length > 0) {
 
- 				var children = oElement.childNodes;
 
- 				for (var i = 0; i < children.length; i++)
 
- 					oElement.removeChild(children[i]);
 
- 			};
 
- 			var iCount = this.GET_PRINTER_COUNT();
 
- 			var iIndex = 0;
 
- 			for (var i = 0; i < iCount; i++) {
 
- 				var option = document.createElement('option');
 
- 				option.innerHTML = this.GET_PRINTER_NAME(i);
 
- 				option.value = iIndex;
 
- 				oElement.appendChild(option);
 
- 				iIndex++;
 
- 				if (this.VERSION_EXT) {
 
- 					if (this.Printers["list"][i]["subdevlist"].length > 0) {
 
- 						if (blNoDetailForAO) option.innerHTML = option.innerHTML + ',..';
 
- 						else {
 
- 							var strDrivename = option.innerHTML;
 
- 							for (var j = 0; j < this.Printers["list"][i]["subdevlist"].length; j++) {
 
- 								var strDevID = this.Printers["list"][i]["subdevlist"][j].id;
 
- 								var strDevName = this.Printers["list"][i]["subdevlist"][j].name;
 
- 								if (j == 0) {
 
- 									option.innerHTML = strDrivename + ',' + strDevName;
 
- 									option.value = strDrivename + ',' + strDevID + ';' + strDevName;
 
- 								} else {
 
- 									option = document.createElement('option');
 
- 									option.innerHTML = strDrivename + ',' + strDevName;
 
- 									option.value = strDrivename + ',' + strDevID + ';' + strDevName;
 
- 									oElement.appendChild(option);
 
- 									iIndex++;
 
- 									if (iIndex >= 100) return;
 
- 								}
 
- 							}
 
- 						}
 
- 					}
 
- 				}
 
- 			}
 
- 		},
 
- 		Create_PageSize_List: function(oElement, printIndex) {
 
- 			while (oElement.childNodes.length > 0) {
 
- 				var children = oElement.childNodes;
 
- 				for (var i = 0; i < children.length; i++)
 
- 					oElement.removeChild(children[i]);
 
- 			};
 
- 			var strPageSizeList = CLODOP.GET_PAGESIZES_LIST(printIndex, "\n");
 
- 			var Options = new Array();
 
- 			Options = strPageSizeList.split("\n");
 
- 			for (var i in Options) {
 
- 				var option = document.createElement('option');
 
- 				option.innerHTML = Options[i];
 
- 				option.value = Options[i];
 
- 				oElement.appendChild(option);
 
- 			}
 
- 		},
 
- 		SET_BRIDGE_INDEX: function(strValue) {
 
- 			if (this.Printers === undefined) return false;
 
- 			else {
 
- 				strValue = (strValue + "").replace(/^\s+|\s+$/g, "");
 
- 				for (var vNO in this.Printers["list"]) {
 
- 					var strDriverOrName = this.Printers["list"][vNO].name;
 
- 					if (strDriverOrName == "(AO)Client-Bridge Driver") {
 
- 						this.PageData["printerindex"] = vNO;
 
- 						this.PageData["printersubid"] = strValue;
 
- 						return true;
 
- 					}
 
- 				}
 
- 				return false;
 
- 			}
 
- 		},
 
- 		Get_AOPrinters_List: function(DriverNameOrIndex, strListName, strSplit) {
 
- 			if (!strSplit) strSplit = "\n";
 
- 			if (!strListName) strListName = "name";
 
- 			return CLODOP.GET_PAGESIZES_LIST(DriverNameOrIndex, strSplit, "subdevlist", strListName);
 
- 		},
 
- 		Get_AOBridges_List: function(DriverNameOrIndex, strListName, strSplit) {
 
- 			return CLODOP.Get_AOPrinters_List(DriverNameOrIndex, strListName, strSplit);
 
- 		},
 
- 		Get_AOBridge_List: function(strListName, strSplit) {
 
- 			return CLODOP.Get_AOPrinters_List("(AO)Client-Bridge Driver", strListName, strSplit);
 
- 		},
 
- 		Get_AOBridge_SubPrinters_List: function(BridgeNameOrIndex, strListName, strSplit, DriverNameOrIndex) {
 
- 			if (!DriverNameOrIndex) DriverNameOrIndex = "(AO)Client-Bridge Driver";
 
- 			if (!strSplit) strSplit = "\n";
 
- 			if (!strListName) strListName = "name";
 
- 			for (var iDrvNO in this.Printers["list"]) {
 
- 				if (DriverNameOrIndex == iDrvNO || DriverNameOrIndex == this.Printers["list"][iDrvNO]
 
- 					.name) {
 
- 					for (var iBdgNO in this.Printers["list"][iDrvNO]["subdevlist"]) {
 
- 						var BridgeID = this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO].id;
 
- 						var BridgeName = this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO].name;
 
- 						if (BridgeNameOrIndex == iBdgNO || BridgeNameOrIndex == BridgeID + ";" +
 
- 							BridgeName) {
 
- 							var strList = "";
 
- 							for (var iSsbPNO in this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO]
 
- 									.ssbprinter[
 
- 										"list"]) {
 
- 								if (iSsbPNO != "0") strList = strList + strSplit;
 
- 								if (strListName.toLowerCase() == "id") strList = strList + iSsbPNO;
 
- 								else
 
- 									strList = strList + this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO]
 
- 									.ssbprinter["list"][iSsbPNO].name;
 
- 							}
 
- 							return strList;
 
- 						}
 
- 					}
 
- 				}
 
- 			}
 
- 			return "";
 
- 		},
 
- 		Get_AOBridge_SubPrinters_PageSize_List: function(BridgeNameOrIndex, SubPrinterNameOrIndex, strSplit,
 
- 			DriverNameOrIndex) {
 
- 			if (!DriverNameOrIndex) DriverNameOrIndex = "(AO)Client-Bridge Driver";
 
- 			if (!strSplit) strSplit = "\n";
 
- 			for (var iDrvNO in this.Printers["list"]) {
 
- 				if (DriverNameOrIndex == iDrvNO || DriverNameOrIndex == this.Printers["list"][iDrvNO]
 
- 					.name) {
 
- 					for (var iBdgNO in this.Printers["list"][iDrvNO]["subdevlist"]) {
 
- 						var BridgeID = this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO].id;
 
- 						var BridgeName = this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO].name;
 
- 						if (BridgeNameOrIndex == iBdgNO || BridgeNameOrIndex == BridgeID + ";" +
 
- 							BridgeName) {
 
- 							for (var iSsbPNO in this.Printers["list"][iDrvNO]["subdevlist"][iBdgNO]
 
- 									.ssbprinter[
 
- 										"list"]) {
 
- 								if (SubPrinterNameOrIndex == iSsbPNO || SubPrinterNameOrIndex == this
 
- 									.Printers[
 
- 										"list"][iDrvNO]["subdevlist"][iBdgNO].ssbprinter["list"][iSsbPNO]
 
- 									.name) {
 
- 									var strList = "";
 
- 									for (var iPageSizeNO in this.Printers["list"][iDrvNO]["subdevlist"][
 
- 											iBdgNO
 
- 										].ssbprinter["list"][iSsbPNO]["pagelist"]) {
 
- 										if (iPageSizeNO != "0") strList = strList + strSplit;
 
- 										strList = strList + this.Printers["list"][iDrvNO]["subdevlist"][
 
- 												iBdgNO
 
- 											].ssbprinter["list"][iSsbPNO]["pagelist"][iPageSizeNO]
 
- 											.name;
 
- 									}
 
- 									return strList;
 
- 								};
 
- 							}
 
- 						}
 
- 					}
 
- 				}
 
- 			}
 
- 			return "";
 
- 		},
 
- 		AddItemArray: function(type, top, left, width, height, strContent, itemname, ShapeType, intPenStyle,
 
- 			intPenWidth, intColor, isLinePosition, BarType, strChartTypess) {
 
- 			if (top === undefined || left === undefined || width === undefined || height === undefined ||
 
- 				strContent === undefined) {
 
- 				return false;
 
- 			}
 
- 			var sCount = this.ItemDatas["count"];
 
- 			sCount++;
 
- 			var oneItem = {};
 
- 			for (var vstyle in this.defStyleJson) {
 
- 				oneItem[vstyle] = this.defStyleJson[vstyle];
 
- 			}
 
- 			oneItem["type"] = type;
 
- 			oneItem["top"] = top;
 
- 			oneItem["left"] = left;
 
- 			oneItem["width"] = width;
 
- 			oneItem["height"] = height;
 
- 			if (strContent != null) {
 
- 				if (typeof strContent === "string" && strContent.indexOf(this.DelimChar) > -1)
 
- 					oneItem["content"] = strContent.replace(new RegExp(this.DelimChar, 'g'), '');
 
- 				else
 
- 					oneItem["content"] = strContent;
 
- 			}
 
- 			if ((itemname !== undefined) && (itemname != null)) oneItem["itemname"] = itemname + "";
 
- 			if ((ShapeType !== undefined) && (ShapeType != null)) oneItem["shapetype"] = ShapeType;
 
- 			if ((intPenStyle !== undefined) && (intPenStyle != null)) oneItem["penstyle"] = intPenStyle;
 
- 			if ((intPenWidth !== undefined) && (intPenWidth != null)) oneItem["penwidth"] = intPenWidth;
 
- 			if ((intColor !== undefined) && (intColor != null)) oneItem["fontcolor"] = intColor;
 
- 			if ((isLinePosition !== undefined) && (isLinePosition != null)) oneItem["lineposition"] = "1";
 
- 			if ((BarType !== undefined) && (BarType != null)) oneItem["fontname"] = BarType;
 
- 			if ((strChartTypess !== undefined) && (strChartTypess != null)) oneItem["charttypess"] =
 
- 				strChartTypess;
 
- 			oneItem["beginpage"] = this.defStyleJson["beginpage"];
 
- 			oneItem["beginpagea"] = this.defStyleJson["beginpagea"];
 
- 			this.ItemDatas["count"] = sCount;
 
- 			this.ItemDatas[sCount] = oneItem;
 
- 			this.blNormalItemAdded = true;
 
- 			return true;
 
- 		},
 
- 		RemoveIframes: function() {
 
- 			var obody = document.body || document.getElementsByTagName("body")[0] || document
 
- 				.documentElement;
 
- 			try {
 
- 				for (var i = 0; i < this.Iframes.length; i++) {
 
- 					var now = (new Date()).getTime();
 
- 					if ((now - this.Iframes[i]["time"]) > this.timeThreshold * 60000) {
 
- 						obody.removeChild(this.Iframes[i]["iframe"]);
 
- 						this.Iframes.splice(i, 1);
 
- 					}
 
- 				}
 
- 			} catch (err) {};
 
- 		},
 
- 		AddInputElement: function(odocument, oform, name, value) {
 
- 			if (value !== undefined) {
 
- 				var oinput = odocument.createElement("input");
 
- 				oinput.name = name;
 
- 				oinput.type = "hidden";
 
- 				oinput.value = value;
 
- 				oform.appendChild(oinput);
 
- 			}
 
- 		},
 
- 		createPostDataString: function(afterPostAction) {
 
- 			var strData = "act=" + afterPostAction + this.DelimChar;
 
- 			strData = strData + "browseurl=" + window.location.href + this.DelimChar;
 
- 			for (var vMode in this.PageDataEx) {
 
- 				strData = strData + vMode + "=" + this.PageDataEx[vMode] + this.DelimChar;
 
- 			}
 
- 			var PrintModeNamess = "";
 
- 			for (var vMode in this.PageData) {
 
- 				strData = strData + vMode + "=" + this.PageData[vMode] + this.DelimChar;
 
- 				if (vMode != "top" && vMode != "left" && vMode != "width" && vMode != "height" && vMode !=
 
- 					"printtask" && vMode != "printerindex" && vMode != "printerindexa" && vMode !=
 
- 					"printersubid" && vMode != "orient" && vMode != "pagewidth" && vMode != "pageheight" &&
 
- 					vMode != "pagename" && vMode != "printcopies" && vMode != "setup_bkimg")
 
- 					PrintModeNamess = PrintModeNamess + ";" + vMode;
 
- 			}
 
- 			if (PrintModeNamess !== "")
 
- 				strData = strData + "printmodenames=" + PrintModeNamess + this.DelimChar;
 
- 			var StyleClassNamess = "";
 
- 			for (var vClassStyle in this.ItemCNameStyles) {
 
- 				strData = strData + vClassStyle + "=" + this.ItemCNameStyles[vClassStyle] + this.DelimChar;
 
- 				StyleClassNamess = StyleClassNamess + ";" + vClassStyle;
 
- 			}
 
- 			if (StyleClassNamess !== "")
 
- 				strData = strData + "printstyleclassnames=" + StyleClassNamess + this.DelimChar;
 
- 			strData = strData + "itemcount=" + this.ItemDatas["count"] + this.DelimChar;
 
- 			for (var vItemNO in this.ItemDatas) {
 
- 				var ItemStyless = "";
 
- 				for (var vItemxx in this.ItemDatas[vItemNO]) {
 
- 					if (vItemxx != "beginpage" && vItemxx != "beginpagea" && vItemxx != "type" && vItemxx !=
 
- 						"top" && vItemxx != "left" && vItemxx != "width" && vItemxx != "height")
 
- 						ItemStyless = ItemStyless + ";" + vItemxx;
 
- 				}
 
- 				strData = strData + vItemNO + "_itemstylenames" + "=" + ItemStyless + this.DelimChar;
 
- 				for (var vItemxx in this.ItemDatas[vItemNO]) {
 
- 					strData = strData + vItemNO + "_" + vItemxx + "=" + this.ItemDatas[vItemNO][vItemxx] +
 
- 						this.DelimChar;
 
- 				}
 
- 			}
 
- 			return strData;
 
- 		},
 
- 		wsDoPostDatas: function(afterPostAction) {
 
- 			var strData = "charset=丂" + this.DelimChar;
 
- 			strData = strData + "tid=" + this.GetTaskID() + this.DelimChar;
 
- 			strData = strData + this.createPostDataString(afterPostAction);
 
- 			return this.wsSend("post:" + strData);
 
- 		},
 
- 		DoPostDatas: function(afterPostAction) {
 
- 			if (this.OBO_Mode && this.blOneByone) {
 
- 				alert(this.altMessageSomeWindowExist);
 
- 				return false;
 
- 			}
 
- 			this.blWorking = true;
 
- 			if (this.blTmpSelectedIndex !== null)
 
- 				this.SET_PRINTER_INDEX(this.blTmpSelectedIndex);
 
- 			if (this.SocketEnable) {
 
- 				return this.wsDoPostDatas(afterPostAction);
 
- 			}
 
- 			this.RemoveIframes();
 
- 			var obody = document.body || document.getElementsByTagName("body")[0] || document
 
- 				.documentElement;
 
- 			var oiframe = document.createElement("iframe");
 
- 			oiframe.setAttribute("src", "about:blank");
 
- 			oiframe.setAttribute("style", "display:none");
 
- 			oiframe.height = 0;
 
- 			obody.appendChild(oiframe);
 
- 			var contentdocument = oiframe.contentWindow.document;
 
- 			contentdocument.write("<form action='" + this.strHostURI +
 
- 				"/c_dopostdatas' method='post' enctype='application/x-www-form-urlencoded'></form>");
 
- 			var oform = contentdocument.getElementsByTagName("form")[0];
 
- 			this.AddInputElement(contentdocument, oform, "charset", "丂");
 
- 			this.AddInputElement(contentdocument, oform, "tid", this.GetTaskID());
 
- 			this.AddInputElement(contentdocument, oform, "post", this.createPostDataString(
 
- 			afterPostAction));
 
- 			oform.submit();
 
- 			var IframeMS = {};
 
- 			IframeMS["time"] = (new Date()).getTime();
 
- 			IframeMS["iframe"] = oiframe;
 
- 			this.Iframes.push(IframeMS);
 
- 			return true;
 
- 		},
 
- 		GetLastResult: function(blFOneByone) {
 
- 			if (blFOneByone) this.blOneByone = true;
 
- 			if (this.SocketEnable) {
 
- 				return true;
 
- 			}
 
- 			var url = this.strHostURI + "/c_lastresult.js";
 
- 			url = url + "?times=" + (new Date().getTime());
 
- 			url = url + "&tid=" + this.GetTaskID();
 
- 			url = encodeURI(url).replace("%20", "+");
 
- 			var oscript = document.createElement("script");
 
- 			oscript.src = url;
 
- 			oscript.async = false;
 
- 			oscript.type = "text/javascript";
 
- 			oscript.charset = "utf-8";
 
- 			var head = document.head || document.getElementsByTagName("head")[0] || document
 
- 			.documentElement;
 
- 			head.insertBefore(oscript, head.firstChild);
 
- 			oscript.onload = oscript.onreadystatechange = function() {
 
- 				if (!oscript.readyState || /loaded|complete/.test(oscript.readyState)) {
 
- 					CLODOP.blOneByone = false;
 
- 					if (CLodop_ACTLastResult)
 
- 						var strResult = decodeURIComponent(CLodop_ACTLastResult);
 
- 					var strResultTaskID = CLodop_ACTTaskID;
 
- 					CLODOP.Result = strResult;
 
- 					if (CLodop_ACTAlert) CLodop_ACTAlert();
 
- 					if (CLODOP.On_Return)
 
- 						try {
 
- 							var selfFunc = CLODOP.On_Return;
 
- 							if (strResult == "true" || strResult == "false")
 
- 								CLODOP.On_Return(strResultTaskID, strResult == "true");
 
- 							else
 
- 								CLODOP.On_Return(strResultTaskID, strResult);
 
- 							if (!CLODOP.On_Return_Remain && selfFunc === CLODOP.On_Return) CLODOP
 
- 								.On_Return =
 
- 								null;
 
- 						} catch (err) {};
 
- 					oscript.onload = oscript.onreadystatechange = null;
 
- 					if (oscript.parentNode) {
 
- 						oscript.parentNode.removeChild(oscript);
 
- 					}
 
- 				}
 
- 			};
 
- 			return true;
 
- 		},
 
- 		DoCPreview: function(destView, iWidth, iHigh, iOption) {
 
- 			var obody = document.body || document.getElementsByTagName("body")[0] || document
 
- 				.documentElement;
 
- 			if (typeof iWidth !== "number" || !iWidth) iWidth = Math.round(obody.offsetWidth * 2 / 3);
 
- 			else
 
- 			if (obody.offsetWidth < iWidth) iWidth = obody.offsetWidth;
 
- 			if (typeof iHigh !== "number" || !iHigh) iHigh = Math.round(window.screen.height - 200);
 
- 			else
 
- 			if (window.screen.height < iHigh) iHigh = window.screen.height;
 
- 			var url = this.strHostURI + "/c_dopreview";
 
- 			url = url + "?times=" + (new Date().getTime());
 
- 			url = url + "&tid=" + this.GetTaskID();
 
- 			url = url + "&iw=" + iWidth;
 
- 			url = url + "&ih=" + iHigh;
 
- 			if (iOption) url = url + "&opid=" + iOption;
 
- 			url = encodeURI(url).replace("%20", "+");
 
- 			this.PopView(destView, url, iWidth, iHigh);
 
- 		},
 
- 		PopView: function(destView, strPURL, iWidth, iHigh) {
 
- 			try {
 
- 				if (destView && typeof destView === "string" && destView.length > 0) {
 
- 					if (destView === "_dialog") {
 
- 						if (window.showModalDialog) {
 
- 							window.showModalDialog(strPURL, 'dialog', 'center:yes');
 
- 						} else {
 
- 							window.open(strPURL, "",
 
- 								"scrollbars=yes,toolbar=no,left=150,top=100,resizable=yes");
 
- 						}
 
- 					} else
 
- 					if (destView === "_self" || destView === "_top" || destView === "_parent") {
 
- 						window.location.href = strPURL;
 
- 					} else
 
- 					if (destView === "_blank") {
 
- 						this.PreviewBox.create(strPURL, iWidth, iHigh);
 
- 					} else
 
- 					if (destView.indexOf("_winopen:") > -1) {
 
- 						var strFeatures = destView.slice(destView.indexOf("_winopen:") + 9);
 
- 						if (strFeatures.indexOf("_blank") > -1)
 
- 							window.open(strPURL, "_blank", strFeatures.slice(strFeatures.indexOf("_blank") +
 
- 								6));
 
- 						else
 
- 							window.open(strPURL, "", strFeatures);
 
- 					} else
 
- 					if (document.getElementById(destView)) {
 
- 						document.getElementById(destView).src = strPURL;
 
- 					} else
 
- 						alert("iframe '" + destView + "' not exist!");
 
- 				} else this.PreviewBox.create(strPURL, iWidth, iHigh);
 
- 			} catch (err) {
 
- 				alert("CLODOP PopView " + err);
 
- 			};
 
- 		},
 
- 		creatMyButtonElement: function(strType, strValue) {
 
- 			try {
 
- 				var oElement = document.createElement("<input type='" + strType + "' value='" + strValue +
 
- 					"'></input>");
 
- 			} catch (e) {};
 
- 			if (!oElement) {
 
- 				oElement = document.createElement("input");
 
- 				oElement.type = strType;
 
- 				oElement.value = strValue;
 
- 			}
 
- 			return oElement;
 
- 		},
 
- 		creatLabelElement: function(Type, Value, Width, Left, Top) {
 
- 			var TxtLabel = document.createElement(Type);
 
- 			TxtLabel.innerHTML = Value;
 
- 			TxtLabel.style.cssText = "position:absolute;width:" + Width + "px;left:" + Left + "px;top:" +
 
- 				Top + "px;";
 
- 			return TxtLabel;
 
- 		},
 
- 		SelectBox: {
 
- 			dragapproved: false,
 
- 			offsetx: 0,
 
- 			offsety: 0,
 
- 			tempx: 0,
 
- 			tempy: 0,
 
- 			FrantDiv: undefined,
 
- 			PopDiv: undefined,
 
- 			selPrinter: undefined,
 
- 			selCopies: undefined,
 
- 			closeit: function() {
 
- 				if (CLODOP.SelectBox.PopDiv && CLODOP.SelectBox.PopDiv.parentNode)
 
- 					CLODOP.SelectBox.PopDiv.parentNode.removeChild(CLODOP.SelectBox.PopDiv);
 
- 				if (this.FrantDiv && this.FrantDiv.parentNode)
 
- 					this.FrantDiv.parentNode.removeChild(this.FrantDiv);
 
- 				this.PopDiv = undefined;
 
- 			},
 
- 			initializedrag: function(e) {
 
- 				var we = window.event || e;
 
- 				this.offsetx = we.clientX;
 
- 				this.offsety = we.clientY;
 
- 				this.tempx = parseInt(this.PopDiv.style.left);
 
- 				this.tempy = parseInt(this.PopDiv.style.top);
 
- 				this.dragapproved = true;
 
- 			},
 
- 			drag_drop: function(e) {
 
- 				if (!this.dragapproved) return;
 
- 				var we = window.event || e;
 
- 				this.PopDiv.style.left = we.clientX - this.offsetx + this.tempx + "px";
 
- 				this.PopDiv.style.top = we.clientY - this.offsety + this.tempy + "px";
 
- 			},
 
- 			stopdrag: function() {
 
- 				this.dragapproved = false;
 
- 			},
 
- 			clickOK: function(onlySelect) {
 
- 				CLODOP.PRINTAOK(CLODOP.SelectBox.selPrinter.value, CLODOP.SelectBox.selCopies.value, 0, 0,
 
- 					onlySelect);
 
- 				this.closeit();
 
- 			},
 
- 			create: function(iW, iH, onlySelect) {
 
- 				if (CLODOP.SelectBox.PopDiv) this.closeit();
 
- 				var obody = document.body || document.getElementsByTagName("body")[0] || document
 
- 					.documentElement;
 
- 				var Boxdiv = document.createElement("div");
 
- 				obody.appendChild(Boxdiv);
 
- 				Boxdiv.style.cssText =
 
- 					"position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;background:#F5F5F5;color:#000;font-size:13px;";
 
- 				Boxdiv.style.width = iW + "px";
 
- 				Boxdiv.style.left = Math.max((obody.offsetWidth - iW) / 2, 0) + "px";
 
- 				Boxdiv.style.top = Math.max((obody.offsetHeight - iH) / 2, 0) + "px";
 
- 				Boxdiv.style.height = iH + "px";
 
- 				this.PopDiv = Boxdiv;
 
- 				var titleDiv = document.createElement("div");
 
- 				Boxdiv.appendChild(titleDiv);
 
- 				titleDiv.style.cssText =
 
- 					"font: bold 13px Arial;line-height:25px;height:27px;text-indent:5px;color: white;background:#8BACCF";
 
- 				titleDiv.innerHTML = "      打印";
 
- 				titleDiv.onmousedown = function(event) {
 
- 					CLODOP.SelectBox.initializedrag(event);
 
- 				};
 
- 				titleDiv.onmousemove = function(event) {
 
- 					CLODOP.SelectBox.drag_drop(event);
 
- 				};
 
- 				titleDiv.onmouseup = function() {
 
- 					CLODOP.SelectBox.stopdrag();
 
- 				};
 
- 				var icoButton = document.createElement("button");
 
- 				titleDiv.appendChild(icoButton);
 
- 				icoButton.style.cssText = "background:transparent url(" + CLODOP.strHostURI +
 
- 					"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";
 
- 				var CloseButton = document.createElement("button");
 
- 				titleDiv.appendChild(CloseButton);
 
- 				CloseButton.style.cssText = "background:transparent url(" + CLODOP.strHostURI +
 
- 					"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px";
 
- 				CloseButton.onclick = function() {
 
- 					CLODOP.SelectBox.closeit();
 
- 					if (onlySelect && CLODOP.On_Return) {
 
- 						var selfFunc = CLODOP.On_Return;
 
- 						CLODOP.On_Return(0, -1);
 
- 						if (!CLODOP.On_Return_Remain && selfFunc === CLODOP.On_Return) CLODOP
 
- 							.On_Return =
 
- 							null;
 
- 					}
 
- 				};
 
- 				var areaDiv = document.createElement("div");
 
- 				Boxdiv.appendChild(areaDiv);
 
- 				areaDiv.style.cssText = "background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;";
 
- 				areaDiv.style.width = iW - 2 + "px";
 
- 				areaDiv.style.height = (iH - 27) + "px";
 
- 				var OKButton = CLODOP.creatMyButtonElement("button", "确定");
 
- 				Boxdiv.appendChild(OKButton);
 
- 				OKButton.style.cssText = "position:absolute;width:80px;height:23px;";
 
- 				OKButton.style.left = "110px";
 
- 				OKButton.style.top = (iH - 64) + "px";
 
- 				OKButton.onclick = function() {
 
- 					CLODOP.SelectBox.clickOK(onlySelect);
 
- 				};
 
- 				var CancelButton = CLODOP.creatMyButtonElement("button", "取消");
 
- 				Boxdiv.appendChild(CancelButton);
 
- 				CancelButton.style.cssText = "position:absolute;width:80px;;height:23px;";
 
- 				CancelButton.style.left = "240px";
 
- 				CancelButton.style.top = (iH - 64) + "px";
 
- 				CancelButton.onclick = function() {
 
- 					CLODOP.SelectBox.closeit();
 
- 					if (onlySelect && CLODOP.On_Return) {
 
- 						var selfFunc = CLODOP.On_Return;
 
- 						CLODOP.On_Return(0, -1);
 
- 						if (!CLODOP.On_Return_Remain && selfFunc === CLODOP.On_Return) CLODOP
 
- 							.On_Return =
 
- 							null;
 
- 					}
 
- 				};
 
- 				areaDiv.appendChild(CLODOP.creatLabelElement("span", "选打印机:", 200, 46, 67));
 
- 				var oSelect = document.createElement("select");
 
- 				Boxdiv.appendChild(oSelect);
 
- 				this.selPrinter = oSelect;
 
- 				oSelect.style.cssText = "position:absolute;size:1;width:212px;left:110px;top:62px;";
 
- 				CLODOP.Create_Printer_List(oSelect);
 
- 				areaDiv.appendChild(CLODOP.creatLabelElement("span", "打印份数:", 200, 46, 121));
 
- 				var oCopies = CLODOP.creatMyButtonElement("text", "1");
 
- 				Boxdiv.appendChild(oCopies);
 
- 				this.selCopies = oCopies;
 
- 				oCopies.style.cssText = "position:absolute;size:1;width:30px;left:110px;top:117px;";
 
- 				this.FrantDiv = document.createElement("div");
 
- 				obody.appendChild(this.FrantDiv);
 
- 				this.FrantDiv.style.cssText =
 
- 					"border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2;-moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;";
 
- 				if (CLODOP.Browser.IE && (document.compatMode == "BackCompat" || navigator.userAgent
 
- 						.indexOf(
 
- 							"MSIE 6.0") > 0)) {
 
- 					this.FrantDiv.style.width = obody.scrollWidth + "px";
 
- 					this.FrantDiv.style.height = obody.scrollHeight + "px";
 
- 				} else {
 
- 					this.FrantDiv.style.width = "100%";
 
- 					this.FrantDiv.style.height = "100%";
 
- 				}
 
- 			}
 
- 		},
 
- 		PreviewBox: {
 
- 			dragapproved: false,
 
- 			offsetx: 0,
 
- 			offsety: 0,
 
- 			tempx: 0,
 
- 			tempy: 0,
 
- 			FrantDiv: undefined,
 
- 			PopDiv: undefined,
 
- 			ContentFrame: undefined,
 
- 			closeit: function(oSelf) {
 
- 				if (CLODOP.PreviewBox.PopDiv && CLODOP.PreviewBox.PopDiv.parentNode)
 
- 					CLODOP.PreviewBox.PopDiv.parentNode.removeChild(CLODOP.PreviewBox.PopDiv);
 
- 				if (this.FrantDiv && this.FrantDiv.parentNode)
 
- 					this.FrantDiv.parentNode.removeChild(this.FrantDiv);
 
- 				this.PopDiv = undefined;
 
- 			},
 
- 			initializedrag: function(e, oSelf) {
 
- 				var we = window.event || e;
 
- 				this.offsetx = we.clientX;
 
- 				this.offsety = we.clientY;
 
- 				this.tempx = parseInt(oSelf.style.left);
 
- 				this.tempy = parseInt(oSelf.style.top);
 
- 				this.dragapproved = true;
 
- 			},
 
- 			drag_drop: function(e, oSelf) {
 
- 				if (!this.dragapproved) return;
 
- 				var we = window.event || e;
 
- 				oSelf.style.left = we.clientX - this.offsetx + this.tempx + "px";
 
- 				oSelf.style.top = we.clientY - this.offsety + this.tempy + "px";
 
- 			},
 
- 			stopdrag: function() {
 
- 				this.dragapproved = false;
 
- 				if (this.ContentFrame) this.ContentFrame.style.display = "block";
 
- 			},
 
- 			create: function(strURL, iW, iH) {
 
- 				if (CLODOP.PreviewBox.PopDiv) this.closeit();
 
- 				var obody = document.body || document.getElementsByTagName("body")[0] || document
 
- 					.documentElement;
 
- 				var vBoxDiv = document.createElement("div");
 
- 				obody.appendChild(vBoxDiv);
 
- 				vBoxDiv.style.cssText =
 
- 					"position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;font-size:13px;";
 
- 				vBoxDiv.style.width = iW + "px";
 
- 				var iLeft = (obody.offsetWidth - iW) / 2;
 
- 				if (window.screen.width < obody.offsetWidth) iLeft = (window.screen.width - iW) / 2;
 
- 				if (iLeft < 0) iLeft = 0;
 
- 				vBoxDiv.style.left = iLeft + "px";
 
- 				vBoxDiv.style.height = iH + "px";
 
- 				vBoxDiv.onmousedown = function(event) {
 
- 					CLODOP.PreviewBox.initializedrag(event, this);
 
- 				};
 
- 				vBoxDiv.onmouseup = function() {
 
- 					CLODOP.PreviewBox.stopdrag();
 
- 				};
 
- 				vBoxDiv.onmousemove = function(event) {
 
- 					CLODOP.PreviewBox.drag_drop(event, this);
 
- 				};
 
- 				this.PopDiv = vBoxDiv;
 
- 				var titleDiv = document.createElement("div");
 
- 				vBoxDiv.appendChild(titleDiv);
 
- 				titleDiv.style.cssText =
 
- 					"position:absolute;left:0px;width:100%;font: bold 14px Arial;line-height:27px;height:27px;text-indent:26px;color: white;background:#8BACCF";
 
- 				titleDiv.innerHTML = "打印预览";
 
- 				var icoButton = document.createElement("button");
 
- 				titleDiv.appendChild(icoButton);
 
- 				icoButton.style.cssText = "background:transparent url(" + CLODOP.strHostURI +
 
- 					"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";
 
- 				var CloseButton = document.createElement("button");
 
- 				titleDiv.appendChild(CloseButton);
 
- 				CloseButton.style.cssText = "background:transparent url(" + CLODOP.strHostURI +
 
- 					"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px";
 
- 				CloseButton.onclick = function() {
 
- 					CLODOP.PreviewBox.closeit(this);
 
- 				};
 
- 				var areaDiv = document.createElement("div");
 
- 				vBoxDiv.appendChild(areaDiv);
 
- 				areaDiv.style.cssText = "background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;";
 
- 				areaDiv.style.width = iW + "px";
 
- 				areaDiv.style.height = (iH - 0) + "px";
 
- 				this.ContentFrame = document.createElement("iframe");
 
- 				areaDiv.appendChild(this.ContentFrame);
 
- 				this.ContentFrame.style.cssText = "width:100%;height:100%;";
 
- 				this.ContentFrame.src = strURL;
 
- 				this.ContentFrame.frameBorder = "no";
 
- 				this.FrantDiv = document.createElement("div");
 
- 				obody.appendChild(this.FrantDiv);
 
- 				this.FrantDiv.style.cssText =
 
- 					"border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2; -moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;";
 
- 				if (CLODOP.Browser.IE && (document.compatMode == "BackCompat" || navigator.userAgent
 
- 						.indexOf(
 
- 							"MSIE 6.0") > 0)) {
 
- 					this.FrantDiv.style.width = obody.scrollWidth + "px";
 
- 					this.FrantDiv.style.height = obody.scrollHeight + "px";
 
- 				} else {
 
- 					this.FrantDiv.style.width = "100%";
 
- 					this.FrantDiv.style.height = "100%";
 
- 				}
 
- 			}
 
- 		}
 
- 	};
 
- 	if (win.CLODOP2015_7028 && win.CLODOP2015_7028.Priority && win.CLODOP2015_7028.Priority > CLODOP.Priority) {
 
- 		CLODOP = win.CLODOP2015_7028;
 
- 		win.CLODOP_OK_Priority = win.CLODOP2015_7028.Priority;
 
- 		return;
 
- 	}
 
- 	win.LODOP = CLODOP;
 
- 	win.CLODOP = CLODOP;
 
- 	win.CLODOP2015_7028 = CLODOP;
 
- 	win.CLODOP_OK_Priority = CLODOP.Priority;
 
- 	win.CLODOP.DoInit();
 
- 	if (navigator.userAgent.indexOf("Lodop") < 0) win.CLODOP.OpenWebSocket();
 
- 	win.getCLodop = function() {
 
- 		return window.CLODOP2015_7028;
 
- 	};
 
- })(window);
 
- function getCLodop() {
 
- 	return window.CLODOP2015_7028;
 
- }
 
 
  |