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.

1334 lines
37 KiB

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