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.

515 lines
13 KiB

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