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.

505 lines
11 KiB

  1. *CodePage: 1252
  2. *ModelName: "EPSON LP-8000SX"
  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: StartDocFin
  79. {
  80. *Name: ""
  81. *ConcealFromUI?: TRUE
  82. *DefaultOption: Option1
  83. *Option: Option1
  84. {
  85. *Name: ""
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.10
  89. *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN
  90. }
  91. }
  92. }
  93. *Feature: Resolution
  94. {
  95. *rcNameID: =RESOLUTION_DISPLAY
  96. *DefaultOption: 300dpi
  97. *Option: 300dpi
  98. {
  99. *Name: "300 x 300 dots per inch"
  100. *DPI: PAIR(300, 300)
  101. *TextDPI: PAIR(300, 300)
  102. *MinStripBlankPixels: 32
  103. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  104. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  105. *SpotDiameter: 100
  106. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  107. + ";0bi{I" }
  108. *Command: CmdSelect
  109. {
  110. *Order: DOC_SETUP.20
  111. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  112. }
  113. }
  114. }
  115. *Feature: PaperSize
  116. {
  117. *rcNameID: =PAPER_SIZE_DISPLAY
  118. *DefaultOption: A3
  119. *Option: A3
  120. {
  121. *InsertBlock: =BM_PS_A3
  122. }
  123. *Option: A4
  124. {
  125. *InsertBlock: =BM_PS_A4
  126. }
  127. *Option: A5
  128. {
  129. *InsertBlock: =BM_PS_A5
  130. }
  131. *Option: B5
  132. {
  133. *InsertBlock: =BM_PS_B5
  134. }
  135. *Option: LETTER
  136. {
  137. *InsertBlock: =BM_PS_LT
  138. }
  139. *Option: HLT
  140. {
  141. *InsertBlock: =BM_PS_HLT
  142. }
  143. *Option: LEGAL
  144. {
  145. *InsertBlock: =BM_PS_LGL
  146. }
  147. *Option: EXECUTIVE
  148. {
  149. *InsertBlock: =BM_PS_EXE
  150. }
  151. *Option: GLG
  152. {
  153. *InsertBlock: =BM_PS_GLG
  154. }
  155. *Option: GLT
  156. {
  157. *InsertBlock: =BM_PS_GLT
  158. }
  159. *Option: F4
  160. {
  161. *InsertBlock: =BM_PS_F4
  162. }
  163. *Option: JAPANESE_POSTCARD
  164. {
  165. *InsertBlock: =BM_PS_POST
  166. }
  167. *Option: ENV_MONARCH
  168. {
  169. *InsertBlock: =BM_PS_MON
  170. }
  171. *Option: C10
  172. {
  173. *InsertBlock: =BM_PS_C10
  174. }
  175. *Option: ENV_10
  176. {
  177. *InsertBlock: =BM_PS_E10
  178. }
  179. *Option: ENV_DL
  180. {
  181. *InsertBlock: =BM_PS_DL
  182. }
  183. *Option: ENV_C5
  184. {
  185. *InsertBlock: =BM_PS_C5
  186. }
  187. *Option: TABLOID
  188. {
  189. *InsertBlock: =BM_PS_TBLD
  190. }
  191. *Option: B4
  192. {
  193. *InsertBlock: =BM_PS_B4
  194. }
  195. *Option: CUSTOMSIZE
  196. {
  197. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  198. *MinSize: PAIR(4648, 6600)
  199. *MaxSize: PAIR(14032, 20400)
  200. *MaxPrintableWidth: 14032
  201. *InsertBlock: =BM_PSB_CTM
  202. }
  203. }
  204. *Feature: Halftone
  205. {
  206. *rcNameID: =HALFTONING_DISPLAY
  207. *DefaultOption: HT_PATSIZE_AUTO
  208. *Option: HT_PATSIZE_AUTO
  209. {
  210. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  211. }
  212. *Option: HT_PATSIZE_SUPERCELL_M
  213. {
  214. *rcNameID: =HT_SUPERCELL_DISPLAY
  215. }
  216. *Option: HT_PATSIZE_6x6_M
  217. {
  218. *rcNameID: =HT_DITHER6X6_DISPLAY
  219. }
  220. *Option: HT_PATSIZE_8x8_M
  221. {
  222. *rcNameID: =HT_DITHER8X8_DISPLAY
  223. }
  224. }
  225. *Feature: RectFill
  226. {
  227. *rcNameID: =RC_STR_RECTFILL
  228. *FeatureType: DOC_PROPERTY
  229. *DefaultOption: Enabled
  230. *Option: Enabled
  231. {
  232. *rcNameID: =RC_STR_ENABLED
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.999
  236. *Cmd: ""
  237. }
  238. }
  239. *Option: Disabled
  240. {
  241. *rcNameID: =RC_STR_DISABLED
  242. *Command: CmdSelect
  243. {
  244. *Order: DOC_SETUP.999
  245. *Cmd: ""
  246. }
  247. }
  248. }
  249. *Feature: VertPrintAdjust
  250. {
  251. *rcNameID: =RC_STR_VPADJUST
  252. *FeatureType: DOC_PROPERTY
  253. *DefaultOption: Enabled
  254. *Option: Enabled
  255. {
  256. *rcNameID: =RC_STR_ENABLED
  257. *Command: CmdSelect
  258. {
  259. *Order: DOC_SETUP.998
  260. *Cmd: ""
  261. }
  262. }
  263. *Option: Disabled
  264. {
  265. *rcNameID: =RC_STR_DISABLED
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.998
  269. *CallbackID: =TEXT_NO_VPADJUST
  270. }
  271. }
  272. }
  273. *Feature: Memory
  274. {
  275. *rcNameID: =PRINTER_MEMORY_DISPLAY
  276. *DefaultOption: 2048KB
  277. *Option: 2048KB
  278. {
  279. *Name: "2MB"
  280. *MemoryConfigKB: PAIR(2048, 221)
  281. }
  282. *Option: 3072KB
  283. {
  284. *Name: "3MB"
  285. *MemoryConfigKB: PAIR(3072, 400)
  286. }
  287. *Option: 4096KB
  288. {
  289. *Name: "4MB"
  290. *MemoryConfigKB: PAIR(4096, 400)
  291. }
  292. *Option: 5120KB
  293. {
  294. *Name: "5MB"
  295. *MemoryConfigKB: PAIR(5120, 400)
  296. }
  297. }
  298. *Command: CmdStartDoc
  299. {
  300. *Order: DOC_SETUP.1
  301. *Cmd: =CMD_STARTDOC_INI =CMD_EJL_SET =CMD_EJL_DEF
  302. }
  303. *Command: CmdStartPage
  304. {
  305. *Order: PAGE_SETUP.1
  306. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  307. }
  308. *Command: CmdEndJob
  309. {
  310. *Order: JOB_FINISH.1
  311. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  312. }
  313. *Command: CmdCopies
  314. {
  315. *Order: PAGE_SETUP.7
  316. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  317. }
  318. *RotateCoordinate?: TRUE
  319. *RotateRaster?: TRUE
  320. *RotateFont?: TRUE
  321. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  322. *MemoryUsage: LIST(FONT)
  323. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  324. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  325. *YMoveAttributes: LIST(SEND_CR_FIRST)
  326. *XMoveThreshold: 0
  327. *YMoveThreshold: 0
  328. *XMoveUnit: 600
  329. *YMoveUnit: 600
  330. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  331. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  332. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  333. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  334. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  335. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  336. *Command: CmdCR { *Cmd : "<0D>" }
  337. *Command: CmdLF { *Cmd : "<0A>" }
  338. *Command: CmdFF { *Cmd : "<0C>" }
  339. *Command: CmdBackSpace { *Cmd : "<08>" }
  340. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  341. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  342. *Command: CmdSetSimpleRotation
  343. {
  344. *CallbackID: =TEXT_PRN_DIRECTION
  345. *Params: LIST(PrintDirInCCDegrees)
  346. }
  347. *EjectPageWithFF?: TRUE
  348. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  349. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  350. *OutputDataFormat: H_BYTE
  351. *OptimizeLeftBound?: TRUE
  352. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  353. *CursorYAfterSendBlockData: NO_MOVE
  354. *DefaultFont: =RC_FONT_MINCHO
  355. *DefaultCTT: 0
  356. *CharPosition: BASELINE
  357. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,
  358. + =RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_KGOTHIC,=RC_FONT_KGOTHICV)
  359. *FontCartridge: FC1
  360. {
  361. *rcCartridgeNameID: =RC_STR_MARUGOT
  362. *Fonts: LIST(=RC_FONT_MGOTHIC,=RC_FONT_MGOTHICV)
  363. }
  364. *FontCartridge: FC2
  365. {
  366. *rcCartridgeNameID: =RC_STR_KYOKASHO
  367. *Fonts: LIST(=RC_FONT_KYOUKA,=RC_FONT_KYOUKAV)
  368. }
  369. *FontCartridge: FC3
  370. {
  371. *rcCartridgeNameID: =RC_STR_KAISHO
  372. *Fonts: LIST(=RC_FONT_SHOUKAI,=RC_FONT_SHOUKAIV)
  373. }
  374. *FontCartridge: FC4
  375. {
  376. *rcCartridgeNameID: =RC_STR_GYOSHO
  377. *Fonts: LIST(=RC_FONT_MOUHITSU,=RC_FONT_MOUHITSV)
  378. }
  379. *TTFS: MSMincho
  380. {
  381. *rcTTFontNameID: =RC_TTF_MSMINCHO
  382. *rcDevFontNameID: =RC_DF_MINCHO
  383. }
  384. *TTFS: MSMinchoV
  385. {
  386. *rcTTFontNameID: =RC_TTF_MSMINCHOV
  387. *rcDevFontNameID: =RC_DF_MINCHOV
  388. }
  389. *TTFS: MSGothic
  390. {
  391. *rcTTFontNameID: =RC_TTF_MSGOTHIC
  392. *rcDevFontNameID: =RC_DF_GOTHIC
  393. }
  394. *TTFS: MSGothicV
  395. {
  396. *rcTTFontNameID: =RC_TTF_MSGOTHICV
  397. *rcDevFontNameID: =RC_DF_GOTHICV
  398. }
  399. *TTFS: MSMincho_E
  400. {
  401. *rcTTFontNameID: =RC_TTF_MSMINCHO_E
  402. *rcDevFontNameID: =RC_DF_MINCHO
  403. }
  404. *TTFS: MSMinchoV_E
  405. {
  406. *rcTTFontNameID: =RC_TTF_MSMINCHOV_E
  407. *rcDevFontNameID: =RC_DF_MINCHOV
  408. }
  409. *TTFS: MSGothic_E
  410. {
  411. *rcTTFontNameID: =RC_TTF_MSGOTHIC_E
  412. *rcDevFontNameID: =RC_DF_GOTHIC
  413. }
  414. *TTFS: MSGothicV_E
  415. {
  416. *rcTTFontNameID: =RC_TTF_MSGOTHICV_E
  417. *rcDevFontNameID: =RC_DF_GOTHICV
  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. }