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
12 KiB

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