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
36 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "0.994"
  3. *GPDFileName: "EP2L86KC.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-8600K"
  811. *MasterUnits: PAIR(1200, 1200)
  812. *ResourceDLL: "EPAGERES.DLL"
  813. *PrinterType: PAGE
  814. *MaxCopies: 255
  815. *PrintRate: 8
  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: CST1
  857. {
  858. *rcNameID: =RC_STR_CST1
  859. *Command: CmdSelect
  860. {
  861. *Order: DOC_SETUP.50
  862. *Cmd: "<1D>2;1iuE"
  863. }
  864. }
  865. *Option: CST2
  866. {
  867. *rcNameID: =RC_STR_CST2
  868. *Installable?: TRUE
  869. *rcInstallableFeatureNameID: =RC_STR_CST2
  870. *Command: CmdSelect
  871. {
  872. *Order: DOC_SETUP.50
  873. *Cmd: "<1D>3;1iuE"
  874. }
  875. }
  876. *Option: FTRAY
  877. {
  878. *rcNameID: =RC_STR_FTRAY
  879. *Command: CmdSelect
  880. {
  881. *Order: DOC_SETUP.50
  882. *Cmd: "<1D>1;1iuE"
  883. }
  884. }
  885. }
  886. *Feature: Resolution
  887. {
  888. *rcNameID: =RESOLUTION_DISPLAY
  889. *DefaultOption: 600dpi
  890. *Option: 300dpi
  891. {
  892. *Name: "300 x 300 dots per inch"
  893. *DPI: PAIR(300, 300)
  894. *TextDPI: PAIR(300, 300)
  895. *MinStripBlankPixels: 32
  896. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  897. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  898. *SpotDiameter: 100
  899. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  900. + ";0bi{I" }
  901. *Command: CmdSelect
  902. {
  903. *Order: DOC_SETUP.20
  904. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  905. }
  906. }
  907. *Option: 600dpi
  908. {
  909. *Name: "600 x 600 dots per inch"
  910. *DPI: PAIR(600, 600)
  911. *TextDPI: PAIR(600, 600)
  912. *MinStripBlankPixels: 32
  913. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  914. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  915. *SpotDiameter: 100
  916. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  917. + ";0bi{I" }
  918. *Command: CmdSelect
  919. {
  920. *Order: DOC_SETUP.20
  921. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  922. }
  923. }
  924. }
  925. *Feature: PaperSize
  926. {
  927. *rcNameID: =PAPER_SIZE_DISPLAY
  928. *DefaultOption: A4
  929. *Option: A3
  930. {
  931. *InsertBlock: =BM_PS_A3
  932. }
  933. *Option: A4
  934. {
  935. *InsertBlock: =BM_PS_A4
  936. }
  937. *Option: A5
  938. {
  939. *InsertBlock: =BM_PS_A5
  940. }
  941. *Option: B5
  942. {
  943. *InsertBlock: =BM_PS_B5
  944. }
  945. *Option: LETTER
  946. {
  947. *InsertBlock: =BM_PS_LT
  948. }
  949. *Option: HLT
  950. {
  951. *InsertBlock: =BM_PS_HLT
  952. }
  953. *Option: LEGAL
  954. {
  955. *InsertBlock: =BM_PS_LGL
  956. }
  957. *Option: EXECUTIVE
  958. {
  959. *InsertBlock: =BM_PS_EXE
  960. }
  961. *Option: GLG
  962. {
  963. *InsertBlock: =BM_PS_GLG
  964. }
  965. *Option: GLT
  966. {
  967. *InsertBlock: =BM_PS_GLT
  968. }
  969. *Option: F4
  970. {
  971. *InsertBlock: =BM_PS_F4
  972. }
  973. *Option: ENV_MONARCH
  974. {
  975. *InsertBlock: =BM_PS_MON
  976. }
  977. *Option: C10
  978. {
  979. *InsertBlock: =BM_PS_C10
  980. }
  981. *Option: ENV_10
  982. {
  983. *InsertBlock: =BM_PS_E10
  984. }
  985. *Option: ENV_DL
  986. {
  987. *InsertBlock: =BM_PS_DL
  988. }
  989. *Option: ENV_C5
  990. {
  991. *InsertBlock: =BM_PS_C5
  992. }
  993. *Option: TABLOID
  994. {
  995. *InsertBlock: =BM_PS_TBLD
  996. }
  997. *Option: B4
  998. {
  999. *InsertBlock: =BM_PS_B4
  1000. }
  1001. *Option: CUSTOMSIZE
  1002. {
  1003. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1004. *MinSize: PAIR(4648, 6600)
  1005. *MaxSize: PAIR(14032, 20400)
  1006. *MaxPrintableWidth: 14032
  1007. *InsertBlock: =BM_PSB_CTM
  1008. }
  1009. }
  1010. *Feature: Halftone
  1011. {
  1012. *rcNameID: =HALFTONING_DISPLAY
  1013. *DefaultOption: HT_PATSIZE_AUTO
  1014. *Option: HT_PATSIZE_AUTO
  1015. {
  1016. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1017. }
  1018. *Option: HT_PATSIZE_SUPERCELL_M
  1019. {
  1020. *rcNameID: =HT_SUPERCELL_DISPLAY
  1021. }
  1022. *Option: HT_PATSIZE_6x6_M
  1023. {
  1024. *rcNameID: =HT_DITHER6X6_DISPLAY
  1025. }
  1026. *Option: HT_PATSIZE_8x8_M
  1027. {
  1028. *rcNameID: =HT_DITHER8X8_DISPLAY
  1029. }
  1030. }
  1031. *Feature: RectFill
  1032. {
  1033. *rcNameID: =RC_STR_RECTFILL
  1034. *FeatureType: DOC_PROPERTY
  1035. *DefaultOption: Enabled
  1036. *Option: Enabled
  1037. {
  1038. *rcNameID: =RC_STR_ENABLED
  1039. *Command: CmdSelect
  1040. {
  1041. *Order: DOC_SETUP.999
  1042. *Cmd: ""
  1043. }
  1044. }
  1045. *Option: Disabled
  1046. {
  1047. *rcNameID: =RC_STR_DISABLED
  1048. *Command: CmdSelect
  1049. {
  1050. *Order: DOC_SETUP.999
  1051. *Cmd: ""
  1052. }
  1053. }
  1054. }
  1055. *Feature: Memory
  1056. {
  1057. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1058. *DefaultOption: 6144KB
  1059. *Option: 6144KB
  1060. {
  1061. *Name: "6MB"
  1062. *MemoryConfigKB: PAIR(6144, 580)
  1063. }
  1064. *Option: 7168KB
  1065. {
  1066. *Name: "7MB"
  1067. *MemoryConfigKB: PAIR(7168, 580)
  1068. }
  1069. *Option: 8192KB
  1070. {
  1071. *Name: "8MB"
  1072. *MemoryConfigKB: PAIR(8192, 580)
  1073. }
  1074. *Option: 10240KB
  1075. {
  1076. *Name: "10MB"
  1077. *MemoryConfigKB: PAIR(10240, 580)
  1078. }
  1079. *Option: 14336KB
  1080. {
  1081. *Name: "14MB"
  1082. *MemoryConfigKB: PAIR(14336, 580)
  1083. }
  1084. *Option: 22528KB
  1085. {
  1086. *Name: "22MB"
  1087. *MemoryConfigKB: PAIR(22528, 580)
  1088. }
  1089. *Option: 38912KB
  1090. {
  1091. *Name: "38MB"
  1092. *MemoryConfigKB: PAIR(38912, 580)
  1093. }
  1094. }
  1095. *% InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.6144KB)
  1096. *% InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.7168KB)
  1097. *% InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.6144KB)
  1098. *% InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.7168KB)
  1099. *Command: CmdStartJob
  1100. {
  1101. *Order: JOB_SETUP.1
  1102. *CallbackID: =SET_LCID_K
  1103. }
  1104. *Command: CmdStartDoc
  1105. {
  1106. *Order: DOC_SETUP.10
  1107. *Cmd: =CMD_STARTDOC_K
  1108. }
  1109. *Command: CmdStartPage
  1110. {
  1111. *Order: PAGE_SETUP.1
  1112. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  1113. }
  1114. *Command: CmdEndJob
  1115. {
  1116. *Order: JOB_FINISH.1
  1117. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  1118. }
  1119. *Command: CmdCopies
  1120. {
  1121. *Order: PAGE_SETUP.7
  1122. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  1123. }
  1124. *RotateCoordinate?: TRUE
  1125. *RotateRaster?: TRUE
  1126. *RotateFont?: TRUE
  1127. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  1128. *MemoryUsage: LIST(FONT)
  1129. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1130. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1131. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1132. *XMoveThreshold: 0
  1133. *YMoveThreshold: 0
  1134. *XMoveUnit: 600
  1135. *YMoveUnit: 600
  1136. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  1137. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  1138. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  1139. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  1140. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  1141. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  1142. *Command: CmdCR { *Cmd : "<0D>" }
  1143. *Command: CmdLF { *Cmd : "<0A>" }
  1144. *Command: CmdFF { *Cmd : "<0C>" }
  1145. *Command: CmdBackSpace { *Cmd : "<08>" }
  1146. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  1147. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  1148. *Command: CmdSetSimpleRotation
  1149. {
  1150. *CallbackID: =TEXT_PRN_DIRECTION
  1151. *Params: LIST(PrintDirInCCDegrees)
  1152. }
  1153. *EjectPageWithFF?: TRUE
  1154. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  1155. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  1156. *OutputDataFormat: H_BYTE
  1157. *OptimizeLeftBound?: TRUE
  1158. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1159. *CursorYAfterSendBlockData: NO_MOVE
  1160. *DefaultFont: =RC_FONT_SONGK
  1161. *DefaultCTT: 0
  1162. *CharPosition: BASELINE
  1163. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  1164. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  1165. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  1166. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  1167. + =RC_FONT_MOREWB,
  1168. + =RC_FONT_SONGK,=RC_FONT_SONGKV,=RC_FONT_HEIK,=RC_FONT_HEIKV,
  1169. + =RC_FONT_KAIK,=RC_FONT_KAIKV,=RC_FONT_FSONGK,=RC_FONT_FSONGKV)
  1170. *TTFS: SimSun
  1171. {
  1172. *rcTTFontNameID: =RC_TTF_SIMSUN
  1173. *rcDevFontNameID: =RC_DF_SONGK
  1174. }
  1175. *TTFS: SimSunV
  1176. {
  1177. *rcTTFontNameID: =RC_TTF_SIMSUNV
  1178. *rcDevFontNameID: =RC_DF_SONGKV
  1179. }
  1180. *TTFS: SimHei
  1181. {
  1182. *rcTTFontNameID: =RC_TTF_SIMHEI
  1183. *rcDevFontNameID: =RC_DF_HEIK
  1184. }
  1185. *TTFS: SimHeiV
  1186. {
  1187. *rcTTFontNameID: =RC_TTF_SIMHEIV
  1188. *rcDevFontNameID: =RC_DF_HEIKV
  1189. }
  1190. *TTFS: SimSun_E
  1191. {
  1192. *rcTTFontNameID: =RC_TTF_SIMSUN_E
  1193. *rcDevFontNameID: =RC_DF_SONGK
  1194. }
  1195. *TTFS: SimSunV_E
  1196. {
  1197. *rcTTFontNameID: =RC_TTF_SIMSUNV_E
  1198. *rcDevFontNameID: =RC_DF_SONGKV
  1199. }
  1200. *TTFS: SimHei_E
  1201. {
  1202. *rcTTFontNameID: =RC_TTF_SIMHEI_E
  1203. *rcDevFontNameID: =RC_DF_HEIK
  1204. }
  1205. *TTFS: SimHeiV_E
  1206. {
  1207. *rcTTFontNameID: =RC_TTF_SIMHEIV_E
  1208. *rcDevFontNameID: =RC_DF_HEIKV
  1209. }
  1210. *TTFS: Arial
  1211. {
  1212. *rcTTFontNameID: =RC_TTF_ARIAL
  1213. *rcDevFontNameID: =RC_DF_SWISS721
  1214. }
  1215. *TTFS: CourierNew
  1216. {
  1217. *rcTTFontNameID: =RC_TTF_COURIERNEW
  1218. *rcDevFontNameID: =RC_DF_COURIER
  1219. }
  1220. *TTFS: Symbol
  1221. {
  1222. *rcTTFontNameID: =RC_TTF_SYMBOL
  1223. *rcDevFontNameID: =RC_DF_SYMBOLIC
  1224. }
  1225. *TTFS: TimesNewRoman
  1226. {
  1227. *rcTTFontNameID: =RC_TTF_TIMESNR
  1228. *rcDevFontNameID: =RC_DF_DUTCH801
  1229. }
  1230. *TTFS: Wingdings
  1231. {
  1232. *rcTTFontNameID: =RC_TTF_WINGDINGS
  1233. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  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.