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.

508 lines
12 KiB

  1. *CodePage: 1252
  2. *ModelName: "EPSON EPL-9000C"
  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>2;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>3;1iuE"
  66. }
  67. }
  68. *Option: FTRAY
  69. {
  70. *rcNameID: =RC_STR_FTRAY
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.50
  74. *Cmd: "<1D>1;1iuE"
  75. }
  76. }
  77. }
  78. *Feature: Resolution
  79. {
  80. *rcNameID: =RESOLUTION_DISPLAY
  81. *DefaultOption: 600dpi
  82. *Option: 300dpi
  83. {
  84. *Name: "300 x 300 dots per inch"
  85. *DPI: PAIR(300, 300)
  86. *TextDPI: PAIR(300, 300)
  87. *MinStripBlankPixels: 32
  88. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  89. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  90. *SpotDiameter: 100
  91. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  92. + ";0bi{I" }
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.20
  96. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  97. }
  98. }
  99. *Option: 600dpi
  100. {
  101. *Name: "600 x 600 dots per inch"
  102. *DPI: PAIR(600, 600)
  103. *TextDPI: PAIR(600, 600)
  104. *MinStripBlankPixels: 32
  105. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  106. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  107. *SpotDiameter: 100
  108. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  109. + ";0bi{I" }
  110. *Command: CmdSelect
  111. {
  112. *Order: DOC_SETUP.20
  113. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  114. }
  115. }
  116. }
  117. *Feature: PaperSize
  118. {
  119. *rcNameID: =PAPER_SIZE_DISPLAY
  120. *DefaultOption: A4
  121. *Option: A3
  122. {
  123. *InsertBlock: =BM_PS_A3
  124. }
  125. *Option: A4
  126. {
  127. *InsertBlock: =BM_PS_A4
  128. }
  129. *Option: A5
  130. {
  131. *InsertBlock: =BM_PS_A5
  132. }
  133. *Option: B5
  134. {
  135. *InsertBlock: =BM_PS_B5
  136. }
  137. *Option: LETTER
  138. {
  139. *InsertBlock: =BM_PS_LT
  140. }
  141. *Option: HLT
  142. {
  143. *InsertBlock: =BM_PS_HLT
  144. }
  145. *Option: LEGAL
  146. {
  147. *InsertBlock: =BM_PS_LGL
  148. }
  149. *Option: EXECUTIVE
  150. {
  151. *InsertBlock: =BM_PS_EXE
  152. }
  153. *Option: GLG
  154. {
  155. *InsertBlock: =BM_PS_GLG
  156. }
  157. *Option: GLT
  158. {
  159. *InsertBlock: =BM_PS_GLT
  160. }
  161. *Option: F4
  162. {
  163. *InsertBlock: =BM_PS_F4
  164. }
  165. *Option: ENV_MONARCH
  166. {
  167. *InsertBlock: =BM_PS_MON
  168. }
  169. *Option: C20
  170. {
  171. *InsertBlock: =BM_PS_C10
  172. }
  173. *Option: ENV_10
  174. {
  175. *InsertBlock: =BM_PS_E10
  176. }
  177. *Option: ENV_DL
  178. {
  179. *InsertBlock: =BM_PS_DL
  180. }
  181. *Option: ENV_C5
  182. {
  183. *InsertBlock: =BM_PS_C5
  184. }
  185. *Option: TABLOID
  186. {
  187. *InsertBlock: =BM_PS_TBLD
  188. }
  189. *Option: B4
  190. {
  191. *InsertBlock: =BM_PS_B4
  192. }
  193. *Option: CUSTOMSIZE
  194. {
  195. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  196. *MinSize: PAIR(4648, 6600)
  197. *MaxSize: PAIR(14032, 20400)
  198. *MaxPrintableWidth: 14032
  199. *InsertBlock: =BM_PSB_CTM
  200. }
  201. }
  202. *Feature: Halftone
  203. {
  204. *rcNameID: =HALFTONING_DISPLAY
  205. *DefaultOption: HT_PATSIZE_AUTO
  206. *Option: HT_PATSIZE_AUTO
  207. {
  208. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  209. }
  210. *Option: HT_PATSIZE_SUPERCELL_M
  211. {
  212. *rcNameID: =HT_SUPERCELL_DISPLAY
  213. }
  214. *Option: HT_PATSIZE_6x6_M
  215. {
  216. *rcNameID: =HT_DITHER6X6_DISPLAY
  217. }
  218. *Option: HT_PATSIZE_8x8_M
  219. {
  220. *rcNameID: =HT_DITHER8X8_DISPLAY
  221. }
  222. }
  223. *Feature: RectFill
  224. {
  225. *rcNameID: =RC_STR_RECTFILL
  226. *FeatureType: DOC_PROPERTY
  227. *DefaultOption: Enabled
  228. *Option: Enabled
  229. {
  230. *rcNameID: =RC_STR_ENABLED
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.999
  234. *Cmd: ""
  235. }
  236. }
  237. *Option: Disabled
  238. {
  239. *rcNameID: =RC_STR_DISABLED
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.999
  243. *Cmd: ""
  244. }
  245. }
  246. }
  247. *Feature: Memory
  248. {
  249. *rcNameID: =PRINTER_MEMORY_DISPLAY
  250. *DefaultOption: 6144KB
  251. *Option: 6144KB
  252. {
  253. *Name: "6MB"
  254. *MemoryConfigKB: PAIR(6144, 580)
  255. }
  256. *Option: 7168KB
  257. {
  258. *Name: "7MB"
  259. *MemoryConfigKB: PAIR(7168, 580)
  260. }
  261. *Option: 8192KB
  262. {
  263. *Name: "8MB"
  264. *MemoryConfigKB: PAIR(8192, 580)
  265. }
  266. *Option: 10240KB
  267. {
  268. *Name: "10MB"
  269. *MemoryConfigKB: PAIR(10240, 580)
  270. }
  271. *Option: 14336KB
  272. {
  273. *Name: "14MB"
  274. *MemoryConfigKB: PAIR(14336, 580)
  275. }
  276. *Option: 22528KB
  277. {
  278. *Name: "22MB"
  279. *MemoryConfigKB: PAIR(22528, 580)
  280. }
  281. *Option: 38912KB
  282. {
  283. *Name: "38MB"
  284. *MemoryConfigKB: PAIR(38912, 580)
  285. }
  286. }
  287. *% InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.6144KB)
  288. *% InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.7168KB)
  289. *% InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.6144KB)
  290. *% InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.7168KB)
  291. *Command: CmdStartJob
  292. {
  293. *Order: JOB_SETUP.1
  294. *CallbackID: =SET_LCID_C
  295. }
  296. *Command: CmdStartDoc
  297. {
  298. *Order: DOC_SETUP.10
  299. *Cmd: =CMD_STARTDOC_C
  300. }
  301. *Command: CmdStartPage
  302. {
  303. *Order: PAGE_SETUP.1
  304. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  305. }
  306. *Command: CmdEndJob
  307. {
  308. *Order: JOB_FINISH.1
  309. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  310. }
  311. *Command: CmdCopies
  312. {
  313. *Order: PAGE_SETUP.7
  314. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  315. }
  316. *RotateCoordinate?: TRUE
  317. *RotateRaster?: TRUE
  318. *RotateFont?: TRUE
  319. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  320. *MemoryUsage: LIST(FONT)
  321. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  322. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  323. *YMoveAttributes: LIST(SEND_CR_FIRST)
  324. *XMoveThreshold: 0
  325. *YMoveThreshold: 0
  326. *XMoveUnit: 600
  327. *YMoveUnit: 600
  328. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  329. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  330. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  331. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  332. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  333. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  334. *Command: CmdCR { *Cmd : "<0D>" }
  335. *Command: CmdLF { *Cmd : "<0A>" }
  336. *Command: CmdFF { *Cmd : "<0C>" }
  337. *Command: CmdBackSpace { *Cmd : "<08>" }
  338. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  339. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  340. *Command: CmdSetSimpleRotation
  341. {
  342. *CallbackID: =TEXT_PRN_DIRECTION
  343. *Params: LIST(PrintDirInCCDegrees)
  344. }
  345. *EjectPageWithFF?: TRUE
  346. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  347. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  348. *OutputDataFormat: H_BYTE
  349. *OptimizeLeftBound?: TRUE
  350. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  351. *CursorYAfterSendBlockData: NO_MOVE
  352. *DefaultFont: =RC_FONT_SUNGC
  353. *DefaultCTT: 0
  354. *CharPosition: BASELINE
  355. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  356. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  357. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  358. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  359. + =RC_FONT_MOREWB,
  360. + =RC_FONT_SUNGC,=RC_FONT_SUNGCV,=RC_FONT_SUNGCL,=RC_FONT_SUNGCLV,
  361. + =RC_FONT_SUNGCB,=RC_FONT_SUNGCBV,=RC_FONT_HEIC,=RC_FONT_HEICV,
  362. + =RC_FONT_HEICL,=RC_FONT_HEICLV,=RC_FONT_HEICB,=RC_FONT_HEICBV,
  363. + =RC_FONT_KAIC,=RC_FONT_KAICV,=RC_FONT_KAICL,=RC_FONT_KAICLV,
  364. + =RC_FONT_KAICB,=RC_FONT_KAICBV,=RC_FONT_YUANGC,=RC_FONT_YUANGCV,
  365. + =RC_FONT_YUANGCL,=RC_FONT_YUANGCLV,=RC_FONT_YUANGCB,=RC_FONT_YUANGCBV,
  366. + =RC_FONT_LIC,=RC_FONT_LICV)
  367. *FontCartridge: FC1
  368. {
  369. *rcCartridgeNameID: =RC_STR_FSSSY
  370. *Fonts: LIST(=RC_FONT_FSUNGC,=RC_FONT_FSUNGCV,=RC_FONT_FSUNGCL,=RC_FONT_FSUNGCLV,
  371. + =RC_FONT_FSUNGCB,=RC_FONT_FSUNGCBV,=RC_FONT_SHINGC,=RC_FONT_SHINGCV,
  372. + =RC_FONT_SHINYIC,=RC_FONT_SHINYICV)
  373. }
  374. *TTFS: MingLiU
  375. {
  376. *rcTTFontNameID: =RC_TTF_LMING
  377. *rcDevFontNameID: =RC_DF_SUNGCL
  378. }
  379. *TTFS: MingLiUV
  380. {
  381. *rcTTFontNameID: =RC_TTF_LMINGV
  382. *rcDevFontNameID: =RC_DF_SUNGCLV
  383. }
  384. *TTFS: MingLiU_E
  385. {
  386. *rcTTFontNameID: =RC_TTF_LMING_E
  387. *rcDevFontNameID: =RC_DF_SUNGCL
  388. }
  389. *TTFS: MingLiUV_E
  390. {
  391. *rcTTFontNameID: =RC_TTF_LMINGV_E
  392. *rcDevFontNameID: =RC_DF_SUNGCLV
  393. }
  394. *TTFS: Arial
  395. {
  396. *rcTTFontNameID: =RC_TTF_ARIAL
  397. *rcDevFontNameID: =RC_DF_SWISS721
  398. }
  399. *TTFS: CourierNew
  400. {
  401. *rcTTFontNameID: =RC_TTF_COURIERNEW
  402. *rcDevFontNameID: =RC_DF_COURIER
  403. }
  404. *TTFS: Symbol
  405. {
  406. *rcTTFontNameID: =RC_TTF_SYMBOL
  407. *rcDevFontNameID: =RC_DF_SYMBOLIC
  408. }
  409. *TTFS: TimesNewRoman
  410. {
  411. *rcTTFontNameID: =RC_TTF_TIMESNR
  412. *rcDevFontNameID: =RC_DF_DUTCH801
  413. }
  414. *TTFS: Wingdings
  415. {
  416. *rcTTFontNameID: =RC_TTF_WINGDINGS
  417. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  418. }
  419. *TTFSEnabled?: =TTFS_ENABLED
  420. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  421. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  422. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  423. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  424. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  425. *FontFormat: OEM_CALLBACK
  426. *Command: CmdSelectFontID
  427. {
  428. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  429. *Params: LIST(CurrentFontID)
  430. }
  431. *Command: CmdSetFontID
  432. {
  433. *CallbackID: =DOWNLOAD_SET_FONT_ID
  434. *Params: LIST(CurrentFontID)
  435. }
  436. *Command: CmdSetCharCode
  437. {
  438. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  439. *Params: LIST(NextGlyph)
  440. }
  441. *Command: CmdDeleteFont
  442. {
  443. *CallbackID: =DOWNLOAD_DELETE_FONT
  444. *Params: LIST(CurrentFontID)
  445. }
  446. *Command: CmdBoldOn
  447. {
  448. *CallbackID: =TEXT_BOLD
  449. *Params: LIST(FontBold)
  450. }
  451. *Command: CmdBoldOff
  452. {
  453. *CallbackID: =TEXT_BOLD
  454. *Params: LIST(FontBold)
  455. }
  456. *Command: CmdItalicOn
  457. {
  458. *CallbackID: =TEXT_ITALIC
  459. *Params: LIST(FontItalic)
  460. }
  461. *Command: CmdItalicOff
  462. {
  463. *CallbackID: =TEXT_ITALIC
  464. *Params: LIST(FontItalic)
  465. }
  466. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  467. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  468. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  469. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  470. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  471. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  472. *Command: CmdSelectSingleByteMode
  473. {
  474. *CallbackID: =TEXT_SINGLE_BYTE
  475. *Params: LIST(FontBold,FontItalic)
  476. }
  477. *Command: CmdSelectDoubleByteMode
  478. {
  479. *CallbackID: =TEXT_DOUBLE_BYTE
  480. *Params: LIST(FontBold,FontItalic)
  481. }
  482. *Command: CmdVerticalPrintingOn
  483. {
  484. *CallbackID: =TEXT_VERTICAL
  485. }
  486. *Command: CmdVerticalPrintingOff
  487. {
  488. *CallbackID: =TEXT_HORIZONTAL
  489. }
  490. *% Vector Printing / Rectangle Fill
  491. *switch: RectFill
  492. {
  493. *case: Enabled
  494. {
  495. *InsertBlock: =BM_RECTFILL
  496. }
  497. *case: Disabled
  498. {
  499. *% Nothing
  500. }
  501. }