Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

584 lines
14 KiB

  1. *CodePage: 1252
  2. *ModelName: "EPSON LP-9000"
  3. *MasterUnits: PAIR(1200, 1200)
  4. *ResourceDLL: "EPAGERES.DLL"
  5. *PrinterType: PAGE
  6. *MaxCopies: 255
  7. *PrintRate: 8
  8. *PrintRateUnit: PPM
  9. *FontCartSlots: 2
  10. *rcInstalledOptionNameID: =RC_STR_OPTION_ON
  11. *rcNotInstalledOptionNameID: =RC_STR_OPTION_OFF
  12. *Feature: Orientation
  13. {
  14. *rcNameID: =ORIENTATION_DISPLAY
  15. *DefaultOption: PORTRAIT
  16. *Option: PORTRAIT
  17. {
  18. *rcNameID: =PORTRAIT_DISPLAY
  19. *Command: CmdSelect
  20. {
  21. *Order: DOC_SETUP.30
  22. *Cmd: "<1D>0poE"
  23. }
  24. }
  25. *Option: LANDSCAPE_CC90
  26. {
  27. *rcNameID: =LANDSCAPE_DISPLAY
  28. *Command: CmdSelect
  29. {
  30. *Order: DOC_SETUP.30
  31. *Cmd: "<1D>1poE"
  32. }
  33. }
  34. }
  35. *Feature: InputBin
  36. {
  37. *rcNameID: =PAPER_SOURCE_DISPLAY
  38. *DefaultOption: AUTOSEL
  39. *Option: AUTOSEL
  40. {
  41. *rcNameID: =RC_STR_AUTOSEL
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.50
  45. *Cmd: "<1D>0;0iuE"
  46. }
  47. }
  48. *Option: CST1
  49. {
  50. *rcNameID: =RC_STR_CST1
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.50
  54. *Cmd: "<1D>1;1iuE"
  55. }
  56. }
  57. *Option: CST2
  58. {
  59. *rcNameID: =RC_STR_CST2
  60. *Installable?: TRUE
  61. *rcInstallableFeatureNameID: =RC_STR_CST2
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.50
  65. *Cmd: "<1D>2;1iuE"
  66. }
  67. }
  68. *Option: FTRAY
  69. {
  70. *rcNameID: =RC_STR_FTRAY
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.50
  74. *Cmd: "<1D>3;1iuE"
  75. }
  76. }
  77. }
  78. *Feature: MediaType
  79. {
  80. *rcNameID: =MEDIA_TYPE_DISPLAY
  81. *DefaultOption: STANDARD
  82. *Option: STANDARD
  83. {
  84. *rcNameID: =PLAIN_PAPER_DISPLAY
  85. *Command: CmdSelect
  86. {
  87. *Order: DOC_SETUP.3
  88. *Cmd: =CMD_EJL_NORMAL
  89. }
  90. }
  91. *Option: THICK
  92. {
  93. *rcNameID: =RC_STR_THICK
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.3
  97. *Cmd: =CMD_EJL_THICK
  98. }
  99. }
  100. }
  101. *Feature: StartDocFin
  102. {
  103. *Name: ""
  104. *ConcealFromUI?: TRUE
  105. *DefaultOption: Option1
  106. *Option: Option1
  107. {
  108. *Name: ""
  109. *Command: CmdSelect
  110. {
  111. *Order: DOC_SETUP.10
  112. *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN
  113. }
  114. }
  115. }
  116. *Feature: Resolution
  117. {
  118. *rcNameID: =RESOLUTION_DISPLAY
  119. *DefaultOption: 600dpi
  120. *Option: 300dpi
  121. {
  122. *Name: "300 x 300 dots per inch"
  123. *DPI: PAIR(300, 300)
  124. *TextDPI: PAIR(300, 300)
  125. *MinStripBlankPixels: 32
  126. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  127. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  128. *SpotDiameter: 100
  129. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  130. + ";0bi{I" }
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.20
  134. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  135. }
  136. }
  137. *Option: 600dpi
  138. {
  139. *Name: "600 x 600 dots per inch"
  140. *DPI: PAIR(600, 600)
  141. *TextDPI: PAIR(600, 600)
  142. *MinStripBlankPixels: 32
  143. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  144. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  145. *SpotDiameter: 100
  146. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  147. + ";0bi{I" }
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.20
  151. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  152. }
  153. }
  154. }
  155. *Feature: PaperSize
  156. {
  157. *rcNameID: =PAPER_SIZE_DISPLAY
  158. *DefaultOption: A4
  159. *Option: A3
  160. {
  161. *InsertBlock: =BM_PS_A3
  162. }
  163. *Option: A4
  164. {
  165. *InsertBlock: =BM_PS_A4
  166. }
  167. *Option: A5
  168. {
  169. *InsertBlock: =BM_PS_A5
  170. }
  171. *Option: B5
  172. {
  173. *InsertBlock: =BM_PS_B5
  174. }
  175. *Option: LETTER
  176. {
  177. *InsertBlock: =BM_PS_LT
  178. }
  179. *Option: HLT
  180. {
  181. *InsertBlock: =BM_PS_HLT
  182. }
  183. *Option: LEGAL
  184. {
  185. *InsertBlock: =BM_PS_LGL
  186. }
  187. *Option: EXECUTIVE
  188. {
  189. *InsertBlock: =BM_PS_EXE
  190. }
  191. *Option: GLG
  192. {
  193. *InsertBlock: =BM_PS_GLG
  194. }
  195. *Option: GLT
  196. {
  197. *InsertBlock: =BM_PS_GLT
  198. }
  199. *Option: F4
  200. {
  201. *InsertBlock: =BM_PS_F4
  202. }
  203. *Option: JAPANESE_POSTCARD
  204. {
  205. *InsertBlock: =BM_PS_POST
  206. }
  207. *Option: ENV_MONARCH
  208. {
  209. *InsertBlock: =BM_PS_MON
  210. }
  211. *Option: C10
  212. {
  213. *InsertBlock: =BM_PS_C10
  214. }
  215. *Option: ENV_10
  216. {
  217. *InsertBlock: =BM_PS_E10
  218. }
  219. *Option: ENV_DL
  220. {
  221. *InsertBlock: =BM_PS_DL
  222. }
  223. *Option: ENV_C5
  224. {
  225. *InsertBlock: =BM_PS_C5
  226. }
  227. *Option: TABLOID
  228. {
  229. *InsertBlock: =BM_PS_TBLD
  230. }
  231. *Option: B4
  232. {
  233. *InsertBlock: =BM_PS_B4
  234. }
  235. *Option: CUSTOMSIZE
  236. {
  237. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  238. *MinSize: PAIR(4648, 6600)
  239. *MaxSize: PAIR(14032, 20400)
  240. *MaxPrintableWidth: 14032
  241. *InsertBlock: =BM_PSB_CTM
  242. }
  243. }
  244. *Feature: Halftone
  245. {
  246. *rcNameID: =HALFTONING_DISPLAY
  247. *DefaultOption: HT_PATSIZE_AUTO
  248. *Option: HT_PATSIZE_AUTO
  249. {
  250. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  251. }
  252. *Option: HT_PATSIZE_SUPERCELL_M
  253. {
  254. *rcNameID: =HT_SUPERCELL_DISPLAY
  255. }
  256. *Option: HT_PATSIZE_6x6_M
  257. {
  258. *rcNameID: =HT_DITHER6X6_DISPLAY
  259. }
  260. *Option: HT_PATSIZE_8x8_M
  261. {
  262. *rcNameID: =HT_DITHER8X8_DISPLAY
  263. }
  264. }
  265. *Feature: RectFill
  266. {
  267. *rcNameID: =RC_STR_RECTFILL
  268. *FeatureType: DOC_PROPERTY
  269. *DefaultOption: Enabled
  270. *Option: Enabled
  271. {
  272. *rcNameID: =RC_STR_ENABLED
  273. *Command: CmdSelect
  274. {
  275. *Order: DOC_SETUP.999
  276. *Cmd: ""
  277. }
  278. }
  279. *Option: Disabled
  280. {
  281. *rcNameID: =RC_STR_DISABLED
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.999
  285. *Cmd: ""
  286. }
  287. }
  288. }
  289. *Feature: VertPrintAdjust
  290. {
  291. *rcNameID: =RC_STR_VPADJUST
  292. *FeatureType: DOC_PROPERTY
  293. *DefaultOption: Enabled
  294. *Option: Enabled
  295. {
  296. *rcNameID: =RC_STR_ENABLED
  297. *Command: CmdSelect
  298. {
  299. *Order: DOC_SETUP.998
  300. *Cmd: ""
  301. }
  302. }
  303. *Option: Disabled
  304. {
  305. *rcNameID: =RC_STR_DISABLED
  306. *Command: CmdSelect
  307. {
  308. *Order: DOC_SETUP.998
  309. *CallbackID: =TEXT_NO_VPADJUST
  310. }
  311. }
  312. }
  313. *Feature: Memory
  314. {
  315. *rcNameID: =PRINTER_MEMORY_DISPLAY
  316. *DefaultOption: 8192KB
  317. *Option: 8192KB
  318. {
  319. *Name: "8MB"
  320. *MemoryConfigKB: PAIR(8192, 400)
  321. }
  322. *Option: 12288KB
  323. {
  324. *Name: "12MB"
  325. *MemoryConfigKB: PAIR(12288, 400)
  326. }
  327. *Option: 16384KB
  328. {
  329. *Name: "16MB"
  330. *MemoryConfigKB: PAIR(16384, 400)
  331. }
  332. *Option: 24576KB
  333. {
  334. *Name: "24MB"
  335. *MemoryConfigKB: PAIR(24576, 400)
  336. }
  337. *Option: 40960KB
  338. {
  339. *Name: "40MB"
  340. *MemoryConfigKB: PAIR(40960, 400)
  341. }
  342. }
  343. *Command: CmdStartDoc
  344. {
  345. *Order: DOC_SETUP.1
  346. *Cmd: =CMD_STARTDOC_INI =CMD_EJL_SET =CMD_EJL_DEF =CMD_EJL_FINE
  347. }
  348. *Command: CmdStartPage
  349. {
  350. *Order: PAGE_SETUP.1
  351. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  352. }
  353. *Command: CmdEndJob
  354. {
  355. *Order: JOB_FINISH.1
  356. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  357. }
  358. *Command: CmdCopies
  359. {
  360. *Order: PAGE_SETUP.7
  361. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  362. }
  363. *RotateCoordinate?: TRUE
  364. *RotateRaster?: TRUE
  365. *RotateFont?: TRUE
  366. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  367. *MemoryUsage: LIST(FONT)
  368. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  369. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  370. *YMoveAttributes: LIST(SEND_CR_FIRST)
  371. *XMoveThreshold: 0
  372. *YMoveThreshold: 0
  373. *XMoveUnit: 600
  374. *YMoveUnit: 600
  375. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  376. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  377. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  378. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  379. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  380. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  381. *Command: CmdCR { *Cmd : "<0D>" }
  382. *Command: CmdLF { *Cmd : "<0A>" }
  383. *Command: CmdFF { *Cmd : "<0C>" }
  384. *Command: CmdBackSpace { *Cmd : "<08>" }
  385. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  386. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  387. *Command: CmdSetSimpleRotation
  388. {
  389. *CallbackID: =TEXT_PRN_DIRECTION
  390. *Params: LIST(PrintDirInCCDegrees)
  391. }
  392. *EjectPageWithFF?: TRUE
  393. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  394. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  395. *OutputDataFormat: H_BYTE
  396. *OptimizeLeftBound?: TRUE
  397. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  398. *CursorYAfterSendBlockData: NO_MOVE
  399. *DefaultFont: =RC_FONT_MINCHO
  400. *DefaultCTT: 0
  401. *CharPosition: BASELINE
  402. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  403. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  404. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  405. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  406. + =RC_FONT_MOREWB,
  407. + =RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_KGOTHIC,=RC_FONT_KGOTHICV)
  408. *FontCartridge: FC1
  409. {
  410. *rcCartridgeNameID: =RC_STR_MARUGOT
  411. *Fonts: LIST(=RC_FONT_MGOTHIC,=RC_FONT_MGOTHICV)
  412. }
  413. *FontCartridge: FC2
  414. {
  415. *rcCartridgeNameID: =RC_STR_KYOKASHO
  416. *Fonts: LIST(=RC_FONT_KYOUKA,=RC_FONT_KYOUKAV)
  417. }
  418. *FontCartridge: FC3
  419. {
  420. *rcCartridgeNameID: =RC_STR_KAISHO
  421. *Fonts: LIST(=RC_FONT_SHOUKAI,=RC_FONT_SHOUKAIV)
  422. }
  423. *FontCartridge: FC4
  424. {
  425. *rcCartridgeNameID: =RC_STR_GYOSHO
  426. *Fonts: LIST(=RC_FONT_MOUHITSU,=RC_FONT_MOUHITSV)
  427. }
  428. *FontCartridge: FC5
  429. {
  430. *rcCartridgeNameID: =RC_STR_FMINFKGOT
  431. *Fonts: LIST(=RC_FONT_FMINB,=RC_FONT_FMINBV,=RC_FONT_FGOB,=RC_FONT_FGOBV)
  432. }
  433. *TTFS: Arial
  434. {
  435. *rcTTFontNameID: =RC_TTF_ARIAL
  436. *rcDevFontNameID: =RC_DF_SWISS721
  437. }
  438. *TTFS: CourierNew
  439. {
  440. *rcTTFontNameID: =RC_TTF_COURIERNEW
  441. *rcDevFontNameID: =RC_DF_COURIER
  442. }
  443. *TTFS: Symbol
  444. {
  445. *rcTTFontNameID: =RC_TTF_SYMBOL
  446. *rcDevFontNameID: =RC_DF_SYMBOLIC
  447. }
  448. *TTFS: TimesNewRoman
  449. {
  450. *rcTTFontNameID: =RC_TTF_TIMESNR
  451. *rcDevFontNameID: =RC_DF_DUTCH801
  452. }
  453. *TTFS: Wingdings
  454. {
  455. *rcTTFontNameID: =RC_TTF_WINGDINGS
  456. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  457. }
  458. *TTFS: MSMincho
  459. {
  460. *rcTTFontNameID: =RC_TTF_MSMINCHO
  461. *rcDevFontNameID: =RC_DF_MINCHO
  462. }
  463. *TTFS: MSMinchoV
  464. {
  465. *rcTTFontNameID: =RC_TTF_MSMINCHOV
  466. *rcDevFontNameID: =RC_DF_MINCHOV
  467. }
  468. *TTFS: MSGothic
  469. {
  470. *rcTTFontNameID: =RC_TTF_MSGOTHIC
  471. *rcDevFontNameID: =RC_DF_GOTHIC
  472. }
  473. *TTFS: MSGothicV
  474. {
  475. *rcTTFontNameID: =RC_TTF_MSGOTHICV
  476. *rcDevFontNameID: =RC_DF_GOTHICV
  477. }
  478. *TTFS: MSMincho_E
  479. {
  480. *rcTTFontNameID: =RC_TTF_MSMINCHO_E
  481. *rcDevFontNameID: =RC_DF_MINCHO
  482. }
  483. *TTFS: MSMinchoV_E
  484. {
  485. *rcTTFontNameID: =RC_TTF_MSMINCHOV_E
  486. *rcDevFontNameID: =RC_DF_MINCHOV
  487. }
  488. *TTFS: MSGothic_E
  489. {
  490. *rcTTFontNameID: =RC_TTF_MSGOTHIC_E
  491. *rcDevFontNameID: =RC_DF_GOTHIC
  492. }
  493. *TTFS: MSGothicV_E
  494. {
  495. *rcTTFontNameID: =RC_TTF_MSGOTHICV_E
  496. *rcDevFontNameID: =RC_DF_GOTHICV
  497. }
  498. *TTFSEnabled?: =TTFS_ENABLED
  499. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  500. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  501. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  502. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  503. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  504. *FontFormat: OEM_CALLBACK
  505. *Command: CmdSelectFontID
  506. {
  507. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  508. *Params: LIST(CurrentFontID)
  509. }
  510. *Command: CmdSetFontID
  511. {
  512. *CallbackID: =DOWNLOAD_SET_FONT_ID
  513. *Params: LIST(CurrentFontID)
  514. }
  515. *Command: CmdSetCharCode
  516. {
  517. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  518. *Params: LIST(NextGlyph)
  519. }
  520. *Command: CmdDeleteFont
  521. {
  522. *CallbackID: =DOWNLOAD_DELETE_FONT
  523. *Params: LIST(CurrentFontID)
  524. }
  525. *Command: CmdBoldOn
  526. {
  527. *CallbackID: =TEXT_BOLD
  528. *Params: LIST(FontBold)
  529. }
  530. *Command: CmdBoldOff
  531. {
  532. *CallbackID: =TEXT_BOLD
  533. *Params: LIST(FontBold)
  534. }
  535. *Command: CmdItalicOn
  536. {
  537. *CallbackID: =TEXT_ITALIC
  538. *Params: LIST(FontItalic)
  539. }
  540. *Command: CmdItalicOff
  541. {
  542. *CallbackID: =TEXT_ITALIC
  543. *Params: LIST(FontItalic)
  544. }
  545. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  546. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  547. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  548. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  549. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  550. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  551. *Command: CmdSelectSingleByteMode
  552. {
  553. *CallbackID: =TEXT_SINGLE_BYTE
  554. *Params: LIST(FontBold,FontItalic)
  555. }
  556. *Command: CmdSelectDoubleByteMode
  557. {
  558. *CallbackID: =TEXT_DOUBLE_BYTE
  559. *Params: LIST(FontBold,FontItalic)
  560. }
  561. *Command: CmdVerticalPrintingOn
  562. {
  563. *CallbackID: =TEXT_VERTICAL
  564. }
  565. *Command: CmdVerticalPrintingOff
  566. {
  567. *CallbackID: =TEXT_HORIZONTAL
  568. }
  569. *% Vector Printing / Rectangle Fill
  570. *switch: RectFill
  571. {
  572. *case: Enabled
  573. {
  574. *InsertBlock: =BM_RECTFILL
  575. }
  576. *case: Disabled
  577. {
  578. *% Nothing
  579. }
  580. }