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.

1200 lines
32 KiB

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