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.

1382 lines
37 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "0.994"
  3. *GPDFileName: "RISP220J.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *% Common Macros
  6. *Macros: ResourceIDs
  7. {
  8. *% Font Resource (UFM)
  9. RC_FONT_ROMAN : 1
  10. RC_FONT_SANSRF : 2
  11. RC_FONT_COURIER : 3
  12. RC_FONT_COURIERI : 4
  13. RC_FONT_COURIERB : 5
  14. RC_FONT_COURIERZ : 6
  15. RC_FONT_SYMBOL : 7
  16. RC_FONT_SYMBOLIC : 8
  17. RC_FONT_DUTCH : 33
  18. RC_FONT_DUTCHI : 34
  19. RC_FONT_DUTCHB : 35
  20. RC_FONT_DUTCHZ : 36
  21. RC_FONT_SWISS : 37
  22. RC_FONT_SWISSI : 38
  23. RC_FONT_SWISSB : 39
  24. RC_FONT_SWISSZ : 40
  25. RC_FONT_MOREWB : 43
  26. *% Font Resource (UFM):Japanese
  27. RC_FONT_MINCHO : 52
  28. RC_FONT_MINCHOV : 53
  29. RC_FONT_KGOTHIC : 54
  30. RC_FONT_KGOTHICV : 55
  31. RC_FONT_MGOTHIC : 56
  32. RC_FONT_MGOTHICV : 57
  33. RC_FONT_KYOUKA : 58
  34. RC_FONT_KYOUKAV : 59
  35. RC_FONT_SHOUKAI : 60
  36. RC_FONT_SHOUKAIV : 61
  37. RC_FONT_MOUHITSU : 62
  38. RC_FONT_MOUHITSV : 63
  39. RC_FONT_FMINB : 64
  40. RC_FONT_FMINBV : 65
  41. RC_FONT_FGOB : 66
  42. RC_FONT_FGOBV : 67
  43. RC_FONT_FMGOT : 68
  44. RC_FONT_FMGOTV : 69
  45. *% TTFS:Latin; valid only when optional fonts(Swiss721, etc.) provided
  46. RC_TTF_ARIAL : 150 *% L"Arial"
  47. RC_DF_SWISS721 : 151 *% L"Swiss721"
  48. RC_TTF_COURIERNEW : 152 *% L"Courier New"
  49. RC_DF_COURIER : 153 *% L"Courier"
  50. RC_TTF_SYMBOL : 154 *% L"Symbol"
  51. RC_DF_SYMBOLIC : 156 *% L"Symbolic"
  52. RC_TTF_TIMESNR : 157 *% L"Times New Roman"
  53. RC_DF_DUTCH801 : 158 *% L"Dutch801"
  54. RC_TTF_WINGDINGS : 159 *% L"Wingdings"
  55. RC_DF_MOREWINGBATS : 160 *% L"MoreWingBats"
  56. *% TTFS:Japanese
  57. RC_TTF_MSMINCHO : 180
  58. RC_DF_MINCHO : 181
  59. RC_TTF_MSMINCHOV : 182
  60. RC_DF_MINCHOV : 183
  61. RC_TTF_MSGOTHIC : 184
  62. RC_DF_GOTHIC : 185
  63. RC_TTF_MSGOTHICV : 186
  64. RC_DF_GOTHICV : 187
  65. *% TTFS:Japanese in English
  66. RC_TTF_MSMINCHO_E : 190
  67. RC_TTF_MSMINCHOV_E : 191
  68. RC_TTF_MSGOTHIC_E : 192
  69. RC_TTF_MSGOTHICV_E : 193
  70. *% PaperSize
  71. RC_STR_HLT : 257 *% L"HalfLetter 5.5 x 8.5 in"
  72. RC_STR_GLG : 258 *% L"Government Legal 8.5 x 13.0 in"
  73. RC_STR_GLT : 259 *% L"Government Letter 8.0 x 10.5 in"
  74. RC_STR_F4 : 260 *% L"F4 210 x 330 mm"
  75. RC_STR_C10 : 261 *% L"Commercial 10 4.125 x 9.5 in"
  76. RC_STR_A3P : 262 *% L"A3+ 329 x 483 mm"
  77. RC_STR_A3W : 263 *% L"A3 Wide 328 x 453 mm"
  78. RC_STR_IB5 : 264 *% L"International-B5 176 x 250 mm"
  79. *% PaperSize:Japanese
  80. *% RC_STR_A3N : 301 *% L"A3��� 329 x 483 mm"
  81. *% PaperSource
  82. RC_STR_CST : 270 *% L"Paper Cassette"
  83. RC_STR_CST1 : 271 *% L"Lower Paper Cassette 1"
  84. RC_STR_CST2 : 272 *% L"Lower Paper Cassette 2"
  85. RC_STR_CST3 : 273 *% L"Lower Paper Cassette 3"
  86. RC_STR_CST4 : 274 *% L"Lower Paper Cassette 14"
  87. RC_STR_TRAY : 275 *% L"Paper Tray"
  88. RC_STR_MMFDR : 276 *% L"Multimedia Feeder (Jpn)"
  89. RC_STR_LCST : 277 *% L"Lower Paper Cassette"
  90. RC_STR_AUTOCHG : 278 *% L"Auto Change (Jpn)"
  91. RC_STR_FTRAY : 279 *% L"Front Tray"
  92. RC_STR_AUTOSEL : 280 *% L"Auto Select"
  93. RC_STR_MPTRAY : 281 *% L"MP Tray"
  94. *% FontCartridgeName:Japanese
  95. RC_STR_MARUGOT : 290
  96. RC_STR_KYOKASHO : 291
  97. RC_STR_KAISHO : 292
  98. RC_STR_GYOSHO : 293
  99. RC_STR_FMINFKGOT : 294
  100. RC_STR_FMARUGOT : 295
  101. *% Custom Features
  102. RC_STR_THICK : 323 *% L"Thick"
  103. RC_STR_THICK_N : 324 *% L"Thick Narrow"
  104. RC_STR_THIN : 325 *% L"Thin"
  105. RC_STR_RECTFILL : 385 *% L"Vector Graphics"
  106. RC_STR_ENABLED : 386 *% L"Enabled"
  107. RC_STR_DISABLED : 387 *% L"Disabled"
  108. RC_STR_OPTION_ON : 388 *% L"Installed"
  109. RC_STR_OPTION_OFF: 389 *% L"Not Installed"
  110. *% Custom Features:Japanese
  111. RC_STR_VPADJUST : 391 *% L"�c�����́C�D�̈ʒu�␳"
  112. *% Custom Feature Duplex
  113. RC_STR_DUPLEXUNIT : 395 *% L"Duplex Unit(option)"
  114. }
  115. *Macros: OEMCallbackIDs
  116. {
  117. SET_LCID_J : 10 *% 10 + 0x00000000(=LCID_JPN)
  118. SET_LCID_C : 65546 *% 10 + 0x00010000(=LCID_CHT)
  119. SET_LCID_H : 196618 *% 10 + 0x00030000(=LCID_KOR)
  120. SET_LCID_K : 131082 *% 10 + 0x00020000(=LCID_CHS)
  121. TEXT_PRN_DIRECTION : 20 *% (PrintDirInCCDegrees)
  122. TEXT_SINGLE_BYTE : 21 *% (FontBold,FontItalic)
  123. TEXT_DOUBLE_BYTE : 22 *% (FontBold,FontItalic)
  124. TEXT_BOLD : 23 *% (FontBold)
  125. TEXT_ITALIC : 24 *% (FontItalic)
  126. TEXT_HORIZONTAL : 25 *% ()
  127. TEXT_VERTICAL : 26 *% ()
  128. TEXT_NO_VPADJUST : 27 *% ()
  129. DOWNLOAD_SELECT_FONT_ID : 30 *% (CurrentFontID)
  130. DOWNLOAD_DELETE_FONT : 31 *% (CurrentFontID)
  131. DOWNLOAD_DELETE_ALLFONT : 32 *% ()
  132. DOWNLOAD_SET_FONT_ID : 33 *% (CurrentFontID)
  133. DOWNLOAD_SET_CHAR_CODE : 34 *% (NextGlyph)
  134. }
  135. *Macros: TTFDownloadCtrls
  136. {
  137. DOWNLOAD_MIN_FONT_ID : 512
  138. DOWNLOAD_MIN_FONT_ID_0 : 0
  139. DOWNLOAD_MIN_FONT_ID_NO_DBCS : 1536 *% 512 + 1024
  140. DOWNLOAD_MAX_FONT_ID : 535
  141. DOWNLOAD_MAX_FONT_ID_10 : 521 *% 512 + 10 - 1
  142. DOWNLOAD_MAX_FONT_ID_5 : 516 *% 512 + 5 - 1
  143. DOWNLOAD_MAX_FONT_ID_0 : 0
  144. DOWNLOAD_MAX_FONT_ID_NO_DBCS : 1559 *% 535 + 1024
  145. DOWNLOAD_MAX_FONTS : 24
  146. DOWNLOAD_MAX_FONTS_10 : 10
  147. DOWNLOAD_MAX_FONTS_5 : 5
  148. DOWNLOAD_MAX_FONTS_0 : 0
  149. DOWNLOAD_MIN_GLYPH_ID : 32
  150. DOWNLOAD_MAX_GLYPH_ID : 543
  151. }
  152. *Macros: TTFSubstCtrls
  153. {
  154. TTFS_ENABLED : TRUE
  155. }
  156. *% BlockMacros for PaperSize feature
  157. *BlockMacro: BM_PS_A3
  158. {
  159. *rcNameID: =A3_DISPLAY
  160. *switch: Orientation
  161. {
  162. *case: PORTRAIT
  163. {
  164. *PrintableArea: PAIR(13552, 19360)
  165. *PrintableOrigin: PAIR(240, 240)
  166. *CursorOrigin: PAIR(240, 240)
  167. *Command: CmdSelect
  168. {
  169. *Order: DOC_SETUP.40
  170. *Cmd: "<1D>13psE"
  171. }
  172. }
  173. *case: LANDSCAPE_CC90
  174. {
  175. *PrintableArea: PAIR(13552, 19360)
  176. *PrintableOrigin: PAIR(240, 240)
  177. *CursorOrigin: PAIR(240, 19600)
  178. *Command: CmdSelect
  179. {
  180. *Order: DOC_SETUP.40
  181. *Cmd: "<1D>13psE<1D>1poE"
  182. }
  183. }
  184. }
  185. }
  186. *BlockMacro: BM_PS_A4
  187. {
  188. *rcNameID: =A4_DISPLAY
  189. *switch: Orientation
  190. {
  191. *case: PORTRAIT
  192. {
  193. *PrintableArea: PAIR(9440, 13552)
  194. *PrintableOrigin: PAIR(240, 240)
  195. *CursorOrigin: PAIR(240, 240)
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.40
  199. *Cmd: "<1D>14psE"
  200. }
  201. }
  202. *case: LANDSCAPE_CC90
  203. {
  204. *PrintableArea: PAIR(9440, 13552)
  205. *PrintableOrigin: PAIR(240, 240)
  206. *CursorOrigin: PAIR(240, 13792)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.40
  210. *Cmd: "<1D>14psE<1D>1poE"
  211. }
  212. }
  213. }
  214. }
  215. *BlockMacro: BM_PS_A5
  216. {
  217. *rcNameID: =A5_DISPLAY
  218. *switch: Orientation
  219. {
  220. *case: PORTRAIT
  221. {
  222. *PrintableArea: PAIR(6512, 9440)
  223. *PrintableOrigin: PAIR(240, 240)
  224. *CursorOrigin: PAIR(240, 240)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.40
  228. *Cmd: "<1D>15psE"
  229. }
  230. }
  231. *case: LANDSCAPE_CC90
  232. {
  233. *PrintableArea: PAIR(6512, 9440)
  234. *PrintableOrigin: PAIR(240, 240)
  235. *CursorOrigin: PAIR(240, 9680)
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.40
  239. *Cmd: "<1D>15psE<1D>1poE"
  240. }
  241. }
  242. }
  243. }
  244. *BlockMacro: BM_PS_B5
  245. {
  246. *rcNameID: =B5_DISPLAY
  247. *switch: Orientation
  248. {
  249. *case: PORTRAIT
  250. {
  251. *PrintableArea: PAIR(8120, 11664)
  252. *PrintableOrigin: PAIR(240, 240)
  253. *CursorOrigin: PAIR(240, 240)
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.40
  257. *Cmd: "<1D>25psE"
  258. }
  259. }
  260. *case: LANDSCAPE_CC90
  261. {
  262. *PrintableArea: PAIR(8120, 11664)
  263. *PrintableOrigin: PAIR(240, 240)
  264. *CursorOrigin: PAIR(240, 11904)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.40
  268. *Cmd: "<1D>25psE<1D>1poE"
  269. }
  270. }
  271. }
  272. }
  273. *BlockMacro: BM_PS_LT
  274. {
  275. *rcNameID: =LETTER_DISPLAY
  276. *switch: Orientation
  277. {
  278. *case: PORTRAIT
  279. {
  280. *PrintableArea: PAIR(9720, 12720)
  281. *PrintableOrigin: PAIR(240, 240)
  282. *CursorOrigin: PAIR(240, 240)
  283. *Command: CmdSelect
  284. {
  285. *Order: DOC_SETUP.40
  286. *Cmd: "<1D>30psE"
  287. }
  288. }
  289. *case: LANDSCAPE_CC90
  290. {
  291. *PrintableArea: PAIR(9720, 12720)
  292. *PrintableOrigin: PAIR(240, 240)
  293. *CursorOrigin: PAIR(240, 12960)
  294. *Command: CmdSelect
  295. {
  296. *Order: DOC_SETUP.40
  297. *Cmd: "<1D>30psE<1D>1poE"
  298. }
  299. }
  300. }
  301. }
  302. *BlockMacro: BM_PS_HLT
  303. {
  304. *rcNameID: =RC_STR_HLT
  305. *PageDimensions: PAIR(6600, 10200)
  306. *switch: Orientation
  307. {
  308. *case: PORTRAIT
  309. {
  310. *PrintableArea: PAIR(6120, 9720)
  311. *PrintableOrigin: PAIR(240, 240)
  312. *CursorOrigin: PAIR(240, 240)
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.40
  316. *Cmd: "<1D>31psE"
  317. }
  318. }
  319. *case: LANDSCAPE_CC90
  320. {
  321. *PrintableArea: PAIR(6120, 9720)
  322. *PrintableOrigin: PAIR(240, 240)
  323. *CursorOrigin: PAIR(240, 9960)
  324. *Command: CmdSelect
  325. {
  326. *Order: DOC_SETUP.40
  327. *Cmd: "<1D>31psE<1D>1poE"
  328. }
  329. }
  330. }
  331. }
  332. *BlockMacro: BM_PS_LGL
  333. {
  334. *rcNameID: =LEGAL_DISPLAY
  335. *switch: Orientation
  336. {
  337. *case: PORTRAIT
  338. {
  339. *PrintableArea: PAIR(9720, 16320)
  340. *PrintableOrigin: PAIR(240, 240)
  341. *CursorOrigin: PAIR(240, 240)
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.40
  345. *Cmd: "<1D>32psE"
  346. }
  347. }
  348. *case: LANDSCAPE_CC90
  349. {
  350. *PrintableArea: PAIR(9720, 16320)
  351. *PrintableOrigin: PAIR(240, 240)
  352. *CursorOrigin: PAIR(240, 16560)
  353. *Command: CmdSelect
  354. {
  355. *Order: DOC_SETUP.40
  356. *Cmd: "<1D>32psE<1D>1poE"
  357. }
  358. }
  359. }
  360. }
  361. *BlockMacro: BM_PS_EXE
  362. {
  363. *rcNameID: =EXECUTIVE_DISPLAY
  364. *switch: Orientation
  365. {
  366. *case: PORTRAIT
  367. {
  368. *PrintableArea: PAIR(8220, 12120)
  369. *PrintableOrigin: PAIR(240, 240)
  370. *CursorOrigin: PAIR(240, 240)
  371. *Command: CmdSelect
  372. {
  373. *Order: DOC_SETUP.40
  374. *Cmd: "<1D>33psE"
  375. }
  376. }
  377. *case: LANDSCAPE_CC90
  378. {
  379. *PrintableArea: PAIR(8220, 12120)
  380. *PrintableOrigin: PAIR(240, 240)
  381. *CursorOrigin: PAIR(240, 12360)
  382. *Command: CmdSelect
  383. {
  384. *Order: DOC_SETUP.40
  385. *Cmd: "<1D>33psE<1D>1poE"
  386. }
  387. }
  388. }
  389. }
  390. *BlockMacro: BM_PS_GLG
  391. {
  392. *rcNameID: =RC_STR_GLG
  393. *PageDimensions: PAIR(10200, 15600)
  394. *switch: Orientation
  395. {
  396. *case: PORTRAIT
  397. {
  398. *PrintableArea: PAIR(9720, 15120)
  399. *PrintableOrigin: PAIR(240, 240)
  400. *CursorOrigin: PAIR(240, 240)
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.40
  404. *Cmd: "<1D>34psE"
  405. }
  406. }
  407. *case: LANDSCAPE_CC90
  408. {
  409. *PrintableArea: PAIR(9720, 15120)
  410. *PrintableOrigin: PAIR(240, 240)
  411. *CursorOrigin: PAIR(240, 15360)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.40
  415. *Cmd: "<1D>34psE<1D>1poE"
  416. }
  417. }
  418. }
  419. }
  420. *BlockMacro: BM_PS_GLT
  421. {
  422. *rcNameID: =RC_STR_GLT
  423. *PageDimensions: PAIR(9600, 12600)
  424. *switch: Orientation
  425. {
  426. *case: PORTRAIT
  427. {
  428. *PrintableArea: PAIR(9120, 12120)
  429. *PrintableOrigin: PAIR(240, 240)
  430. *CursorOrigin: PAIR(240, 240)
  431. *Command: CmdSelect
  432. {
  433. *Order: DOC_SETUP.40
  434. *Cmd: "<1D>35psE"
  435. }
  436. }
  437. *case: LANDSCAPE_CC90
  438. {
  439. *PrintableArea: PAIR(9120, 12120)
  440. *PrintableOrigin: PAIR(240, 240)
  441. *CursorOrigin: PAIR(240, 12360)
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.40
  445. *Cmd: "<1D>35psE<1D>1poE"
  446. }
  447. }
  448. }
  449. }
  450. *BlockMacro: BM_PS_F4
  451. {
  452. *rcNameID: =RC_STR_F4
  453. *PageDimensions: PAIR(9920, 15592)
  454. *switch: Orientation
  455. {
  456. *case: PORTRAIT
  457. {
  458. *PrintableArea: PAIR(9440, 15112)
  459. *PrintableOrigin: PAIR(240, 240)
  460. *CursorOrigin: PAIR(240, 240)
  461. *Command: CmdSelect
  462. {
  463. *Order: DOC_SETUP.40
  464. *Cmd: "<1D>37psE"
  465. }
  466. }
  467. *case: LANDSCAPE_CC90
  468. {
  469. *PrintableArea: PAIR(9440, 15112)
  470. *PrintableOrigin: PAIR(240, 240)
  471. *CursorOrigin: PAIR(240, 15352)
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.40
  475. *Cmd: "<1D>37psE<1D>1poE"
  476. }
  477. }
  478. }
  479. }
  480. *BlockMacro: BM_PS_MON
  481. {
  482. *rcNameID: =ENV_MONARCH_DISPLAY
  483. *switch: Orientation
  484. {
  485. *case: PORTRAIT
  486. {
  487. *PrintableArea: PAIR(4168, 8520)
  488. *PrintableOrigin: PAIR(240, 240)
  489. *CursorOrigin: PAIR(240, 240)
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.40
  493. *Cmd: "<1D>80psE"
  494. }
  495. }
  496. *case: LANDSCAPE_CC90
  497. {
  498. *PrintableArea: PAIR(4168, 8520)
  499. *PrintableOrigin: PAIR(240, 240)
  500. *CursorOrigin: PAIR(240, 8760)
  501. *Command: CmdSelect
  502. {
  503. *Order: DOC_SETUP.40
  504. *Cmd: "<1D>80psE<1D>1poE"
  505. }
  506. }
  507. }
  508. }
  509. *BlockMacro: BM_PSB_E10
  510. {
  511. *switch: Orientation
  512. {
  513. *case: PORTRAIT
  514. {
  515. *PrintableArea: PAIR(4468, 10920)
  516. *PrintableOrigin: PAIR(240, 240)
  517. *CursorOrigin: PAIR(240, 240)
  518. *Command: CmdSelect
  519. {
  520. *Order: DOC_SETUP.40
  521. *Cmd: "<1D>81psE"
  522. }
  523. }
  524. *case: LANDSCAPE_CC90
  525. {
  526. *PrintableArea: PAIR(4468, 10920)
  527. *PrintableOrigin: PAIR(240, 240)
  528. *CursorOrigin: PAIR(240, 11160)
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.40
  532. *Cmd: "<1D>81psE<1D>1poE"
  533. }
  534. }
  535. }
  536. }
  537. *BlockMacro: BM_PS_C10
  538. {
  539. *rcNameID: =RC_STR_C10
  540. *PageDimensions: PAIR(4948, 11400)
  541. *InsertBlock: =BM_PSB_E10
  542. }
  543. *BlockMacro: BM_PS_E10
  544. {
  545. *rcNameID: =ENV_10_DISPLAY
  546. *InsertBlock: =BM_PSB_E10
  547. }
  548. *BlockMacro: BM_PS_DL
  549. {
  550. *rcNameID: =ENV_DL_DISPLAY
  551. *switch: Orientation
  552. {
  553. *case: PORTRAIT
  554. {
  555. *PrintableArea: PAIR(4716, 9912)
  556. *PrintableOrigin: PAIR(240, 240)
  557. *CursorOrigin: PAIR(240, 240)
  558. *Command: CmdSelect
  559. {
  560. *Order: DOC_SETUP.40
  561. *Cmd: "<1D>90psE"
  562. }
  563. }
  564. *case: LANDSCAPE_CC90
  565. {
  566. *PrintableArea: PAIR(4716, 9912)
  567. *PrintableOrigin: PAIR(240, 240)
  568. *CursorOrigin: PAIR(240, 10152)
  569. *Command: CmdSelect
  570. {
  571. *Order: DOC_SETUP.40
  572. *Cmd: "<1D>90psE<1D>1poE"
  573. }
  574. }
  575. }
  576. }
  577. *BlockMacro: BM_PS_C5
  578. {
  579. *rcNameID: =ENV_C5_DISPLAY
  580. *switch: Orientation
  581. {
  582. *case: PORTRAIT
  583. {
  584. *PrintableArea: PAIR(7172, 10336)
  585. *PrintableOrigin: PAIR(240, 240)
  586. *CursorOrigin: PAIR(240, 240)
  587. *Command: CmdSelect
  588. {
  589. *Order: DOC_SETUP.40
  590. *Cmd: "<1D>91psE"
  591. }
  592. }
  593. *case: LANDSCAPE_CC90
  594. {
  595. *PrintableArea: PAIR(7172, 10336)
  596. *PrintableOrigin: PAIR(240, 240)
  597. *CursorOrigin: PAIR(240, 10576)
  598. *Command: CmdSelect
  599. {
  600. *Order: DOC_SETUP.40
  601. *Cmd: "<1D>91psE<1D>1poE"
  602. }
  603. }
  604. }
  605. }
  606. *BlockMacro: BM_PS_TBLD
  607. {
  608. *rcNameID: =TABLOID_DISPLAY
  609. *switch: Orientation
  610. {
  611. *case: PORTRAIT
  612. {
  613. *PrintableArea: PAIR(12720, 19920)
  614. *PrintableOrigin: PAIR(240, 240)
  615. *CursorOrigin: PAIR(240, 240)
  616. *Command: CmdSelect
  617. {
  618. *Order: DOC_SETUP.40
  619. *Cmd: "<1D>36psE"
  620. }
  621. }
  622. *case: LANDSCAPE_CC90
  623. {
  624. *PrintableArea: PAIR(12720, 19920)
  625. *PrintableOrigin: PAIR(240, 240)
  626. *CursorOrigin: PAIR(240, 20160)
  627. *Command: CmdSelect
  628. {
  629. *Order: DOC_SETUP.40
  630. *Cmd: "<1D>36psE<1D>1poE"
  631. }
  632. }
  633. }
  634. }
  635. *BlockMacro: BM_PS_B4
  636. {
  637. *rcNameID: =B4_DISPLAY
  638. *switch: Orientation
  639. {
  640. *case: PORTRAIT
  641. {
  642. *PrintableArea: PAIR(11664, 16720)
  643. *PrintableOrigin: PAIR(240, 240)
  644. *CursorOrigin: PAIR(240, 240)
  645. *Command: CmdSelect
  646. {
  647. *Order: DOC_SETUP.40
  648. *Cmd: "<1D>24psE"
  649. }
  650. }
  651. *case: LANDSCAPE_CC90
  652. {
  653. *PrintableArea: PAIR(11664, 16720)
  654. *PrintableOrigin: PAIR(240, 240)
  655. *CursorOrigin: PAIR(240, 16960)
  656. *Command: CmdSelect
  657. {
  658. *Order: DOC_SETUP.40
  659. *Cmd: "<1D>24psE<1D>1poE"
  660. }
  661. }
  662. }
  663. }
  664. *BlockMacro: BM_PSB_CTM
  665. {
  666. *MinLeftMargin: 240
  667. *CenterPrintable?: FALSE
  668. *switch: Orientation
  669. {
  670. *case: PORTRAIT
  671. {
  672. *Command: CmdSelect
  673. {
  674. *Order: DOC_SETUP.40
  675. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE"
  676. }
  677. }
  678. *case: LANDSCAPE_CC90
  679. {
  680. *Command: CmdSelect
  681. {
  682. *Order: DOC_SETUP.40
  683. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE<1D>1poE"
  684. }
  685. }
  686. }
  687. }
  688. *BlockMacro: BM_RECTFILL
  689. {
  690. *Command: CmdSetRectWidth { *Cmd: "" }
  691. *Command: CmdSetRectHeight { *Cmd: "" }
  692. *Command: CmdRectGrayFill
  693. {
  694. *Cmd: "<1D>0;0;"%d{GrayPercentage}"spE<1D>1owE<1D>1tsE<1D>1dmG"
  695. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  696. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  697. + "<1D>0;0;100spE<1D>0owE<1D>0tsE"
  698. }
  699. *Command: CmdRectWhiteFill
  700. {
  701. *Cmd: "<1D>0;0;0spE<1D>1owE<1D>1tsE<1D>1dmG"
  702. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  703. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  704. + "<1D>0;0;100spE<1D>0owE<1D>0tsE"
  705. }
  706. *Command: CmdRectBlackFill
  707. {
  708. *Cmd: "<1D>0;0;100spE<1D>1owE<1D>1tsE<1D>1dmG"
  709. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  710. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  711. + "<1D>0owE<1D>0tsE"
  712. }
  713. }
  714. *% Macros for Japanese (ESC/PAGE version)
  715. *Macros: CmdStrings
  716. {
  717. CMD_STARTDOC_INI : "<1B01>@EJL <0A>@EJL EN LA=ESC/PAGE<0A>"
  718. + "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  719. + "@EJL SET EC=ON PU=1 ZO=OFF RS=FN<0A>"
  720. CMD_STARTDOC_FIN : "@EJL EN LA=ESC/PAGE<0A>"
  721. + "<1D>rhE<1D>0;0.12muE<1D>14isE<1D>2iaF<1D>24ifF<1D>1ipP"
  722. CMD_EJL_SET : "@EJL SET"
  723. CMD_EJL_DEF : " EC=ON ZO=OFF PU=1"
  724. CMD_EJL_FINE : " RS=FN"
  725. CMD_EJL_QUICK : " RS=QK"
  726. CMD_EJL_NORMAL : " PK=NM"
  727. CMD_EJL_THICK : " PK=TH"
  728. CMD_EJL_THICK_N : " PK=TN"
  729. CMD_EJL_OHP : " PK=TR"
  730. CMD_EJL_END : "<0A>"
  731. }
  732. *% BlockMacros for PaperSize feature:Japanese
  733. *BlockMacro: BM_PS_POST
  734. {
  735. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  736. *switch: Orientation
  737. {
  738. *case: PORTRAIT
  739. {
  740. *PrintableArea: PAIR(4244, 6512)
  741. *PrintableOrigin: PAIR(240, 240)
  742. *CursorOrigin: PAIR(240, 240)
  743. *Command: CmdSelect
  744. {
  745. *Order: DOC_SETUP.40
  746. *Cmd: "<1D>38psE"
  747. }
  748. }
  749. *case: LANDSCAPE_CC90
  750. {
  751. *PrintableArea: PAIR(4244, 6512)
  752. *PrintableOrigin: PAIR(240, 240)
  753. *CursorOrigin: PAIR(240, 6752)
  754. *Command: CmdSelect
  755. {
  756. *Order: DOC_SETUP.40
  757. *Cmd: "<1D>38psE<1D>1poE"
  758. }
  759. }
  760. }
  761. }
  762. *BlockMacro: BM_PS_A3W
  763. {
  764. *rcNameID: =RC_STR_A3W
  765. *PageDimensions: PAIR(15496, 21400)
  766. *switch: Orientation
  767. {
  768. *case: PORTRAIT
  769. {
  770. *PrintableArea: PAIR(15016, 20920)
  771. *PrintableOrigin: PAIR(240, 240)
  772. *CursorOrigin: PAIR(240, 240)
  773. *Command: CmdSelect
  774. {
  775. *Order: DOC_SETUP.40
  776. *Cmd: "<1D>75psE"
  777. }
  778. }
  779. *case: LANDSCAPE_CC90
  780. {
  781. *PrintableArea: PAIR(15016, 20920)
  782. *PrintableOrigin: PAIR(240, 240)
  783. *CursorOrigin: PAIR(240, 21160)
  784. *Command: CmdSelect
  785. {
  786. *Order: DOC_SETUP.40
  787. *Cmd: "<1D>75psE<1D>1poE"
  788. }
  789. }
  790. }
  791. }
  792. *BlockMacro: BM_PS_A3P
  793. {
  794. *rcNameID: =RC_STR_A3P
  795. *PageDimensions: PAIR(15540, 22816)
  796. *switch: Orientation
  797. {
  798. *case: PORTRAIT
  799. {
  800. *PrintableArea: PAIR(15060, 22336)
  801. *PrintableOrigin: PAIR(240, 240)
  802. *CursorOrigin: PAIR(240, 240)
  803. *Command: CmdSelect
  804. {
  805. *Order: DOC_SETUP.40
  806. *Cmd: "<1D>72psE"
  807. }
  808. }
  809. *case: LANDSCAPE_CC90
  810. {
  811. *PrintableArea: PAIR(15060, 22336)
  812. *PrintableOrigin: PAIR(240, 240)
  813. *CursorOrigin: PAIR(240, 22576)
  814. *Command: CmdSelect
  815. {
  816. *Order: DOC_SETUP.40
  817. *Cmd: "<1D>72psE<1D>1poE"
  818. }
  819. }
  820. }
  821. }
  822. *CodePage: 1252
  823. *ModelName: "RICOH SP-2200"
  824. *MasterUnits: PAIR(1200, 1200)
  825. *ResourceDLL: "EPAGERES.DLL"
  826. *PrinterType: PAGE
  827. *MaxCopies: 255
  828. *PrintRate: 6
  829. *PrintRateUnit: PPM
  830. *FontCartSlots: 1
  831. *rcInstalledOptionNameID: =RC_STR_OPTION_ON
  832. *rcNotInstalledOptionNameID: =RC_STR_OPTION_OFF
  833. *Feature: Orientation
  834. {
  835. *rcNameID: =ORIENTATION_DISPLAY
  836. *DefaultOption: PORTRAIT
  837. *Option: PORTRAIT
  838. {
  839. *rcNameID: =PORTRAIT_DISPLAY
  840. *Command: CmdSelect
  841. {
  842. *Order: DOC_SETUP.30
  843. *Cmd: "<1D>0poE"
  844. }
  845. }
  846. *Option: LANDSCAPE_CC90
  847. {
  848. *rcNameID: =LANDSCAPE_DISPLAY
  849. *Command: CmdSelect
  850. {
  851. *Order: DOC_SETUP.30
  852. *Cmd: "<1D>1poE"
  853. }
  854. }
  855. }
  856. *Feature: InputBin
  857. {
  858. *rcNameID: =PAPER_SOURCE_DISPLAY
  859. *DefaultOption: AUTOSEL
  860. *Option: AUTOSEL
  861. {
  862. *rcNameID: =RC_STR_AUTOCHG
  863. *Command: CmdSelect
  864. {
  865. *Order: DOC_SETUP.50
  866. *Cmd: "<1D>0;0iuE"
  867. }
  868. }
  869. *Option: TRAY
  870. {
  871. *rcNameID: =RC_STR_TRAY
  872. *Command: CmdSelect
  873. {
  874. *Order: DOC_SETUP.50
  875. *Cmd: "<1D>1;1iuE"
  876. }
  877. }
  878. *Option: LCST
  879. {
  880. *rcNameID: =RC_STR_LCST
  881. *Installable?: TRUE
  882. *rcInstallableFeatureNameID: =RC_STR_LCST
  883. *Command: CmdSelect
  884. {
  885. *Order: DOC_SETUP.50
  886. *Cmd: "<1D>2;1iuE"
  887. }
  888. }
  889. }
  890. *Feature: StartDocFin
  891. {
  892. *Name: ""
  893. *ConcealFromUI?: TRUE
  894. *DefaultOption: Option1
  895. *Option: Option1
  896. {
  897. *Name: ""
  898. *Command: CmdSelect
  899. {
  900. *Order: DOC_SETUP.10
  901. *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN
  902. }
  903. }
  904. }
  905. *Feature: Resolution
  906. {
  907. *rcNameID: =RESOLUTION_DISPLAY
  908. *DefaultOption: 300dpi
  909. *Option: 300dpi
  910. {
  911. *Name: "300 x 300 dots per inch"
  912. *DPI: PAIR(300, 300)
  913. *TextDPI: PAIR(300, 300)
  914. *MinStripBlankPixels: 32
  915. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  916. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  917. *SpotDiameter: 100
  918. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  919. + ";0bi{I" }
  920. *Command: CmdSelect
  921. {
  922. *Order: DOC_SETUP.20
  923. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  924. }
  925. }
  926. *Option: 600dpi
  927. {
  928. *Name: "600 x 600 dots per inch"
  929. *DPI: PAIR(600, 600)
  930. *TextDPI: PAIR(600, 600)
  931. *MinStripBlankPixels: 32
  932. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  933. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  934. *SpotDiameter: 100
  935. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  936. + ";0bi{I" }
  937. *Command: CmdSelect
  938. {
  939. *Order: DOC_SETUP.20
  940. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  941. }
  942. }
  943. }
  944. *Feature: PaperSize
  945. {
  946. *rcNameID: =PAPER_SIZE_DISPLAY
  947. *DefaultOption: A4
  948. *Option: A4
  949. {
  950. *InsertBlock: =BM_PS_A4
  951. }
  952. *Option: A5
  953. {
  954. *InsertBlock: =BM_PS_A5
  955. }
  956. *Option: B5
  957. {
  958. *InsertBlock: =BM_PS_B5
  959. }
  960. *Option: LETTER
  961. {
  962. *InsertBlock: =BM_PS_LT
  963. }
  964. *Option: HLT
  965. {
  966. *InsertBlock: =BM_PS_HLT
  967. }
  968. *Option: LEGAL
  969. {
  970. *InsertBlock: =BM_PS_LGL
  971. }
  972. *Option: EXECUTIVE
  973. {
  974. *InsertBlock: =BM_PS_EXE
  975. }
  976. *Option: GLG
  977. {
  978. *InsertBlock: =BM_PS_GLG
  979. }
  980. *Option: GLT
  981. {
  982. *InsertBlock: =BM_PS_GLT
  983. }
  984. *Option: F4
  985. {
  986. *InsertBlock: =BM_PS_F4
  987. }
  988. *Option: JAPANESE_POSTCARD
  989. {
  990. *InsertBlock: =BM_PS_POST
  991. }
  992. *Option: ENV_MONARCH
  993. {
  994. *InsertBlock: =BM_PS_MON
  995. }
  996. *Option: C10
  997. {
  998. *InsertBlock: =BM_PS_C10
  999. }
  1000. *Option: ENV_10
  1001. {
  1002. *InsertBlock: =BM_PS_E10
  1003. }
  1004. *Option: ENV_DL
  1005. {
  1006. *InsertBlock: =BM_PS_DL
  1007. }
  1008. *Option: ENV_C5
  1009. {
  1010. *InsertBlock: =BM_PS_C5
  1011. }
  1012. *Option: CUSTOMSIZE
  1013. {
  1014. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1015. *MinSize: PAIR(4648, 6992)
  1016. *MaxSize: PAIR(10200, 16800)
  1017. *MaxPrintableWidth: 10200
  1018. *InsertBlock: =BM_PSB_CTM
  1019. }
  1020. }
  1021. *Feature: Halftone
  1022. {
  1023. *rcNameID: =HALFTONING_DISPLAY
  1024. *DefaultOption: HT_PATSIZE_AUTO
  1025. *Option: HT_PATSIZE_AUTO
  1026. {
  1027. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1028. }
  1029. *Option: HT_PATSIZE_SUPERCELL_M
  1030. {
  1031. *rcNameID: =HT_SUPERCELL_DISPLAY
  1032. }
  1033. *Option: HT_PATSIZE_6x6_M
  1034. {
  1035. *rcNameID: =HT_DITHER6X6_DISPLAY
  1036. }
  1037. *Option: HT_PATSIZE_8x8_M
  1038. {
  1039. *rcNameID: =HT_DITHER8X8_DISPLAY
  1040. }
  1041. }
  1042. *Feature: RectFill
  1043. {
  1044. *rcNameID: =RC_STR_RECTFILL
  1045. *FeatureType: DOC_PROPERTY
  1046. *DefaultOption: Enabled
  1047. *Option: Enabled
  1048. {
  1049. *rcNameID: =RC_STR_ENABLED
  1050. *Command: CmdSelect
  1051. {
  1052. *Order: DOC_SETUP.999
  1053. *Cmd: ""
  1054. }
  1055. }
  1056. *Option: Disabled
  1057. {
  1058. *rcNameID: =RC_STR_DISABLED
  1059. *Command: CmdSelect
  1060. {
  1061. *Order: DOC_SETUP.999
  1062. *Cmd: ""
  1063. }
  1064. }
  1065. }
  1066. *Feature: VertPrintAdjust
  1067. {
  1068. *rcNameID: =RC_STR_VPADJUST
  1069. *FeatureType: DOC_PROPERTY
  1070. *DefaultOption: Enabled
  1071. *Option: Enabled
  1072. {
  1073. *rcNameID: =RC_STR_ENABLED
  1074. *Command: CmdSelect
  1075. {
  1076. *Order: DOC_SETUP.998
  1077. *Cmd: ""
  1078. }
  1079. }
  1080. *Option: Disabled
  1081. {
  1082. *rcNameID: =RC_STR_DISABLED
  1083. *Command: CmdSelect
  1084. {
  1085. *Order: DOC_SETUP.998
  1086. *CallbackID: =TEXT_NO_VPADJUST
  1087. }
  1088. }
  1089. }
  1090. *Feature: Memory
  1091. {
  1092. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1093. *DefaultOption: 3072KB
  1094. *Option: 3072KB
  1095. {
  1096. *Name: "3MB"
  1097. *MemoryConfigKB: PAIR(3072, 400)
  1098. }
  1099. *Option: 7168KB
  1100. {
  1101. *Name: "7MB"
  1102. *MemoryConfigKB: PAIR(7168, 400)
  1103. }
  1104. *Option: 11264KB
  1105. {
  1106. *Name: "11MB"
  1107. *MemoryConfigKB: PAIR(11264, 400)
  1108. }
  1109. *Option: 19456KB
  1110. {
  1111. *Name: "19MB"
  1112. *MemoryConfigKB: PAIR(19456, 400)
  1113. }
  1114. *Option: 35840KB
  1115. {
  1116. *Name: "35MB"
  1117. *MemoryConfigKB: PAIR(35840, 400)
  1118. }
  1119. }
  1120. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.3072KB)
  1121. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.3072KB)
  1122. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.3072KB)
  1123. *Command: CmdStartDoc
  1124. {
  1125. *Order: DOC_SETUP.1
  1126. *Cmd: =CMD_STARTDOC_INI =CMD_EJL_SET =CMD_EJL_DEF =CMD_EJL_FINE
  1127. }
  1128. *Command: CmdStartPage
  1129. {
  1130. *Order: PAGE_SETUP.1
  1131. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  1132. }
  1133. *Command: CmdEndJob
  1134. {
  1135. *Order: JOB_FINISH.1
  1136. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  1137. }
  1138. *Command: CmdCopies
  1139. {
  1140. *Order: PAGE_SETUP.7
  1141. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  1142. }
  1143. *RotateCoordinate?: TRUE
  1144. *RotateRaster?: TRUE
  1145. *RotateFont?: TRUE
  1146. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  1147. *MemoryUsage: LIST(FONT)
  1148. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1149. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1150. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1151. *XMoveThreshold: 0
  1152. *YMoveThreshold: 0
  1153. *XMoveUnit: 600
  1154. *YMoveUnit: 600
  1155. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  1156. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  1157. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  1158. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  1159. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  1160. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  1161. *Command: CmdCR { *Cmd : "<0D>" }
  1162. *Command: CmdLF { *Cmd : "<0A>" }
  1163. *Command: CmdFF { *Cmd : "<0C>" }
  1164. *Command: CmdBackSpace { *Cmd : "<08>" }
  1165. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  1166. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  1167. *Command: CmdSetSimpleRotation
  1168. {
  1169. *CallbackID: =TEXT_PRN_DIRECTION
  1170. *Params: LIST(PrintDirInCCDegrees)
  1171. }
  1172. *EjectPageWithFF?: TRUE
  1173. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  1174. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  1175. *OutputDataFormat: H_BYTE
  1176. *OptimizeLeftBound?: TRUE
  1177. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1178. *CursorYAfterSendBlockData: NO_MOVE
  1179. *DefaultFont: =RC_FONT_MINCHO
  1180. *DefaultCTT: 0
  1181. *CharPosition: BASELINE
  1182. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  1183. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  1184. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  1185. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  1186. + =RC_FONT_MOREWB,
  1187. + =RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_KGOTHIC,=RC_FONT_KGOTHICV)
  1188. *FontCartridge: FC1
  1189. {
  1190. *rcCartridgeNameID: =RC_STR_MARUGOT
  1191. *Fonts: LIST(=RC_FONT_MGOTHIC,=RC_FONT_MGOTHICV)
  1192. }
  1193. *FontCartridge: FC2
  1194. {
  1195. *rcCartridgeNameID: =RC_STR_KYOKASHO
  1196. *Fonts: LIST(=RC_FONT_KYOUKA,=RC_FONT_KYOUKAV)
  1197. }
  1198. *FontCartridge: FC3
  1199. {
  1200. *rcCartridgeNameID: =RC_STR_KAISHO
  1201. *Fonts: LIST(=RC_FONT_SHOUKAI,=RC_FONT_SHOUKAIV)
  1202. }
  1203. *FontCartridge: FC4
  1204. {
  1205. *rcCartridgeNameID: =RC_STR_GYOSHO
  1206. *Fonts: LIST(=RC_FONT_MOUHITSU,=RC_FONT_MOUHITSV)
  1207. }
  1208. *FontCartridge: FC5
  1209. {
  1210. *rcCartridgeNameID: =RC_STR_FMINFKGOT
  1211. *Fonts: LIST(=RC_FONT_FMINB,=RC_FONT_FMINBV,=RC_FONT_FGOB,=RC_FONT_FGOBV)
  1212. }
  1213. *TTFS: Arial
  1214. {
  1215. *rcTTFontNameID: =RC_TTF_ARIAL
  1216. *rcDevFontNameID: =RC_DF_SWISS721
  1217. }
  1218. *TTFS: CourierNew
  1219. {
  1220. *rcTTFontNameID: =RC_TTF_COURIERNEW
  1221. *rcDevFontNameID: =RC_DF_COURIER
  1222. }
  1223. *TTFS: Symbol
  1224. {
  1225. *rcTTFontNameID: =RC_TTF_SYMBOL
  1226. *rcDevFontNameID: =RC_DF_SYMBOLIC
  1227. }
  1228. *TTFS: TimesNewRoman
  1229. {
  1230. *rcTTFontNameID: =RC_TTF_TIMESNR
  1231. *rcDevFontNameID: =RC_DF_DUTCH801
  1232. }
  1233. *TTFS: Wingdings
  1234. {
  1235. *rcTTFontNameID: =RC_TTF_WINGDINGS
  1236. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  1237. }
  1238. *TTFS: MSMincho
  1239. {
  1240. *rcTTFontNameID: =RC_TTF_MSMINCHO
  1241. *rcDevFontNameID: =RC_DF_MINCHO
  1242. }
  1243. *TTFS: MSMinchoV
  1244. {
  1245. *rcTTFontNameID: =RC_TTF_MSMINCHOV
  1246. *rcDevFontNameID: =RC_DF_MINCHOV
  1247. }
  1248. *TTFS: MSGothic
  1249. {
  1250. *rcTTFontNameID: =RC_TTF_MSGOTHIC
  1251. *rcDevFontNameID: =RC_DF_GOTHIC
  1252. }
  1253. *TTFS: MSGothicV
  1254. {
  1255. *rcTTFontNameID: =RC_TTF_MSGOTHICV
  1256. *rcDevFontNameID: =RC_DF_GOTHICV
  1257. }
  1258. *TTFS: MSMincho_E
  1259. {
  1260. *rcTTFontNameID: =RC_TTF_MSMINCHO_E
  1261. *rcDevFontNameID: =RC_DF_MINCHO
  1262. }
  1263. *TTFS: MSMinchoV_E
  1264. {
  1265. *rcTTFontNameID: =RC_TTF_MSMINCHOV_E
  1266. *rcDevFontNameID: =RC_DF_MINCHOV
  1267. }
  1268. *TTFS: MSGothic_E
  1269. {
  1270. *rcTTFontNameID: =RC_TTF_MSGOTHIC_E
  1271. *rcDevFontNameID: =RC_DF_GOTHIC
  1272. }
  1273. *TTFS: MSGothicV_E
  1274. {
  1275. *rcTTFontNameID: =RC_TTF_MSGOTHICV_E
  1276. *rcDevFontNameID: =RC_DF_GOTHICV
  1277. }
  1278. *TTFSEnabled?: =TTFS_ENABLED
  1279. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  1280. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  1281. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  1282. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  1283. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  1284. *FontFormat: OEM_CALLBACK
  1285. *Command: CmdSelectFontID
  1286. {
  1287. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  1288. *Params: LIST(CurrentFontID)
  1289. }
  1290. *Command: CmdSetFontID
  1291. {
  1292. *CallbackID: =DOWNLOAD_SET_FONT_ID
  1293. *Params: LIST(CurrentFontID)
  1294. }
  1295. *Command: CmdSetCharCode
  1296. {
  1297. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  1298. *Params: LIST(NextGlyph)
  1299. }
  1300. *Command: CmdDeleteFont
  1301. {
  1302. *CallbackID: =DOWNLOAD_DELETE_FONT
  1303. *Params: LIST(CurrentFontID)
  1304. }
  1305. *Command: CmdBoldOn
  1306. {
  1307. *CallbackID: =TEXT_BOLD
  1308. *Params: LIST(FontBold)
  1309. }
  1310. *Command: CmdBoldOff
  1311. {
  1312. *CallbackID: =TEXT_BOLD
  1313. *Params: LIST(FontBold)
  1314. }
  1315. *Command: CmdItalicOn
  1316. {
  1317. *CallbackID: =TEXT_ITALIC
  1318. *Params: LIST(FontItalic)
  1319. }
  1320. *Command: CmdItalicOff
  1321. {
  1322. *CallbackID: =TEXT_ITALIC
  1323. *Params: LIST(FontItalic)
  1324. }
  1325. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  1326. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  1327. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1328. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1329. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1330. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1331. *Command: CmdSelectSingleByteMode
  1332. {
  1333. *CallbackID: =TEXT_SINGLE_BYTE
  1334. *Params: LIST(FontBold,FontItalic)
  1335. }
  1336. *Command: CmdSelectDoubleByteMode
  1337. {
  1338. *CallbackID: =TEXT_DOUBLE_BYTE
  1339. *Params: LIST(FontBold,FontItalic)
  1340. }
  1341. *Command: CmdVerticalPrintingOn
  1342. {
  1343. *CallbackID: =TEXT_VERTICAL
  1344. }
  1345. *Command: CmdVerticalPrintingOff
  1346. {
  1347. *CallbackID: =TEXT_HORIZONTAL
  1348. }
  1349. *% Vector Printing / Rectangle Fill
  1350. *switch: RectFill
  1351. {
  1352. *case: Enabled
  1353. {
  1354. *InsertBlock: =BM_RECTFILL
  1355. }
  1356. *case: Disabled
  1357. {
  1358. *% Nothing
  1359. }
  1360. }