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.

1335 lines
37 KiB

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