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.

1617 lines
48 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "0.994"
  3. *GPDFileName: "EP2N20KC.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-N2000K"
  811. *MasterUnits: PAIR(1200, 1200)
  812. *ResourceDLL: "EPAGERES.DLL"
  813. *PrinterType: PAGE
  814. *MaxCopies: 255
  815. *PrintRate: 20
  816. *PrintRateUnit: PPM
  817. *FontCartSlots: 2
  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: MediaType
  887. {
  888. *rcNameID: =MEDIA_TYPE_DISPLAY
  889. *DefaultOption: STANDARD
  890. *Option: STANDARD
  891. {
  892. *rcNameID: =PLAIN_PAPER_DISPLAY
  893. *Command: CmdSelect
  894. {
  895. *Order: JOB_SETUP.3
  896. *Cmd: =CMD_EJL_NORMAL
  897. }
  898. }
  899. *Option: TRANSPARENCY
  900. {
  901. *rcNameID: =TRANSPARENCY_DISPLAY
  902. *Command: CmdSelect
  903. {
  904. *Order: JOB_SETUP.3
  905. *Cmd: =CMD_EJL_OHP
  906. }
  907. }
  908. *Option: THICK
  909. {
  910. *rcNameID: =RC_STR_THICK
  911. *Command: CmdSelect
  912. {
  913. *Order: JOB_SETUP.3
  914. *Cmd: =CMD_EJL_THICK
  915. }
  916. }
  917. *Option: THIN
  918. {
  919. *rcNameID: =RC_STR_THIN
  920. *Command: CmdSelect
  921. {
  922. *Order: JOB_SETUP.3
  923. *Cmd: =CMD_EJL_THIN
  924. }
  925. }
  926. }
  927. *Feature: StartDocFin
  928. {
  929. *Name: ""
  930. *ConcealFromUI?: TRUE
  931. *DefaultOption: Option1
  932. *Option: Option1
  933. {
  934. *Name: ""
  935. *Command: CmdSelect
  936. {
  937. *Order: JOB_SETUP.10
  938. *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN_K
  939. }
  940. }
  941. }
  942. *Feature: Resolution
  943. {
  944. *rcNameID: =RESOLUTION_DISPLAY
  945. *DefaultOption: 600dpi
  946. *Option: 300dpi
  947. {
  948. *Name: "300 x 300 dots per inch"
  949. *DPI: PAIR(300, 300)
  950. *TextDPI: PAIR(300, 300)
  951. *MinStripBlankPixels: 32
  952. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  953. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  954. *SpotDiameter: 100
  955. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  956. + ";0bi{I" }
  957. *Command: CmdSelect
  958. {
  959. *Order: DOC_SETUP.20
  960. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  961. }
  962. }
  963. *Option: 600dpi
  964. {
  965. *Name: "600 x 600 dots per inch"
  966. *DPI: PAIR(600, 600)
  967. *TextDPI: PAIR(600, 600)
  968. *MinStripBlankPixels: 32
  969. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  970. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  971. *SpotDiameter: 100
  972. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  973. + ";0bi{I" }
  974. *Command: CmdSelect
  975. {
  976. *Order: DOC_SETUP.20
  977. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  978. }
  979. }
  980. }
  981. *Feature: PaperSize
  982. {
  983. *rcNameID: =PAPER_SIZE_DISPLAY
  984. *DefaultOption: A4
  985. *Option: A3
  986. {
  987. *InsertBlock: =BM_PS_A3
  988. }
  989. *Option: A4
  990. {
  991. *InsertBlock: =BM_PS_A4
  992. }
  993. *Option: A5
  994. {
  995. *InsertBlock: =BM_PS_A5
  996. }
  997. *Option: B5
  998. {
  999. *InsertBlock: =BM_PS_B5
  1000. }
  1001. *Option: LETTER
  1002. {
  1003. *InsertBlock: =BM_PS_LT
  1004. }
  1005. *Option: HLT
  1006. {
  1007. *InsertBlock: =BM_PS_HLT
  1008. }
  1009. *Option: LEGAL
  1010. {
  1011. *InsertBlock: =BM_PS_LGL
  1012. }
  1013. *Option: EXECUTIVE
  1014. {
  1015. *InsertBlock: =BM_PS_EXE
  1016. }
  1017. *Option: GLG
  1018. {
  1019. *InsertBlock: =BM_PS_GLG
  1020. }
  1021. *Option: GLT
  1022. {
  1023. *InsertBlock: =BM_PS_GLT
  1024. }
  1025. *Option: F4
  1026. {
  1027. *InsertBlock: =BM_PS_F4
  1028. }
  1029. *Option: ENV_MONARCH
  1030. {
  1031. *InsertBlock: =BM_PS_MON
  1032. }
  1033. *Option: C10
  1034. {
  1035. *InsertBlock: =BM_PS_C10
  1036. }
  1037. *Option: ENV_10
  1038. {
  1039. *InsertBlock: =BM_PS_E10
  1040. }
  1041. *Option: ENV_DL
  1042. {
  1043. *InsertBlock: =BM_PS_DL
  1044. }
  1045. *Option: ENV_C5
  1046. {
  1047. *InsertBlock: =BM_PS_C5
  1048. }
  1049. *Option: TABLOID
  1050. {
  1051. *InsertBlock: =BM_PS_TBLD
  1052. }
  1053. *Option: B4
  1054. {
  1055. *InsertBlock: =BM_PS_B4
  1056. }
  1057. *Option: CUSTOMSIZE
  1058. {
  1059. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1060. *MinSize: PAIR(4648, 6600)
  1061. *MaxSize: PAIR(14032, 20400)
  1062. *MaxPrintableWidth: 14032
  1063. *InsertBlock: =BM_PSB_CTM
  1064. }
  1065. *Option: A3P
  1066. {
  1067. *InsertBlock: =BM_PS_A3P
  1068. }
  1069. }
  1070. *Feature: Halftone
  1071. {
  1072. *rcNameID: =HALFTONING_DISPLAY
  1073. *DefaultOption: HT_PATSIZE_AUTO
  1074. *Option: HT_PATSIZE_AUTO
  1075. {
  1076. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1077. }
  1078. *Option: HT_PATSIZE_SUPERCELL_M
  1079. {
  1080. *rcNameID: =HT_SUPERCELL_DISPLAY
  1081. }
  1082. *Option: HT_PATSIZE_6x6_M
  1083. {
  1084. *rcNameID: =HT_DITHER6X6_DISPLAY
  1085. }
  1086. *Option: HT_PATSIZE_8x8_M
  1087. {
  1088. *rcNameID: =HT_DITHER8X8_DISPLAY
  1089. }
  1090. }
  1091. *Feature: RectFill
  1092. {
  1093. *rcNameID: =RC_STR_RECTFILL
  1094. *FeatureType: DOC_PROPERTY
  1095. *DefaultOption: Enabled
  1096. *Option: Enabled
  1097. {
  1098. *rcNameID: =RC_STR_ENABLED
  1099. *Command: CmdSelect
  1100. {
  1101. *Order: DOC_SETUP.999
  1102. *Cmd: ""
  1103. }
  1104. }
  1105. *Option: Disabled
  1106. {
  1107. *rcNameID: =RC_STR_DISABLED
  1108. *Command: CmdSelect
  1109. {
  1110. *Order: DOC_SETUP.999
  1111. *Cmd: ""
  1112. }
  1113. }
  1114. }
  1115. *Feature: Memory
  1116. {
  1117. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1118. *DefaultOption: 4096KB
  1119. *Option: 4096KB
  1120. {
  1121. *Name: "4MB"
  1122. *MemoryConfigKB: PAIR(4096, 200)
  1123. }
  1124. *Option: 5120KB
  1125. {
  1126. *Name: "5MB"
  1127. *MemoryConfigKB: PAIR(5120, 217)
  1128. }
  1129. *Option: 6144KB
  1130. {
  1131. *Name: "6MB"
  1132. *MemoryConfigKB: PAIR(6144, 518)
  1133. }
  1134. *Option: 7168KB
  1135. {
  1136. *Name: "7MB"
  1137. *MemoryConfigKB: PAIR(7168, 820)
  1138. }
  1139. *Option: 8192KB
  1140. {
  1141. *Name: "8MB"
  1142. *MemoryConfigKB: PAIR(8192, 1121)
  1143. }
  1144. *Option: 9216KB
  1145. {
  1146. *Name: "9MB"
  1147. *MemoryConfigKB: PAIR(9216, 1422)
  1148. }
  1149. *Option: 10240KB
  1150. {
  1151. *Name: "10MB"
  1152. *MemoryConfigKB: PAIR(10240, 1600)
  1153. }
  1154. *Option: 12288KB
  1155. {
  1156. *Name: "12MB"
  1157. *MemoryConfigKB: PAIR(12288, 1600)
  1158. }
  1159. *Option: 13312KB
  1160. {
  1161. *Name: "13MB"
  1162. *MemoryConfigKB: PAIR(13312, 1600)
  1163. }
  1164. *Option: 14336KB
  1165. {
  1166. *Name: "14MB"
  1167. *MemoryConfigKB: PAIR(14336, 1600)
  1168. }
  1169. *Option: 16384KB
  1170. {
  1171. *Name: "16MB"
  1172. *MemoryConfigKB: PAIR(16384, 1600)
  1173. }
  1174. *Option: 20480KB
  1175. {
  1176. *Name: "20MB"
  1177. *MemoryConfigKB: PAIR(20480, 1600)
  1178. }
  1179. *Option: 21504KB
  1180. {
  1181. *Name: "21MB"
  1182. *MemoryConfigKB: PAIR(21504, 1600)
  1183. }
  1184. *Option: 22528KB
  1185. {
  1186. *Name: "22MB"
  1187. *MemoryConfigKB: PAIR(22528, 1600)
  1188. }
  1189. *Option: 24576KB
  1190. {
  1191. *Name: "24MB"
  1192. *MemoryConfigKB: PAIR(24576, 1600)
  1193. }
  1194. *Option: 28672KB
  1195. {
  1196. *Name: "28MB"
  1197. *MemoryConfigKB: PAIR(28672, 1600)
  1198. }
  1199. *Option: 36864KB
  1200. {
  1201. *Name: "36MB"
  1202. *MemoryConfigKB: PAIR(36864, 1600)
  1203. }
  1204. *Option: 37888KB
  1205. {
  1206. *Name: "37MB"
  1207. *MemoryConfigKB: PAIR(37888, 1600)
  1208. }
  1209. *Option: 38912KB
  1210. {
  1211. *Name: "38MB"
  1212. *MemoryConfigKB: PAIR(38912, 1600)
  1213. }
  1214. *Option: 40960KB
  1215. {
  1216. *Name: "40MB"
  1217. *MemoryConfigKB: PAIR(40960, 1600)
  1218. }
  1219. *Option: 45056KB
  1220. {
  1221. *Name: "44MB"
  1222. *MemoryConfigKB: PAIR(45056, 1600)
  1223. }
  1224. *Option: 53248KB
  1225. {
  1226. *Name: "52MB"
  1227. *MemoryConfigKB: PAIR(53248, 1600)
  1228. }
  1229. *Option: 69632KB
  1230. {
  1231. *Name: "68MB"
  1232. *MemoryConfigKB: PAIR(69632, 1600)
  1233. }
  1234. }
  1235. *Feature: DuplexUnit
  1236. {
  1237. *FeatureType: PRINTER_PROPERTY
  1238. *rcNameID: =RC_STR_DUPLEXUNIT
  1239. *DefaultOption: NotInstalled
  1240. *Option: NotInstalled
  1241. {
  1242. *rcNameID: =RC_STR_OPTION_OFF
  1243. *DisabledFeatures: LIST(Duplex)
  1244. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1245. }
  1246. *Option: Installed
  1247. {
  1248. *rcNameID: =RC_STR_OPTION_ON
  1249. }
  1250. }
  1251. *Feature: Duplex
  1252. {
  1253. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1254. *DefaultOption: NONE
  1255. *Option: NONE
  1256. {
  1257. *rcNameID: =NONE_DISPLAY
  1258. *Command: CmdSelect
  1259. {
  1260. *Order: PAGE_SETUP.8
  1261. *Cmd: "<1D>0sdE"
  1262. }
  1263. }
  1264. *Option: VERTICAL
  1265. {
  1266. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1267. *Command: CmdSelect
  1268. {
  1269. *Order: PAGE_SETUP.9
  1270. *Cmd: "<1D>1sdE<1D>0bdE"
  1271. }
  1272. }
  1273. *Option: HORIZONTAL
  1274. {
  1275. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1276. *Command: CmdSelect
  1277. {
  1278. *Order: PAGE_SETUP.9
  1279. *Cmd: "<1D>1sdE<1D>1bdE"
  1280. }
  1281. }
  1282. }
  1283. *InvalidCombination: LIST(Resolution.600dpi, Memory.4096KB, Duplex.VERTICAL)
  1284. *InvalidCombination: LIST(Resolution.600dpi, Memory.4096KB, Duplex.HORIZONTAL)
  1285. *InvalidCombination: LIST(Resolution.600dpi, Memory.5120KB, Duplex.VERTICAL)
  1286. *InvalidCombination: LIST(Resolution.600dpi, Memory.5120KB, Duplex.HORIZONTAL)
  1287. *InvalidCombination: LIST(PaperSize.A4, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1288. *InvalidCombination: LIST(PaperSize.A4, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1289. *InvalidCombination: LIST(PaperSize.A4, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1290. *InvalidCombination: LIST(PaperSize.A4, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1291. *InvalidCombination: LIST(PaperSize.LETTER, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1292. *InvalidCombination: LIST(PaperSize.LETTER, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1293. *InvalidCombination: LIST(PaperSize.LETTER, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1294. *InvalidCombination: LIST(PaperSize.LETTER, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1295. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1296. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1297. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1298. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1299. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.8192KB, Duplex.VERTICAL)
  1300. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.8192KB, Duplex.HORIZONTAL)
  1301. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.9216KB, Duplex.VERTICAL)
  1302. *InvalidCombination: LIST(PaperSize.LEGAL, Resolution.600dpi, Memory.9216KB, Duplex.HORIZONTAL)
  1303. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.4096KB)
  1304. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1305. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1306. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1307. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1308. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.8192KB, Duplex.VERTICAL)
  1309. *InvalidCombination: LIST(PaperSize.GLG, Resolution.600dpi, Memory.8192KB, Duplex.HORIZONTAL)
  1310. *InvalidCombination: LIST(PaperSize.GLT, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1311. *InvalidCombination: LIST(PaperSize.GLT, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1312. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.4096KB)
  1313. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1314. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1315. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1316. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1317. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.8192KB, Duplex.VERTICAL)
  1318. *InvalidCombination: LIST(PaperSize.F4, Resolution.600dpi, Memory.8192KB, Duplex.HORIZONTAL)
  1319. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.4096KB)
  1320. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.5120KB)
  1321. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.6144KB)
  1322. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.7168KB)
  1323. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.8192KB, Duplex.VERTICAL)
  1324. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.8192KB, Duplex.HORIZONTAL)
  1325. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.9216KB, Duplex.VERTICAL)
  1326. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.9216KB, Duplex.HORIZONTAL)
  1327. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.10240KB, Duplex.VERTICAL)
  1328. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.10240KB, Duplex.HORIZONTAL)
  1329. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.12288KB, Duplex.VERTICAL)
  1330. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.12288KB, Duplex.HORIZONTAL)
  1331. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.13312KB, Duplex.VERTICAL)
  1332. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.13312KB, Duplex.HORIZONTAL)
  1333. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.14336KB, Duplex.VERTICAL)
  1334. *InvalidCombination: LIST(PaperSize.A3, Resolution.600dpi, Memory.14336KB, Duplex.HORIZONTAL)
  1335. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.4096KB)
  1336. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.5120KB)
  1337. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.6144KB)
  1338. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1339. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1340. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.8192KB, Duplex.VERTICAL)
  1341. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.8192KB, Duplex.HORIZONTAL)
  1342. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.9216KB, Duplex.VERTICAL)
  1343. *InvalidCombination: LIST(PaperSize.TABLOID, Resolution.600dpi, Memory.9216KB, Duplex.HORIZONTAL)
  1344. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.4096KB)
  1345. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.5120KB)
  1346. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.6144KB, Duplex.VERTICAL)
  1347. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.6144KB, Duplex.HORIZONTAL)
  1348. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.7168KB, Duplex.VERTICAL)
  1349. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.7168KB, Duplex.HORIZONTAL)
  1350. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.8192KB, Duplex.VERTICAL)
  1351. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.8192KB, Duplex.HORIZONTAL)
  1352. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.9216KB, Duplex.VERTICAL)
  1353. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.9216KB, Duplex.HORIZONTAL)
  1354. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.10240KB, Duplex.VERTICAL)
  1355. *InvalidCombination: LIST(PaperSize.B4, Resolution.600dpi, Memory.10240KB, Duplex.HORIZONTAL)
  1356. *InvalidCombination: LIST(PaperSize.A3P, Memory.4096KB)
  1357. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.5120KB)
  1358. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.6144KB)
  1359. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.7168KB)
  1360. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.8192KB)
  1361. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.9216KB)
  1362. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.10240KB, Duplex.VERTICAL)
  1363. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.10240KB, Duplex.HORIZONTAL)
  1364. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.12288KB, Duplex.VERTICAL)
  1365. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.12288KB, Duplex.HORIZONTAL)
  1366. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.13312KB, Duplex.VERTICAL)
  1367. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.13312KB, Duplex.HORIZONTAL)
  1368. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.14336KB, Duplex.VERTICAL)
  1369. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.14336KB, Duplex.HORIZONTAL)
  1370. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.16384KB, Duplex.VERTICAL)
  1371. *InvalidCombination: LIST(PaperSize.A3P, Resolution.600dpi, Memory.16384KB, Duplex.HORIZONTAL)
  1372. *Command: CmdStartJob
  1373. {
  1374. *Order: JOB_SETUP.1
  1375. *CallbackID: =SET_LCID_K
  1376. }
  1377. *Command: CmdStartDoc
  1378. {
  1379. *Order: JOB_SETUP.1
  1380. *Cmd: =CMD_STARTDOC_INI_K =CMD_EJL_SET =CMD_EJL_DEF =CMD_EJL_FINE
  1381. }
  1382. *Command: CmdStartPage
  1383. {
  1384. *Order: PAGE_SETUP.1
  1385. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  1386. }
  1387. *Command: CmdEndJob
  1388. {
  1389. *Order: JOB_FINISH.1
  1390. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  1391. }
  1392. *Command: CmdCopies
  1393. {
  1394. *Order: PAGE_SETUP.7
  1395. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  1396. }
  1397. *RotateCoordinate?: TRUE
  1398. *RotateRaster?: TRUE
  1399. *RotateFont?: TRUE
  1400. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  1401. *MemoryUsage: LIST(FONT)
  1402. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1403. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1404. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1405. *XMoveThreshold: 0
  1406. *YMoveThreshold: 0
  1407. *XMoveUnit: 600
  1408. *YMoveUnit: 600
  1409. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  1410. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  1411. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  1412. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  1413. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  1414. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  1415. *Command: CmdCR { *Cmd : "<0D>" }
  1416. *Command: CmdLF { *Cmd : "<0A>" }
  1417. *Command: CmdFF { *Cmd : "<0C>" }
  1418. *Command: CmdBackSpace { *Cmd : "<08>" }
  1419. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  1420. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  1421. *Command: CmdSetSimpleRotation
  1422. {
  1423. *CallbackID: =TEXT_PRN_DIRECTION
  1424. *Params: LIST(PrintDirInCCDegrees)
  1425. }
  1426. *EjectPageWithFF?: TRUE
  1427. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  1428. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  1429. *OutputDataFormat: H_BYTE
  1430. *OptimizeLeftBound?: TRUE
  1431. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1432. *CursorYAfterSendBlockData: NO_MOVE
  1433. *DefaultFont: =RC_FONT_SONGK
  1434. *DefaultCTT: 0
  1435. *CharPosition: BASELINE
  1436. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  1437. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  1438. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  1439. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  1440. + =RC_FONT_MOREWB,
  1441. + =RC_FONT_SONGK,=RC_FONT_SONGKV,=RC_FONT_HEIK,=RC_FONT_HEIKV,
  1442. + =RC_FONT_KAIK,=RC_FONT_KAIKV,=RC_FONT_FSONGK,=RC_FONT_FSONGKV)
  1443. *TTFS: SimSun
  1444. {
  1445. *rcTTFontNameID: =RC_TTF_SIMSUN
  1446. *rcDevFontNameID: =RC_DF_SONGK
  1447. }
  1448. *TTFS: SimSunV
  1449. {
  1450. *rcTTFontNameID: =RC_TTF_SIMSUNV
  1451. *rcDevFontNameID: =RC_DF_SONGKV
  1452. }
  1453. *TTFS: SimHei
  1454. {
  1455. *rcTTFontNameID: =RC_TTF_SIMHEI
  1456. *rcDevFontNameID: =RC_DF_HEIK
  1457. }
  1458. *TTFS: SimHeiV
  1459. {
  1460. *rcTTFontNameID: =RC_TTF_SIMHEIV
  1461. *rcDevFontNameID: =RC_DF_HEIKV
  1462. }
  1463. *TTFS: SimSun_E
  1464. {
  1465. *rcTTFontNameID: =RC_TTF_SIMSUN_E
  1466. *rcDevFontNameID: =RC_DF_SONGK
  1467. }
  1468. *TTFS: SimSunV_E
  1469. {
  1470. *rcTTFontNameID: =RC_TTF_SIMSUNV_E
  1471. *rcDevFontNameID: =RC_DF_SONGKV
  1472. }
  1473. *TTFS: SimHei_E
  1474. {
  1475. *rcTTFontNameID: =RC_TTF_SIMHEI_E
  1476. *rcDevFontNameID: =RC_DF_HEIK
  1477. }
  1478. *TTFS: SimHeiV_E
  1479. {
  1480. *rcTTFontNameID: =RC_TTF_SIMHEIV_E
  1481. *rcDevFontNameID: =RC_DF_HEIKV
  1482. }
  1483. *TTFS: Arial
  1484. {
  1485. *rcTTFontNameID: =RC_TTF_ARIAL
  1486. *rcDevFontNameID: =RC_DF_SWISS721
  1487. }
  1488. *TTFS: CourierNew
  1489. {
  1490. *rcTTFontNameID: =RC_TTF_COURIERNEW
  1491. *rcDevFontNameID: =RC_DF_COURIER
  1492. }
  1493. *TTFS: Symbol
  1494. {
  1495. *rcTTFontNameID: =RC_TTF_SYMBOL
  1496. *rcDevFontNameID: =RC_DF_SYMBOLIC
  1497. }
  1498. *TTFS: TimesNewRoman
  1499. {
  1500. *rcTTFontNameID: =RC_TTF_TIMESNR
  1501. *rcDevFontNameID: =RC_DF_DUTCH801
  1502. }
  1503. *TTFS: Wingdings
  1504. {
  1505. *rcTTFontNameID: =RC_TTF_WINGDINGS
  1506. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  1507. }
  1508. *TTFSEnabled?: =TTFS_ENABLED
  1509. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  1510. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  1511. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  1512. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  1513. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  1514. *FontFormat: OEM_CALLBACK
  1515. *Command: CmdSelectFontID
  1516. {
  1517. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  1518. *Params: LIST(CurrentFontID)
  1519. }
  1520. *Command: CmdSetFontID
  1521. {
  1522. *CallbackID: =DOWNLOAD_SET_FONT_ID
  1523. *Params: LIST(CurrentFontID)
  1524. }
  1525. *Command: CmdSetCharCode
  1526. {
  1527. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  1528. *Params: LIST(NextGlyph)
  1529. }
  1530. *Command: CmdDeleteFont
  1531. {
  1532. *CallbackID: =DOWNLOAD_DELETE_FONT
  1533. *Params: LIST(CurrentFontID)
  1534. }
  1535. *Command: CmdBoldOn
  1536. {
  1537. *CallbackID: =TEXT_BOLD
  1538. *Params: LIST(FontBold)
  1539. }
  1540. *Command: CmdBoldOff
  1541. {
  1542. *CallbackID: =TEXT_BOLD
  1543. *Params: LIST(FontBold)
  1544. }
  1545. *Command: CmdItalicOn
  1546. {
  1547. *CallbackID: =TEXT_ITALIC
  1548. *Params: LIST(FontItalic)
  1549. }
  1550. *Command: CmdItalicOff
  1551. {
  1552. *CallbackID: =TEXT_ITALIC
  1553. *Params: LIST(FontItalic)
  1554. }
  1555. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  1556. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  1557. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1558. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1559. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1560. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1561. *Command: CmdSelectSingleByteMode
  1562. {
  1563. *CallbackID: =TEXT_SINGLE_BYTE
  1564. *Params: LIST(FontBold,FontItalic)
  1565. }
  1566. *Command: CmdSelectDoubleByteMode
  1567. {
  1568. *CallbackID: =TEXT_DOUBLE_BYTE
  1569. *Params: LIST(FontBold,FontItalic)
  1570. }
  1571. *Command: CmdVerticalPrintingOn
  1572. {
  1573. *CallbackID: =TEXT_VERTICAL
  1574. }
  1575. *Command: CmdVerticalPrintingOff
  1576. {
  1577. *CallbackID: =TEXT_HORIZONTAL
  1578. }
  1579. *% Vector Printing / Rectangle Fill
  1580. *switch: RectFill
  1581. {
  1582. *case: Enabled
  1583. {
  1584. *InsertBlock: =BM_RECTFILL
  1585. }
  1586. *case: Disabled
  1587. {
  1588. *% Nothing
  1589. }
  1590. }
  1591.