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.

1419 lines
39 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "0.994"
  3. *GPDFileName: "EP2L90CT.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-9000C"
  901. *MasterUnits: PAIR(1200, 1200)
  902. *ResourceDLL: "EPAGERES.DLL"
  903. *PrinterType: PAGE
  904. *MaxCopies: 255
  905. *PrintRate: 8
  906. *PrintRateUnit: PPM
  907. *FontCartSlots: 2
  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: AUTOSEL
  937. *Option: AUTOSEL
  938. {
  939. *rcNameID: =RC_STR_AUTOSEL
  940. *Command: CmdSelect
  941. {
  942. *Order: DOC_SETUP.50
  943. *Cmd: "<1D>0;0iuE"
  944. }
  945. }
  946. *Option: CST1
  947. {
  948. *rcNameID: =RC_STR_CST1
  949. *Command: CmdSelect
  950. {
  951. *Order: DOC_SETUP.50
  952. *Cmd: "<1D>2;1iuE"
  953. }
  954. }
  955. *Option: CST2
  956. {
  957. *rcNameID: =RC_STR_CST2
  958. *Installable?: TRUE
  959. *rcInstallableFeatureNameID: =RC_STR_CST2
  960. *Command: CmdSelect
  961. {
  962. *Order: DOC_SETUP.50
  963. *Cmd: "<1D>3;1iuE"
  964. }
  965. }
  966. *Option: FTRAY
  967. {
  968. *rcNameID: =RC_STR_FTRAY
  969. *Command: CmdSelect
  970. {
  971. *Order: DOC_SETUP.50
  972. *Cmd: "<1D>1;1iuE"
  973. }
  974. }
  975. }
  976. *Feature: Resolution
  977. {
  978. *rcNameID: =RESOLUTION_DISPLAY
  979. *DefaultOption: 600dpi
  980. *Option: 300dpi
  981. {
  982. *Name: "300 x 300 dots per inch"
  983. *DPI: PAIR(300, 300)
  984. *TextDPI: PAIR(300, 300)
  985. *MinStripBlankPixels: 32
  986. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  987. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  988. *SpotDiameter: 100
  989. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  990. + ";0bi{I" }
  991. *Command: CmdSelect
  992. {
  993. *Order: DOC_SETUP.20
  994. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  995. }
  996. }
  997. *Option: 600dpi
  998. {
  999. *Name: "600 x 600 dots per inch"
  1000. *DPI: PAIR(600, 600)
  1001. *TextDPI: PAIR(600, 600)
  1002. *MinStripBlankPixels: 32
  1003. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  1004. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  1005. *SpotDiameter: 100
  1006. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  1007. + ";0bi{I" }
  1008. *Command: CmdSelect
  1009. {
  1010. *Order: DOC_SETUP.20
  1011. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  1012. }
  1013. }
  1014. }
  1015. *Feature: PaperSize
  1016. {
  1017. *rcNameID: =PAPER_SIZE_DISPLAY
  1018. *DefaultOption: A4
  1019. *Option: A3
  1020. {
  1021. *InsertBlock: =BM_PS_A3
  1022. }
  1023. *Option: A4
  1024. {
  1025. *InsertBlock: =BM_PS_A4
  1026. }
  1027. *Option: A5
  1028. {
  1029. *InsertBlock: =BM_PS_A5
  1030. }
  1031. *Option: B5
  1032. {
  1033. *InsertBlock: =BM_PS_B5
  1034. }
  1035. *Option: LETTER
  1036. {
  1037. *InsertBlock: =BM_PS_LT
  1038. }
  1039. *Option: HLT
  1040. {
  1041. *InsertBlock: =BM_PS_HLT
  1042. }
  1043. *Option: LEGAL
  1044. {
  1045. *InsertBlock: =BM_PS_LGL
  1046. }
  1047. *Option: EXECUTIVE
  1048. {
  1049. *InsertBlock: =BM_PS_EXE
  1050. }
  1051. *Option: GLG
  1052. {
  1053. *InsertBlock: =BM_PS_GLG
  1054. }
  1055. *Option: GLT
  1056. {
  1057. *InsertBlock: =BM_PS_GLT
  1058. }
  1059. *Option: F4
  1060. {
  1061. *InsertBlock: =BM_PS_F4
  1062. }
  1063. *Option: ENV_MONARCH
  1064. {
  1065. *InsertBlock: =BM_PS_MON
  1066. }
  1067. *Option: C20
  1068. {
  1069. *InsertBlock: =BM_PS_C10
  1070. }
  1071. *Option: ENV_10
  1072. {
  1073. *InsertBlock: =BM_PS_E10
  1074. }
  1075. *Option: ENV_DL
  1076. {
  1077. *InsertBlock: =BM_PS_DL
  1078. }
  1079. *Option: ENV_C5
  1080. {
  1081. *InsertBlock: =BM_PS_C5
  1082. }
  1083. *Option: TABLOID
  1084. {
  1085. *InsertBlock: =BM_PS_TBLD
  1086. }
  1087. *Option: B4
  1088. {
  1089. *InsertBlock: =BM_PS_B4
  1090. }
  1091. *Option: CUSTOMSIZE
  1092. {
  1093. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1094. *MinSize: PAIR(4648, 6600)
  1095. *MaxSize: PAIR(14032, 20400)
  1096. *MaxPrintableWidth: 14032
  1097. *InsertBlock: =BM_PSB_CTM
  1098. }
  1099. }
  1100. *Feature: Halftone
  1101. {
  1102. *rcNameID: =HALFTONING_DISPLAY
  1103. *DefaultOption: HT_PATSIZE_AUTO
  1104. *Option: HT_PATSIZE_AUTO
  1105. {
  1106. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1107. }
  1108. *Option: HT_PATSIZE_SUPERCELL_M
  1109. {
  1110. *rcNameID: =HT_SUPERCELL_DISPLAY
  1111. }
  1112. *Option: HT_PATSIZE_6x6_M
  1113. {
  1114. *rcNameID: =HT_DITHER6X6_DISPLAY
  1115. }
  1116. *Option: HT_PATSIZE_8x8_M
  1117. {
  1118. *rcNameID: =HT_DITHER8X8_DISPLAY
  1119. }
  1120. }
  1121. *Feature: RectFill
  1122. {
  1123. *rcNameID: =RC_STR_RECTFILL
  1124. *FeatureType: DOC_PROPERTY
  1125. *DefaultOption: Enabled
  1126. *Option: Enabled
  1127. {
  1128. *rcNameID: =RC_STR_ENABLED
  1129. *Command: CmdSelect
  1130. {
  1131. *Order: DOC_SETUP.999
  1132. *Cmd: ""
  1133. }
  1134. }
  1135. *Option: Disabled
  1136. {
  1137. *rcNameID: =RC_STR_DISABLED
  1138. *Command: CmdSelect
  1139. {
  1140. *Order: DOC_SETUP.999
  1141. *Cmd: ""
  1142. }
  1143. }
  1144. }
  1145. *Feature: Memory
  1146. {
  1147. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1148. *DefaultOption: 6144KB
  1149. *Option: 6144KB
  1150. {
  1151. *Name: "6MB"
  1152. *MemoryConfigKB: PAIR(6144, 580)
  1153. }
  1154. *Option: 7168KB
  1155. {
  1156. *Name: "7MB"
  1157. *MemoryConfigKB: PAIR(7168, 580)
  1158. }
  1159. *Option: 8192KB
  1160. {
  1161. *Name: "8MB"
  1162. *MemoryConfigKB: PAIR(8192, 580)
  1163. }
  1164. *Option: 10240KB
  1165. {
  1166. *Name: "10MB"
  1167. *MemoryConfigKB: PAIR(10240, 580)
  1168. }
  1169. *Option: 14336KB
  1170. {
  1171. *Name: "14MB"
  1172. *MemoryConfigKB: PAIR(14336, 580)
  1173. }
  1174. *Option: 22528KB
  1175. {
  1176. *Name: "22MB"
  1177. *MemoryConfigKB: PAIR(22528, 580)
  1178. }
  1179. *Option: 38912KB
  1180. {
  1181. *Name: "38MB"
  1182. *MemoryConfigKB: PAIR(38912, 580)
  1183. }
  1184. }
  1185. *% InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.6144KB)
  1186. *% InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.7168KB)
  1187. *% InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.6144KB)
  1188. *% InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.7168KB)
  1189. *Command: CmdStartJob
  1190. {
  1191. *Order: JOB_SETUP.1
  1192. *CallbackID: =SET_LCID_C
  1193. }
  1194. *Command: CmdStartDoc
  1195. {
  1196. *Order: DOC_SETUP.10
  1197. *Cmd: =CMD_STARTDOC_C
  1198. }
  1199. *Command: CmdStartPage
  1200. {
  1201. *Order: PAGE_SETUP.1
  1202. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  1203. }
  1204. *Command: CmdEndJob
  1205. {
  1206. *Order: JOB_FINISH.1
  1207. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  1208. }
  1209. *Command: CmdCopies
  1210. {
  1211. *Order: PAGE_SETUP.7
  1212. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  1213. }
  1214. *RotateCoordinate?: TRUE
  1215. *RotateRaster?: TRUE
  1216. *RotateFont?: TRUE
  1217. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  1218. *MemoryUsage: LIST(FONT)
  1219. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1220. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1221. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1222. *XMoveThreshold: 0
  1223. *YMoveThreshold: 0
  1224. *XMoveUnit: 600
  1225. *YMoveUnit: 600
  1226. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  1227. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  1228. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  1229. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  1230. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  1231. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  1232. *Command: CmdCR { *Cmd : "<0D>" }
  1233. *Command: CmdLF { *Cmd : "<0A>" }
  1234. *Command: CmdFF { *Cmd : "<0C>" }
  1235. *Command: CmdBackSpace { *Cmd : "<08>" }
  1236. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  1237. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  1238. *Command: CmdSetSimpleRotation
  1239. {
  1240. *CallbackID: =TEXT_PRN_DIRECTION
  1241. *Params: LIST(PrintDirInCCDegrees)
  1242. }
  1243. *EjectPageWithFF?: TRUE
  1244. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  1245. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  1246. *OutputDataFormat: H_BYTE
  1247. *OptimizeLeftBound?: TRUE
  1248. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1249. *CursorYAfterSendBlockData: NO_MOVE
  1250. *DefaultFont: =RC_FONT_SUNGC
  1251. *DefaultCTT: 0
  1252. *CharPosition: BASELINE
  1253. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  1254. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  1255. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  1256. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  1257. + =RC_FONT_MOREWB,
  1258. + =RC_FONT_SUNGC,=RC_FONT_SUNGCV,=RC_FONT_SUNGCL,=RC_FONT_SUNGCLV,
  1259. + =RC_FONT_SUNGCB,=RC_FONT_SUNGCBV,=RC_FONT_HEIC,=RC_FONT_HEICV,
  1260. + =RC_FONT_HEICL,=RC_FONT_HEICLV,=RC_FONT_HEICB,=RC_FONT_HEICBV,
  1261. + =RC_FONT_KAIC,=RC_FONT_KAICV,=RC_FONT_KAICL,=RC_FONT_KAICLV,
  1262. + =RC_FONT_KAICB,=RC_FONT_KAICBV,=RC_FONT_YUANGC,=RC_FONT_YUANGCV,
  1263. + =RC_FONT_YUANGCL,=RC_FONT_YUANGCLV,=RC_FONT_YUANGCB,=RC_FONT_YUANGCBV,
  1264. + =RC_FONT_LIC,=RC_FONT_LICV)
  1265. *FontCartridge: FC1
  1266. {
  1267. *rcCartridgeNameID: =RC_STR_FSSSY
  1268. *Fonts: LIST(=RC_FONT_FSUNGC,=RC_FONT_FSUNGCV,=RC_FONT_FSUNGCL,=RC_FONT_FSUNGCLV,
  1269. + =RC_FONT_FSUNGCB,=RC_FONT_FSUNGCBV,=RC_FONT_SHINGC,=RC_FONT_SHINGCV,
  1270. + =RC_FONT_SHINYIC,=RC_FONT_SHINYICV)
  1271. }
  1272. *TTFS: MingLiU
  1273. {
  1274. *rcTTFontNameID: =RC_TTF_LMING
  1275. *rcDevFontNameID: =RC_DF_SUNGCL
  1276. }
  1277. *TTFS: MingLiUV
  1278. {
  1279. *rcTTFontNameID: =RC_TTF_LMINGV
  1280. *rcDevFontNameID: =RC_DF_SUNGCLV
  1281. }
  1282. *TTFS: MingLiU_E
  1283. {
  1284. *rcTTFontNameID: =RC_TTF_LMING_E
  1285. *rcDevFontNameID: =RC_DF_SUNGCL
  1286. }
  1287. *TTFS: MingLiUV_E
  1288. {
  1289. *rcTTFontNameID: =RC_TTF_LMINGV_E
  1290. *rcDevFontNameID: =RC_DF_SUNGCLV
  1291. }
  1292. *TTFS: Arial
  1293. {
  1294. *rcTTFontNameID: =RC_TTF_ARIAL
  1295. *rcDevFontNameID: =RC_DF_SWISS721
  1296. }
  1297. *TTFS: CourierNew
  1298. {
  1299. *rcTTFontNameID: =RC_TTF_COURIERNEW
  1300. *rcDevFontNameID: =RC_DF_COURIER
  1301. }
  1302. *TTFS: Symbol
  1303. {
  1304. *rcTTFontNameID: =RC_TTF_SYMBOL
  1305. *rcDevFontNameID: =RC_DF_SYMBOLIC
  1306. }
  1307. *TTFS: TimesNewRoman
  1308. {
  1309. *rcTTFontNameID: =RC_TTF_TIMESNR
  1310. *rcDevFontNameID: =RC_DF_DUTCH801
  1311. }
  1312. *TTFS: Wingdings
  1313. {
  1314. *rcTTFontNameID: =RC_TTF_WINGDINGS
  1315. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  1316. }
  1317. *TTFSEnabled?: =TTFS_ENABLED
  1318. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  1319. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  1320. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  1321. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  1322. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  1323. *FontFormat: OEM_CALLBACK
  1324. *Command: CmdSelectFontID
  1325. {
  1326. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  1327. *Params: LIST(CurrentFontID)
  1328. }
  1329. *Command: CmdSetFontID
  1330. {
  1331. *CallbackID: =DOWNLOAD_SET_FONT_ID
  1332. *Params: LIST(CurrentFontID)
  1333. }
  1334. *Command: CmdSetCharCode
  1335. {
  1336. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  1337. *Params: LIST(NextGlyph)
  1338. }
  1339. *Command: CmdDeleteFont
  1340. {
  1341. *CallbackID: =DOWNLOAD_DELETE_FONT
  1342. *Params: LIST(CurrentFontID)
  1343. }
  1344. *Command: CmdBoldOn
  1345. {
  1346. *CallbackID: =TEXT_BOLD
  1347. *Params: LIST(FontBold)
  1348. }
  1349. *Command: CmdBoldOff
  1350. {
  1351. *CallbackID: =TEXT_BOLD
  1352. *Params: LIST(FontBold)
  1353. }
  1354. *Command: CmdItalicOn
  1355. {
  1356. *CallbackID: =TEXT_ITALIC
  1357. *Params: LIST(FontItalic)
  1358. }
  1359. *Command: CmdItalicOff
  1360. {
  1361. *CallbackID: =TEXT_ITALIC
  1362. *Params: LIST(FontItalic)
  1363. }
  1364. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  1365. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  1366. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1367. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1368. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1369. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1370. *Command: CmdSelectSingleByteMode
  1371. {
  1372. *CallbackID: =TEXT_SINGLE_BYTE
  1373. *Params: LIST(FontBold,FontItalic)
  1374. }
  1375. *Command: CmdSelectDoubleByteMode
  1376. {
  1377. *CallbackID: =TEXT_DOUBLE_BYTE
  1378. *Params: LIST(FontBold,FontItalic)
  1379. }
  1380. *Command: CmdVerticalPrintingOn
  1381. {
  1382. *CallbackID: =TEXT_VERTICAL
  1383. }
  1384. *Command: CmdVerticalPrintingOff
  1385. {
  1386. *CallbackID: =TEXT_HORIZONTAL
  1387. }
  1388. *% Vector Printing / Rectangle Fill
  1389. *switch: RectFill
  1390. {
  1391. *case: Enabled
  1392. {
  1393. *InsertBlock: =BM_RECTFILL
  1394. }
  1395. *case: Disabled
  1396. {
  1397. *% Nothing
  1398. }
  1399. }
  1400.