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.

465 lines
11 KiB

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