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.

551 lines
13 KiB

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