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.

446 lines
10 KiB

  1. *CodePage: 1252
  2. *ModelName: "EPSON LP-1000"
  3. *MasterUnits: PAIR(1200, 1200)
  4. *ResourceDLL: "EPAGERES.DLL"
  5. *PrinterType: PAGE
  6. *MaxCopies: 255
  7. *PrintRate: 4
  8. *PrintRateUnit: PPM
  9. *Feature: Orientation
  10. {
  11. *rcNameID: =ORIENTATION_DISPLAY
  12. *DefaultOption: PORTRAIT
  13. *Option: PORTRAIT
  14. {
  15. *rcNameID: =PORTRAIT_DISPLAY
  16. *Command: CmdSelect
  17. {
  18. *Order: DOC_SETUP.30
  19. *Cmd: "<1D>0poE"
  20. }
  21. }
  22. *Option: LANDSCAPE_CC90
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.30
  28. *Cmd: "<1D>1poE"
  29. }
  30. }
  31. }
  32. *Feature: InputBin
  33. {
  34. *rcNameID: =PAPER_SOURCE_DISPLAY
  35. *DefaultOption: FTRAY
  36. *Option: FTRAY
  37. {
  38. *rcNameID: =RC_STR_FTRAY
  39. *Command: CmdSelect
  40. {
  41. *Order: DOC_SETUP.50
  42. *Cmd: "<1D>1;1iuE"
  43. }
  44. }
  45. }
  46. *Feature: StartDocFin
  47. {
  48. *Name: ""
  49. *ConcealFromUI?: TRUE
  50. *DefaultOption: Option1
  51. *Option: Option1
  52. {
  53. *Name: ""
  54. *Command: CmdSelect
  55. {
  56. *Order: DOC_SETUP.10
  57. *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN
  58. }
  59. }
  60. }
  61. *Feature: Resolution
  62. {
  63. *rcNameID: =RESOLUTION_DISPLAY
  64. *DefaultOption: 300dpi
  65. *Option: 300dpi
  66. {
  67. *Name: "300 x 300 dots per inch"
  68. *DPI: PAIR(300, 300)
  69. *TextDPI: PAIR(300, 300)
  70. *MinStripBlankPixels: 32
  71. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  72. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  73. *SpotDiameter: 100
  74. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  75. + ";0bi{I" }
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.20
  79. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  80. }
  81. }
  82. }
  83. *Feature: PaperSize
  84. {
  85. *rcNameID: =PAPER_SIZE_DISPLAY
  86. *DefaultOption: A4
  87. *Option: A4
  88. {
  89. *InsertBlock: =BM_PS_A4
  90. }
  91. *Option: A5
  92. {
  93. *InsertBlock: =BM_PS_A5
  94. }
  95. *Option: B5
  96. {
  97. *InsertBlock: =BM_PS_B5
  98. }
  99. *Option: LETTER
  100. {
  101. *InsertBlock: =BM_PS_LT
  102. }
  103. *Option: HLT
  104. {
  105. *InsertBlock: =BM_PS_HLT
  106. }
  107. *Option: LEGAL
  108. {
  109. *InsertBlock: =BM_PS_LGL
  110. }
  111. *Option: EXECUTIVE
  112. {
  113. *InsertBlock: =BM_PS_EXE
  114. }
  115. *Option: GLG
  116. {
  117. *InsertBlock: =BM_PS_GLG
  118. }
  119. *Option: GLT
  120. {
  121. *InsertBlock: =BM_PS_GLT
  122. }
  123. *Option: F4
  124. {
  125. *InsertBlock: =BM_PS_F4
  126. }
  127. *Option: JAPANESE_POSTCARD
  128. {
  129. *InsertBlock: =BM_PS_POST
  130. }
  131. *Option: ENV_MONARCH
  132. {
  133. *InsertBlock: =BM_PS_MON
  134. }
  135. *Option: C10
  136. {
  137. *InsertBlock: =BM_PS_C10
  138. }
  139. *Option: ENV_10
  140. {
  141. *InsertBlock: =BM_PS_E10
  142. }
  143. *Option: ENV_DL
  144. {
  145. *InsertBlock: =BM_PS_DL
  146. }
  147. *Option: ENV_C5
  148. {
  149. *InsertBlock: =BM_PS_C5
  150. }
  151. *Option: CUSTOMSIZE
  152. {
  153. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  154. *MinSize: PAIR(4648, 6992)
  155. *MaxSize: PAIR(10200, 16800)
  156. *MaxPrintableWidth: 10200
  157. *InsertBlock: =BM_PSB_CTM
  158. }
  159. }
  160. *Feature: Halftone
  161. {
  162. *rcNameID: =HALFTONING_DISPLAY
  163. *DefaultOption: HT_PATSIZE_AUTO
  164. *Option: HT_PATSIZE_AUTO
  165. {
  166. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  167. }
  168. *Option: HT_PATSIZE_SUPERCELL_M
  169. {
  170. *rcNameID: =HT_SUPERCELL_DISPLAY
  171. }
  172. *Option: HT_PATSIZE_6x6_M
  173. {
  174. *rcNameID: =HT_DITHER6X6_DISPLAY
  175. }
  176. *Option: HT_PATSIZE_8x8_M
  177. {
  178. *rcNameID: =HT_DITHER8X8_DISPLAY
  179. }
  180. }
  181. *Feature: RectFill
  182. {
  183. *rcNameID: =RC_STR_RECTFILL
  184. *FeatureType: DOC_PROPERTY
  185. *DefaultOption: Enabled
  186. *Option: Enabled
  187. {
  188. *rcNameID: =RC_STR_ENABLED
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.999
  192. *Cmd: ""
  193. }
  194. }
  195. *Option: Disabled
  196. {
  197. *rcNameID: =RC_STR_DISABLED
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.999
  201. *Cmd: ""
  202. }
  203. }
  204. }
  205. *Feature: VertPrintAdjust
  206. {
  207. *rcNameID: =RC_STR_VPADJUST
  208. *FeatureType: DOC_PROPERTY
  209. *DefaultOption: Enabled
  210. *Option: Enabled
  211. {
  212. *rcNameID: =RC_STR_ENABLED
  213. *Command: CmdSelect
  214. {
  215. *Order: DOC_SETUP.998
  216. *Cmd: ""
  217. }
  218. }
  219. *Option: Disabled
  220. {
  221. *rcNameID: =RC_STR_DISABLED
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.998
  225. *CallbackID: =TEXT_NO_VPADJUST
  226. }
  227. }
  228. }
  229. *Feature: Memory
  230. {
  231. *rcNameID: =PRINTER_MEMORY_DISPLAY
  232. *DefaultOption: 1024KB
  233. *Option: 1024KB
  234. {
  235. *Name: "1MB"
  236. *MemoryConfigKB: PAIR(1024, 50)
  237. }
  238. *Option: 2048KB
  239. {
  240. *Name: "2MB"
  241. *MemoryConfigKB: PAIR(2048, 221)
  242. }
  243. *Option: 3072KB
  244. {
  245. *Name: "3MB"
  246. *MemoryConfigKB: PAIR(3072, 400)
  247. }
  248. }
  249. *InvalidCombination: LIST(PaperSize.LEGAL, Memory.1024KB)
  250. *InvalidCombination: LIST(PaperSize.GLG, Memory.1024KB)
  251. *InvalidCombination: LIST(PaperSize.F4, Memory.1024KB)
  252. *Command: CmdStartDoc
  253. {
  254. *Order: DOC_SETUP.1
  255. *Cmd: =CMD_STARTDOC_INI =CMD_EJL_SET =CMD_EJL_DEF
  256. }
  257. *Command: CmdStartPage
  258. {
  259. *Order: PAGE_SETUP.1
  260. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  261. }
  262. *Command: CmdEndJob
  263. {
  264. *Order: JOB_FINISH.1
  265. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  266. }
  267. *Command: CmdCopies
  268. {
  269. *Order: PAGE_SETUP.7
  270. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  271. }
  272. *RotateCoordinate?: TRUE
  273. *RotateRaster?: TRUE
  274. *RotateFont?: TRUE
  275. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  276. *MemoryUsage: LIST(FONT)
  277. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  278. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  279. *YMoveAttributes: LIST(SEND_CR_FIRST)
  280. *XMoveThreshold: 0
  281. *YMoveThreshold: 0
  282. *XMoveUnit: 600
  283. *YMoveUnit: 600
  284. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  285. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  286. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  287. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  288. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  289. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  290. *Command: CmdCR { *Cmd : "<0D>" }
  291. *Command: CmdLF { *Cmd : "<0A>" }
  292. *Command: CmdFF { *Cmd : "<0C>" }
  293. *Command: CmdBackSpace { *Cmd : "<08>" }
  294. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  295. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  296. *Command: CmdSetSimpleRotation
  297. {
  298. *CallbackID: =TEXT_PRN_DIRECTION
  299. *Params: LIST(PrintDirInCCDegrees)
  300. }
  301. *EjectPageWithFF?: TRUE
  302. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  303. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  304. *OutputDataFormat: H_BYTE
  305. *OptimizeLeftBound?: TRUE
  306. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  307. *CursorYAfterSendBlockData: NO_MOVE
  308. *DefaultFont: =RC_FONT_MINCHO
  309. *DefaultCTT: 0
  310. *CharPosition: BASELINE
  311. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,
  312. + =RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_KGOTHIC,=RC_FONT_KGOTHICV,
  313. + =RC_FONT_MOUHITSU,=RC_FONT_MOUHITSV)
  314. *TTFS: MSMincho
  315. {
  316. *rcTTFontNameID: =RC_TTF_MSMINCHO
  317. *rcDevFontNameID: =RC_DF_MINCHO
  318. }
  319. *TTFS: MSMinchoV
  320. {
  321. *rcTTFontNameID: =RC_TTF_MSMINCHOV
  322. *rcDevFontNameID: =RC_DF_MINCHOV
  323. }
  324. *TTFS: MSGothic
  325. {
  326. *rcTTFontNameID: =RC_TTF_MSGOTHIC
  327. *rcDevFontNameID: =RC_DF_GOTHIC
  328. }
  329. *TTFS: MSGothicV
  330. {
  331. *rcTTFontNameID: =RC_TTF_MSGOTHICV
  332. *rcDevFontNameID: =RC_DF_GOTHICV
  333. }
  334. *TTFS: MSMincho_E
  335. {
  336. *rcTTFontNameID: =RC_TTF_MSMINCHO_E
  337. *rcDevFontNameID: =RC_DF_MINCHO
  338. }
  339. *TTFS: MSMinchoV_E
  340. {
  341. *rcTTFontNameID: =RC_TTF_MSMINCHOV_E
  342. *rcDevFontNameID: =RC_DF_MINCHOV
  343. }
  344. *TTFS: MSGothic_E
  345. {
  346. *rcTTFontNameID: =RC_TTF_MSGOTHIC_E
  347. *rcDevFontNameID: =RC_DF_GOTHIC
  348. }
  349. *TTFS: MSGothicV_E
  350. {
  351. *rcTTFontNameID: =RC_TTF_MSGOTHICV_E
  352. *rcDevFontNameID: =RC_DF_GOTHICV
  353. }
  354. *TTFSEnabled?: =TTFS_ENABLED
  355. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  356. *MaxFontID: =DOWNLOAD_MAX_FONT_ID_5
  357. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS_5
  358. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  359. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  360. *FontFormat: OEM_CALLBACK
  361. *Command: CmdSelectFontID
  362. {
  363. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  364. *Params: LIST(CurrentFontID)
  365. }
  366. *Command: CmdSetFontID
  367. {
  368. *CallbackID: =DOWNLOAD_SET_FONT_ID
  369. *Params: LIST(CurrentFontID)
  370. }
  371. *Command: CmdSetCharCode
  372. {
  373. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  374. *Params: LIST(NextGlyph)
  375. }
  376. *Command: CmdDeleteFont
  377. {
  378. *CallbackID: =DOWNLOAD_DELETE_FONT
  379. *Params: LIST(CurrentFontID)
  380. }
  381. *Command: CmdBoldOn
  382. {
  383. *CallbackID: =TEXT_BOLD
  384. *Params: LIST(FontBold)
  385. }
  386. *Command: CmdBoldOff
  387. {
  388. *CallbackID: =TEXT_BOLD
  389. *Params: LIST(FontBold)
  390. }
  391. *Command: CmdItalicOn
  392. {
  393. *CallbackID: =TEXT_ITALIC
  394. *Params: LIST(FontItalic)
  395. }
  396. *Command: CmdItalicOff
  397. {
  398. *CallbackID: =TEXT_ITALIC
  399. *Params: LIST(FontItalic)
  400. }
  401. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  402. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  403. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  404. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  405. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  406. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  407. *Command: CmdSelectSingleByteMode
  408. {
  409. *CallbackID: =TEXT_SINGLE_BYTE
  410. *Params: LIST(FontBold,FontItalic)
  411. }
  412. *Command: CmdSelectDoubleByteMode
  413. {
  414. *CallbackID: =TEXT_DOUBLE_BYTE
  415. *Params: LIST(FontBold,FontItalic)
  416. }
  417. *Command: CmdVerticalPrintingOn
  418. {
  419. *CallbackID: =TEXT_VERTICAL
  420. }
  421. *Command: CmdVerticalPrintingOff
  422. {
  423. *CallbackID: =TEXT_HORIZONTAL
  424. }
  425. *% Vector Printing / Rectangle Fill
  426. *switch: RectFill
  427. {
  428. *case: Enabled
  429. {
  430. *InsertBlock: =BM_RECTFILL
  431. }
  432. *case: Disabled
  433. {
  434. *% Nothing
  435. }
  436. }