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.

584 lines
14 KiB

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