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.

557 lines
13 KiB

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