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.

1718 lines
50 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "0.994"
  3. *GPDFileName: "EPLP70J.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):Japanese
  27. RC_FONT_MINCHO : 52
  28. RC_FONT_MINCHOV : 53
  29. RC_FONT_KGOTHIC : 54
  30. RC_FONT_KGOTHICV : 55
  31. RC_FONT_MGOTHIC : 56
  32. RC_FONT_MGOTHICV : 57
  33. RC_FONT_KYOUKA : 58
  34. RC_FONT_KYOUKAV : 59
  35. RC_FONT_SHOUKAI : 60
  36. RC_FONT_SHOUKAIV : 61
  37. RC_FONT_MOUHITSU : 62
  38. RC_FONT_MOUHITSV : 63
  39. RC_FONT_FMINB : 64
  40. RC_FONT_FMINBV : 65
  41. RC_FONT_FGOB : 66
  42. RC_FONT_FGOBV : 67
  43. RC_FONT_FMGOT : 68
  44. RC_FONT_FMGOTV : 69
  45. *% TTFS:Latin; valid only when optional fonts(Swiss721, etc.) provided
  46. RC_TTF_ARIAL : 150 *% L"Arial"
  47. RC_DF_SWISS721 : 151 *% L"Swiss721"
  48. RC_TTF_COURIERNEW : 152 *% L"Courier New"
  49. RC_DF_COURIER : 153 *% L"Courier"
  50. RC_TTF_SYMBOL : 154 *% L"Symbol"
  51. RC_DF_SYMBOLIC : 156 *% L"Symbolic"
  52. RC_TTF_TIMESNR : 157 *% L"Times New Roman"
  53. RC_DF_DUTCH801 : 158 *% L"Dutch801"
  54. RC_TTF_WINGDINGS : 159 *% L"Wingdings"
  55. RC_DF_MOREWINGBATS : 160 *% L"MoreWingBats"
  56. *% TTFS:Japanese
  57. RC_TTF_MSMINCHO : 180
  58. RC_DF_MINCHO : 181
  59. RC_TTF_MSMINCHOV : 182
  60. RC_DF_MINCHOV : 183
  61. RC_TTF_MSGOTHIC : 184
  62. RC_DF_GOTHIC : 185
  63. RC_TTF_MSGOTHICV : 186
  64. RC_DF_GOTHICV : 187
  65. *% TTFS:Japanese in English
  66. RC_TTF_MSMINCHO_E : 190
  67. RC_TTF_MSMINCHOV_E : 191
  68. RC_TTF_MSGOTHIC_E : 192
  69. RC_TTF_MSGOTHICV_E : 193
  70. *% PaperSize
  71. RC_STR_HLT : 257 *% L"HalfLetter 5.5 x 8.5 in"
  72. RC_STR_GLG : 258 *% L"Government Legal 8.5 x 13.0 in"
  73. RC_STR_GLT : 259 *% L"Government Letter 8.0 x 10.5 in"
  74. RC_STR_F4 : 260 *% L"F4 210 x 330 mm"
  75. RC_STR_C10 : 261 *% L"Commercial 10 4.125 x 9.5 in"
  76. RC_STR_A3P : 262 *% L"A3+ 329 x 483 mm"
  77. RC_STR_A3W : 263 *% L"A3 Wide 328 x 453 mm"
  78. RC_STR_IB5 : 264 *% L"International-B5 176 x 250 mm"
  79. *% PaperSize:Japanese
  80. *% RC_STR_A3N : 301 *% L"A3��� 329 x 483 mm"
  81. *% PaperSource
  82. RC_STR_CST : 270 *% L"Paper Cassette"
  83. RC_STR_CST1 : 271 *% L"Lower Paper Cassette 1"
  84. RC_STR_CST2 : 272 *% L"Lower Paper Cassette 2"
  85. RC_STR_CST3 : 273 *% L"Lower Paper Cassette 3"
  86. RC_STR_CST4 : 274 *% L"Lower Paper Cassette 14"
  87. RC_STR_TRAY : 275 *% L"Paper Tray"
  88. RC_STR_MMFDR : 276 *% L"Multimedia Feeder (Jpn)"
  89. RC_STR_LCST : 277 *% L"Lower Paper Cassette"
  90. RC_STR_AUTOCHG : 278 *% L"Auto Change (Jpn)"
  91. RC_STR_FTRAY : 279 *% L"Front Tray"
  92. RC_STR_AUTOSEL : 280 *% L"Auto Select"
  93. RC_STR_MPTRAY : 281 *% L"MP Tray"
  94. *% FontCartridgeName:Japanese
  95. RC_STR_MARUGOT : 290
  96. RC_STR_KYOKASHO : 291
  97. RC_STR_KAISHO : 292
  98. RC_STR_GYOSHO : 293
  99. RC_STR_FMINFKGOT : 294
  100. RC_STR_FMARUGOT : 295
  101. *% Custom Features
  102. RC_STR_THICK : 323 *% L"Thick"
  103. RC_STR_THICK_N : 324 *% L"Thick Narrow"
  104. RC_STR_THIN : 325 *% L"Thin"
  105. RC_STR_RECTFILL : 385 *% L"Vector Graphics"
  106. RC_STR_ENABLED : 386 *% L"Enabled"
  107. RC_STR_DISABLED : 387 *% L"Disabled"
  108. RC_STR_OPTION_ON : 388 *% L"Installed"
  109. RC_STR_OPTION_OFF: 389 *% L"Not Installed"
  110. *% Custom Features:Japanese
  111. RC_STR_VPADJUST : 391 *% L"�c�����́C�D�̈ʒu�␳"
  112. *% Custom Feature Duplex
  113. RC_STR_DUPLEXUNIT : 395 *% L"Duplex Unit(option)"
  114. }
  115. *Macros: OEMCallbackIDs
  116. {
  117. SET_LCID_J : 10 *% 10 + 0x00000000(=LCID_JPN)
  118. SET_LCID_C : 65546 *% 10 + 0x00010000(=LCID_CHT)
  119. SET_LCID_H : 196618 *% 10 + 0x00030000(=LCID_KOR)
  120. SET_LCID_K : 131082 *% 10 + 0x00020000(=LCID_CHS)
  121. TEXT_PRN_DIRECTION : 20 *% (PrintDirInCCDegrees)
  122. TEXT_SINGLE_BYTE : 21 *% (FontBold,FontItalic)
  123. TEXT_DOUBLE_BYTE : 22 *% (FontBold,FontItalic)
  124. TEXT_BOLD : 23 *% (FontBold)
  125. TEXT_ITALIC : 24 *% (FontItalic)
  126. TEXT_HORIZONTAL : 25 *% ()
  127. TEXT_VERTICAL : 26 *% ()
  128. TEXT_NO_VPADJUST : 27 *% ()
  129. DOWNLOAD_SELECT_FONT_ID : 30 *% (CurrentFontID)
  130. DOWNLOAD_DELETE_FONT : 31 *% (CurrentFontID)
  131. DOWNLOAD_DELETE_ALLFONT : 32 *% ()
  132. DOWNLOAD_SET_FONT_ID : 33 *% (CurrentFontID)
  133. DOWNLOAD_SET_CHAR_CODE : 34 *% (NextGlyph)
  134. }
  135. *Macros: TTFDownloadCtrls
  136. {
  137. DOWNLOAD_MIN_FONT_ID : 512
  138. DOWNLOAD_MIN_FONT_ID_0 : 0
  139. DOWNLOAD_MIN_FONT_ID_NO_DBCS : 1536 *% 512 + 1024
  140. DOWNLOAD_MAX_FONT_ID : 535
  141. DOWNLOAD_MAX_FONT_ID_10 : 521 *% 512 + 10 - 1
  142. DOWNLOAD_MAX_FONT_ID_5 : 516 *% 512 + 5 - 1
  143. DOWNLOAD_MAX_FONT_ID_0 : 0
  144. DOWNLOAD_MAX_FONT_ID_NO_DBCS : 1559 *% 535 + 1024
  145. DOWNLOAD_MAX_FONTS : 24
  146. DOWNLOAD_MAX_FONTS_10 : 10
  147. DOWNLOAD_MAX_FONTS_5 : 5
  148. DOWNLOAD_MAX_FONTS_0 : 0
  149. DOWNLOAD_MIN_GLYPH_ID : 32
  150. DOWNLOAD_MAX_GLYPH_ID : 543
  151. }
  152. *Macros: TTFSubstCtrls
  153. {
  154. TTFS_ENABLED : TRUE
  155. }
  156. *% BlockMacros for PaperSize feature
  157. *BlockMacro: BM_PS_A3
  158. {
  159. *rcNameID: =A3_DISPLAY
  160. *switch: Orientation
  161. {
  162. *case: PORTRAIT
  163. {
  164. *PrintableArea: PAIR(13552, 19360)
  165. *PrintableOrigin: PAIR(240, 240)
  166. *CursorOrigin: PAIR(240, 240)
  167. *Command: CmdSelect
  168. {
  169. *Order: DOC_SETUP.40
  170. *Cmd: "<1D>13psE"
  171. }
  172. }
  173. *case: LANDSCAPE_CC90
  174. {
  175. *PrintableArea: PAIR(13552, 19360)
  176. *PrintableOrigin: PAIR(240, 240)
  177. *CursorOrigin: PAIR(240, 19600)
  178. *Command: CmdSelect
  179. {
  180. *Order: DOC_SETUP.40
  181. *Cmd: "<1D>13psE<1D>1poE"
  182. }
  183. }
  184. }
  185. }
  186. *BlockMacro: BM_PS_A4
  187. {
  188. *rcNameID: =A4_DISPLAY
  189. *switch: Orientation
  190. {
  191. *case: PORTRAIT
  192. {
  193. *PrintableArea: PAIR(9440, 13552)
  194. *PrintableOrigin: PAIR(240, 240)
  195. *CursorOrigin: PAIR(240, 240)
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.40
  199. *Cmd: "<1D>14psE"
  200. }
  201. }
  202. *case: LANDSCAPE_CC90
  203. {
  204. *PrintableArea: PAIR(9440, 13552)
  205. *PrintableOrigin: PAIR(240, 240)
  206. *CursorOrigin: PAIR(240, 13792)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.40
  210. *Cmd: "<1D>14psE<1D>1poE"
  211. }
  212. }
  213. }
  214. }
  215. *BlockMacro: BM_PS_A5
  216. {
  217. *rcNameID: =A5_DISPLAY
  218. *switch: Orientation
  219. {
  220. *case: PORTRAIT
  221. {
  222. *PrintableArea: PAIR(6512, 9440)
  223. *PrintableOrigin: PAIR(240, 240)
  224. *CursorOrigin: PAIR(240, 240)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.40
  228. *Cmd: "<1D>15psE"
  229. }
  230. }
  231. *case: LANDSCAPE_CC90
  232. {
  233. *PrintableArea: PAIR(6512, 9440)
  234. *PrintableOrigin: PAIR(240, 240)
  235. *CursorOrigin: PAIR(240, 9680)
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.40
  239. *Cmd: "<1D>15psE<1D>1poE"
  240. }
  241. }
  242. }
  243. }
  244. *BlockMacro: BM_PS_B5
  245. {
  246. *rcNameID: =B5_DISPLAY
  247. *switch: Orientation
  248. {
  249. *case: PORTRAIT
  250. {
  251. *PrintableArea: PAIR(8120, 11664)
  252. *PrintableOrigin: PAIR(240, 240)
  253. *CursorOrigin: PAIR(240, 240)
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.40
  257. *Cmd: "<1D>25psE"
  258. }
  259. }
  260. *case: LANDSCAPE_CC90
  261. {
  262. *PrintableArea: PAIR(8120, 11664)
  263. *PrintableOrigin: PAIR(240, 240)
  264. *CursorOrigin: PAIR(240, 11904)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.40
  268. *Cmd: "<1D>25psE<1D>1poE"
  269. }
  270. }
  271. }
  272. }
  273. *BlockMacro: BM_PS_LT
  274. {
  275. *rcNameID: =LETTER_DISPLAY
  276. *switch: Orientation
  277. {
  278. *case: PORTRAIT
  279. {
  280. *PrintableArea: PAIR(9720, 12720)
  281. *PrintableOrigin: PAIR(240, 240)
  282. *CursorOrigin: PAIR(240, 240)
  283. *Command: CmdSelect
  284. {
  285. *Order: DOC_SETUP.40
  286. *Cmd: "<1D>30psE"
  287. }
  288. }
  289. *case: LANDSCAPE_CC90
  290. {
  291. *PrintableArea: PAIR(9720, 12720)
  292. *PrintableOrigin: PAIR(240, 240)
  293. *CursorOrigin: PAIR(240, 12960)
  294. *Command: CmdSelect
  295. {
  296. *Order: DOC_SETUP.40
  297. *Cmd: "<1D>30psE<1D>1poE"
  298. }
  299. }
  300. }
  301. }
  302. *BlockMacro: BM_PS_HLT
  303. {
  304. *rcNameID: =RC_STR_HLT
  305. *PageDimensions: PAIR(6600, 10200)
  306. *switch: Orientation
  307. {
  308. *case: PORTRAIT
  309. {
  310. *PrintableArea: PAIR(6120, 9720)
  311. *PrintableOrigin: PAIR(240, 240)
  312. *CursorOrigin: PAIR(240, 240)
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.40
  316. *Cmd: "<1D>31psE"
  317. }
  318. }
  319. *case: LANDSCAPE_CC90
  320. {
  321. *PrintableArea: PAIR(6120, 9720)
  322. *PrintableOrigin: PAIR(240, 240)
  323. *CursorOrigin: PAIR(240, 9960)
  324. *Command: CmdSelect
  325. {
  326. *Order: DOC_SETUP.40
  327. *Cmd: "<1D>31psE<1D>1poE"
  328. }
  329. }
  330. }
  331. }
  332. *BlockMacro: BM_PS_LGL
  333. {
  334. *rcNameID: =LEGAL_DISPLAY
  335. *switch: Orientation
  336. {
  337. *case: PORTRAIT
  338. {
  339. *PrintableArea: PAIR(9720, 16320)
  340. *PrintableOrigin: PAIR(240, 240)
  341. *CursorOrigin: PAIR(240, 240)
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.40
  345. *Cmd: "<1D>32psE"
  346. }
  347. }
  348. *case: LANDSCAPE_CC90
  349. {
  350. *PrintableArea: PAIR(9720, 16320)
  351. *PrintableOrigin: PAIR(240, 240)
  352. *CursorOrigin: PAIR(240, 16560)
  353. *Command: CmdSelect
  354. {
  355. *Order: DOC_SETUP.40
  356. *Cmd: "<1D>32psE<1D>1poE"
  357. }
  358. }
  359. }
  360. }
  361. *BlockMacro: BM_PS_EXE
  362. {
  363. *rcNameID: =EXECUTIVE_DISPLAY
  364. *switch: Orientation
  365. {
  366. *case: PORTRAIT
  367. {
  368. *PrintableArea: PAIR(8220, 12120)
  369. *PrintableOrigin: PAIR(240, 240)
  370. *CursorOrigin: PAIR(240, 240)
  371. *Command: CmdSelect
  372. {
  373. *Order: DOC_SETUP.40
  374. *Cmd: "<1D>33psE"
  375. }
  376. }
  377. *case: LANDSCAPE_CC90
  378. {
  379. *PrintableArea: PAIR(8220, 12120)
  380. *PrintableOrigin: PAIR(240, 240)
  381. *CursorOrigin: PAIR(240, 12360)
  382. *Command: CmdSelect
  383. {
  384. *Order: DOC_SETUP.40
  385. *Cmd: "<1D>33psE<1D>1poE"
  386. }
  387. }
  388. }
  389. }
  390. *BlockMacro: BM_PS_GLG
  391. {
  392. *rcNameID: =RC_STR_GLG
  393. *PageDimensions: PAIR(10200, 15600)
  394. *switch: Orientation
  395. {
  396. *case: PORTRAIT
  397. {
  398. *PrintableArea: PAIR(9720, 15120)
  399. *PrintableOrigin: PAIR(240, 240)
  400. *CursorOrigin: PAIR(240, 240)
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.40
  404. *Cmd: "<1D>34psE"
  405. }
  406. }
  407. *case: LANDSCAPE_CC90
  408. {
  409. *PrintableArea: PAIR(9720, 15120)
  410. *PrintableOrigin: PAIR(240, 240)
  411. *CursorOrigin: PAIR(240, 15360)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.40
  415. *Cmd: "<1D>34psE<1D>1poE"
  416. }
  417. }
  418. }
  419. }
  420. *BlockMacro: BM_PS_GLT
  421. {
  422. *rcNameID: =RC_STR_GLT
  423. *PageDimensions: PAIR(9600, 12600)
  424. *switch: Orientation
  425. {
  426. *case: PORTRAIT
  427. {
  428. *PrintableArea: PAIR(9120, 12120)
  429. *PrintableOrigin: PAIR(240, 240)
  430. *CursorOrigin: PAIR(240, 240)
  431. *Command: CmdSelect
  432. {
  433. *Order: DOC_SETUP.40
  434. *Cmd: "<1D>35psE"
  435. }
  436. }
  437. *case: LANDSCAPE_CC90
  438. {
  439. *PrintableArea: PAIR(9120, 12120)
  440. *PrintableOrigin: PAIR(240, 240)
  441. *CursorOrigin: PAIR(240, 12360)
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.40
  445. *Cmd: "<1D>35psE<1D>1poE"
  446. }
  447. }
  448. }
  449. }
  450. *BlockMacro: BM_PS_F4
  451. {
  452. *rcNameID: =RC_STR_F4
  453. *PageDimensions: PAIR(9920, 15592)
  454. *switch: Orientation
  455. {
  456. *case: PORTRAIT
  457. {
  458. *PrintableArea: PAIR(9440, 15112)
  459. *PrintableOrigin: PAIR(240, 240)
  460. *CursorOrigin: PAIR(240, 240)
  461. *Command: CmdSelect
  462. {
  463. *Order: DOC_SETUP.40
  464. *Cmd: "<1D>37psE"
  465. }
  466. }
  467. *case: LANDSCAPE_CC90
  468. {
  469. *PrintableArea: PAIR(9440, 15112)
  470. *PrintableOrigin: PAIR(240, 240)
  471. *CursorOrigin: PAIR(240, 15352)
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.40
  475. *Cmd: "<1D>37psE<1D>1poE"
  476. }
  477. }
  478. }
  479. }
  480. *BlockMacro: BM_PS_MON
  481. {
  482. *rcNameID: =ENV_MONARCH_DISPLAY
  483. *switch: Orientation
  484. {
  485. *case: PORTRAIT
  486. {
  487. *PrintableArea: PAIR(4168, 8520)
  488. *PrintableOrigin: PAIR(240, 240)
  489. *CursorOrigin: PAIR(240, 240)
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.40
  493. *Cmd: "<1D>80psE"
  494. }
  495. }
  496. *case: LANDSCAPE_CC90
  497. {
  498. *PrintableArea: PAIR(4168, 8520)
  499. *PrintableOrigin: PAIR(240, 240)
  500. *CursorOrigin: PAIR(240, 8760)
  501. *Command: CmdSelect
  502. {
  503. *Order: DOC_SETUP.40
  504. *Cmd: "<1D>80psE<1D>1poE"
  505. }
  506. }
  507. }
  508. }
  509. *BlockMacro: BM_PSB_E10
  510. {
  511. *switch: Orientation
  512. {
  513. *case: PORTRAIT
  514. {
  515. *PrintableArea: PAIR(4468, 10920)
  516. *PrintableOrigin: PAIR(240, 240)
  517. *CursorOrigin: PAIR(240, 240)
  518. *Command: CmdSelect
  519. {
  520. *Order: DOC_SETUP.40
  521. *Cmd: "<1D>81psE"
  522. }
  523. }
  524. *case: LANDSCAPE_CC90
  525. {
  526. *PrintableArea: PAIR(4468, 10920)
  527. *PrintableOrigin: PAIR(240, 240)
  528. *CursorOrigin: PAIR(240, 11160)
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.40
  532. *Cmd: "<1D>81psE<1D>1poE"
  533. }
  534. }
  535. }
  536. }
  537. *BlockMacro: BM_PS_C10
  538. {
  539. *rcNameID: =RC_STR_C10
  540. *PageDimensions: PAIR(4948, 11400)
  541. *InsertBlock: =BM_PSB_E10
  542. }
  543. *BlockMacro: BM_PS_E10
  544. {
  545. *rcNameID: =ENV_10_DISPLAY
  546. *InsertBlock: =BM_PSB_E10
  547. }
  548. *BlockMacro: BM_PS_DL
  549. {
  550. *rcNameID: =ENV_DL_DISPLAY
  551. *switch: Orientation
  552. {
  553. *case: PORTRAIT
  554. {
  555. *PrintableArea: PAIR(4716, 9912)
  556. *PrintableOrigin: PAIR(240, 240)
  557. *CursorOrigin: PAIR(240, 240)
  558. *Command: CmdSelect
  559. {
  560. *Order: DOC_SETUP.40
  561. *Cmd: "<1D>90psE"
  562. }
  563. }
  564. *case: LANDSCAPE_CC90
  565. {
  566. *PrintableArea: PAIR(4716, 9912)
  567. *PrintableOrigin: PAIR(240, 240)
  568. *CursorOrigin: PAIR(240, 10152)
  569. *Command: CmdSelect
  570. {
  571. *Order: DOC_SETUP.40
  572. *Cmd: "<1D>90psE<1D>1poE"
  573. }
  574. }
  575. }
  576. }
  577. *BlockMacro: BM_PS_C5
  578. {
  579. *rcNameID: =ENV_C5_DISPLAY
  580. *switch: Orientation
  581. {
  582. *case: PORTRAIT
  583. {
  584. *PrintableArea: PAIR(7172, 10336)
  585. *PrintableOrigin: PAIR(240, 240)
  586. *CursorOrigin: PAIR(240, 240)
  587. *Command: CmdSelect
  588. {
  589. *Order: DOC_SETUP.40
  590. *Cmd: "<1D>91psE"
  591. }
  592. }
  593. *case: LANDSCAPE_CC90
  594. {
  595. *PrintableArea: PAIR(7172, 10336)
  596. *PrintableOrigin: PAIR(240, 240)
  597. *CursorOrigin: PAIR(240, 10576)
  598. *Command: CmdSelect
  599. {
  600. *Order: DOC_SETUP.40
  601. *Cmd: "<1D>91psE<1D>1poE"
  602. }
  603. }
  604. }
  605. }
  606. *BlockMacro: BM_PS_TBLD
  607. {
  608. *rcNameID: =TABLOID_DISPLAY
  609. *switch: Orientation
  610. {
  611. *case: PORTRAIT
  612. {
  613. *PrintableArea: PAIR(12720, 19920)
  614. *PrintableOrigin: PAIR(240, 240)
  615. *CursorOrigin: PAIR(240, 240)
  616. *Command: CmdSelect
  617. {
  618. *Order: DOC_SETUP.40
  619. *Cmd: "<1D>36psE"
  620. }
  621. }
  622. *case: LANDSCAPE_CC90
  623. {
  624. *PrintableArea: PAIR(12720, 19920)
  625. *PrintableOrigin: PAIR(240, 240)
  626. *CursorOrigin: PAIR(240, 20160)
  627. *Command: CmdSelect
  628. {
  629. *Order: DOC_SETUP.40
  630. *Cmd: "<1D>36psE<1D>1poE"
  631. }
  632. }
  633. }
  634. }
  635. *BlockMacro: BM_PS_B4
  636. {
  637. *rcNameID: =B4_DISPLAY
  638. *switch: Orientation
  639. {
  640. *case: PORTRAIT
  641. {
  642. *PrintableArea: PAIR(11664, 16720)
  643. *PrintableOrigin: PAIR(240, 240)
  644. *CursorOrigin: PAIR(240, 240)
  645. *Command: CmdSelect
  646. {
  647. *Order: DOC_SETUP.40
  648. *Cmd: "<1D>24psE"
  649. }
  650. }
  651. *case: LANDSCAPE_CC90
  652. {
  653. *PrintableArea: PAIR(11664, 16720)
  654. *PrintableOrigin: PAIR(240, 240)
  655. *CursorOrigin: PAIR(240, 16960)
  656. *Command: CmdSelect
  657. {
  658. *Order: DOC_SETUP.40
  659. *Cmd: "<1D>24psE<1D>1poE"
  660. }
  661. }
  662. }
  663. }
  664. *BlockMacro: BM_PSB_CTM
  665. {
  666. *MinLeftMargin: 240
  667. *CenterPrintable?: FALSE
  668. *switch: Orientation
  669. {
  670. *case: PORTRAIT
  671. {
  672. *Command: CmdSelect
  673. {
  674. *Order: DOC_SETUP.40
  675. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE"
  676. }
  677. }
  678. *case: LANDSCAPE_CC90
  679. {
  680. *Command: CmdSelect
  681. {
  682. *Order: DOC_SETUP.40
  683. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE<1D>1poE"
  684. }
  685. }
  686. }
  687. }
  688. *BlockMacro: BM_RECTFILL
  689. {
  690. *Command: CmdSetRectWidth { *Cmd: "" }
  691. *Command: CmdSetRectHeight { *Cmd: "" }
  692. *Command: CmdRectGrayFill
  693. {
  694. *Cmd: "<1D>0;0;"%d{GrayPercentage}"spE<1D>1owE<1D>1tsE<1D>1dmG"
  695. + "<1D>"%d{(DestX / 5)}";"%d{(DestY / 5)}";"
  696. + %d{((DestX + (RectXSize - 2)) / 5)}";"%d{((DestY + (RectYSize - 2)) / 5)}";0rG"
  697. + "<1D>0;0;100spE<1D>0owE<1D>0tsE"
  698. }
  699. *Command: CmdRectWhiteFill
  700. {
  701. *Cmd: "<1D>0;0;0spE<1D>1owE<1D>1tsE<1D>1dmG"
  702. + "<1D>"%d{(DestX / 5)}";"%d{(DestY / 5)}";"
  703. + %d{((DestX + (RectXSize - 2)) / 5)}";"%d{((DestY + (RectYSize - 2)) / 5)}";0rG"
  704. + "<1D>0;0;100spE<1D>0owE<1D>0tsE"
  705. }
  706. *Command: CmdRectBlackFill
  707. {
  708. *Cmd: "<1D>0;0;100spE<1D>1owE<1D>1tsE<1D>1dmG"
  709. + "<1D>"%d{(DestX / 5)}";"%d{(DestY / 5)}";"
  710. + %d{((DestX + (RectXSize - 2)) / 5)}";"%d{((DestY + (RectYSize - 2)) / 5)}";0rG"
  711. + "<1D>0owE<1D>0tsE"
  712. }
  713. }
  714. *% Macros for Japanese (ESC/PAGE version)
  715. *Macros: CmdStrings
  716. {
  717. CMD_STARTDOC_INI : "<1B01>@EJL <0A>@EJL EN LA=ESC/PAGE<0A>"
  718. + "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  719. + "@EJL SET EC=ON PU=1 ZO=OFF RS=FN<0A>"
  720. CMD_STARTDOC_FIN : "@EJL EN LA=ESC/PAGE<0A>"
  721. + "<1D>rhE<1D>0;0.3muE<1D>14isE<1D>2iaF<1D>24ifF<1D>1ipP"
  722. CMD_EJL_SET : "@EJL SET"
  723. CMD_EJL_DEF : " EC=ON ZO=OFF PU=1"
  724. CMD_EJL_FINE : " RS=FN"
  725. CMD_EJL_QUICK : " RS=QK"
  726. CMD_EJL_NORMAL : " PK=NM"
  727. CMD_EJL_THICK : " PK=TH"
  728. CMD_EJL_THICK_N : " PK=TN"
  729. CMD_EJL_OHP : " PK=TR"
  730. CMD_EJL_END : "<0A>"
  731. }
  732. *% BlockMacros for PaperSize feature:Japanese
  733. *BlockMacro: BM_PS_POST
  734. {
  735. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  736. *switch: Orientation
  737. {
  738. *case: PORTRAIT
  739. {
  740. *PrintableArea: PAIR(4244, 6512)
  741. *PrintableOrigin: PAIR(240, 240)
  742. *CursorOrigin: PAIR(240, 240)
  743. *Command: CmdSelect
  744. {
  745. *Order: DOC_SETUP.40
  746. *Cmd: "<1D>38psE"
  747. }
  748. }
  749. *case: LANDSCAPE_CC90
  750. {
  751. *PrintableArea: PAIR(4244, 6512)
  752. *PrintableOrigin: PAIR(240, 240)
  753. *CursorOrigin: PAIR(240, 6752)
  754. *Command: CmdSelect
  755. {
  756. *Order: DOC_SETUP.40
  757. *Cmd: "<1D>38psE<1D>1poE"
  758. }
  759. }
  760. }
  761. }
  762. *BlockMacro: BM_PS_A3W
  763. {
  764. *rcNameID: =RC_STR_A3W
  765. *PageDimensions: PAIR(15496, 21400)
  766. *switch: Orientation
  767. {
  768. *case: PORTRAIT
  769. {
  770. *PrintableArea: PAIR(15016, 20920)
  771. *PrintableOrigin: PAIR(240, 240)
  772. *CursorOrigin: PAIR(240, 240)
  773. *Command: CmdSelect
  774. {
  775. *Order: DOC_SETUP.40
  776. *Cmd: "<1D>75psE"
  777. }
  778. }
  779. *case: LANDSCAPE_CC90
  780. {
  781. *PrintableArea: PAIR(15016, 20920)
  782. *PrintableOrigin: PAIR(240, 240)
  783. *CursorOrigin: PAIR(240, 21160)
  784. *Command: CmdSelect
  785. {
  786. *Order: DOC_SETUP.40
  787. *Cmd: "<1D>75psE<1D>1poE"
  788. }
  789. }
  790. }
  791. }
  792. *BlockMacro: BM_PS_A3P
  793. {
  794. *rcNameID: =RC_STR_A3P
  795. *PageDimensions: PAIR(15540, 22816)
  796. *switch: Orientation
  797. {
  798. *case: PORTRAIT
  799. {
  800. *PrintableArea: PAIR(15060, 22336)
  801. *PrintableOrigin: PAIR(240, 240)
  802. *CursorOrigin: PAIR(240, 240)
  803. *Command: CmdSelect
  804. {
  805. *Order: DOC_SETUP.40
  806. *Cmd: "<1D>72psE"
  807. }
  808. }
  809. *case: LANDSCAPE_CC90
  810. {
  811. *PrintableArea: PAIR(15060, 22336)
  812. *PrintableOrigin: PAIR(240, 240)
  813. *CursorOrigin: PAIR(240, 22576)
  814. *Command: CmdSelect
  815. {
  816. *Order: DOC_SETUP.40
  817. *Cmd: "<1D>72psE<1D>1poE"
  818. }
  819. }
  820. }
  821. }
  822. *CodePage: 1252
  823. *ModelName: "EPSON LP-7000"
  824. *MasterUnits: PAIR(1200, 1200)
  825. *ResourceDLL: "EPAGERES.DLL"
  826. *PrinterType: PAGE
  827. *PrintRate: 8
  828. *PrintRateUnit: PPM
  829. *MaxCopies: 255
  830. *Feature: Orientation
  831. {
  832. *rcNameID: =ORIENTATION_DISPLAY
  833. *DefaultOption: PORTRAIT
  834. *Option: PORTRAIT
  835. {
  836. *rcNameID: =PORTRAIT_DISPLAY
  837. *Command: CmdSelect
  838. {
  839. *Order: DOC_SETUP.30
  840. *Cmd: "<1D>0poE"
  841. }
  842. }
  843. *Option: LANDSCAPE_CC90
  844. {
  845. *rcNameID: =LANDSCAPE_DISPLAY
  846. *Command: CmdSelect
  847. {
  848. *Order: DOC_SETUP.30
  849. *Cmd: "<1D>1poE"
  850. }
  851. }
  852. }
  853. *Feature: InputBin
  854. {
  855. *rcNameID: =PAPER_SOURCE_DISPLAY
  856. *DefaultOption: CST
  857. *Option: CST
  858. {
  859. *rcNameID: =RC_STR_CST
  860. *% *Command: CmdSelect
  861. *% {
  862. *% *Order: DOC_SETUP.50
  863. *% *Cmd: "<1D>1;1iuE"
  864. *% }
  865. }
  866. *Option: MANUAL
  867. {
  868. *rcNameID: =MANUAL_FEED_DISPLAY
  869. }
  870. }
  871. *Feature: Resolution
  872. {
  873. *rcNameID: =RESOLUTION_DISPLAY
  874. *DefaultOption: 240dpi
  875. *Option: 240dpi
  876. {
  877. *Name: "240 x 240 dots per inch"
  878. *DPI: PAIR(240, 240)
  879. *TextDPI: PAIR(240, 240)
  880. *MinStripBlankPixels: 32
  881. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  882. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  883. *SpotDiameter: 100
  884. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d[0,4080]{(RasterDataWidthInBytes * 8) }";" %d[0,4080]{RasterDataHeightInPixels }
  885. + ";0bi{I" }
  886. *Command: CmdSelect
  887. {
  888. *Order: DOC_SETUP.20
  889. *Cmd: "<1D>0;240;240drE<1D>1;240;240drE<1D>2;240;240drE"
  890. }
  891. }
  892. }
  893. *Feature: PaperSize
  894. {
  895. *rcNameID: =PAPER_SIZE_DISPLAY
  896. *DefaultOption: A4
  897. *Option: A4
  898. {
  899. *rcNameID: =A4_DISPLAY
  900. *switch: Orientation
  901. {
  902. *case: PORTRAIT
  903. {
  904. *PrintableArea: PAIR(9440, 13548)
  905. *PrintableOrigin: PAIR(240, 240)
  906. *switch: Resolution
  907. {
  908. *case: 240dpi
  909. {
  910. *% Warning: the following printable length is adjusted (13548->13545) so it is divisible by the resolution Y scale.
  911. *PrintableArea: PAIR(9440, 13545)
  912. }
  913. }
  914. *CursorOrigin: PAIR(240, 240)
  915. *Command: CmdSelect
  916. {
  917. *Order: DOC_SETUP.40
  918. *Cmd: "<1D>14psE"
  919. }
  920. }
  921. *case: LANDSCAPE_CC90
  922. {
  923. *PrintableArea: PAIR(9440, 13548)
  924. *PrintableOrigin: PAIR(240, 240)
  925. *switch: Resolution
  926. {
  927. *case: 240dpi
  928. {
  929. *% Warning: the following printable length is adjusted (13548->13545) so it is divisible by the resolution Y scale.
  930. *PrintableArea: PAIR(9440, 13545)
  931. }
  932. }
  933. *% Warning: the following *CursorOrigin Y value is adjusted (13788->13790) so it is divisible by scale of Y move unit.
  934. *CursorOrigin: PAIR(240, 13790)
  935. *Command: CmdSelect
  936. {
  937. *Order: DOC_SETUP.40
  938. *Cmd: "<1D>14psE<1D>1poE"
  939. }
  940. }
  941. }
  942. }
  943. *Option: A5
  944. {
  945. *rcNameID: =A5_DISPLAY
  946. *switch: Orientation
  947. {
  948. *case: PORTRAIT
  949. {
  950. *PrintableArea: PAIR(6512, 9440)
  951. *PrintableOrigin: PAIR(240, 240)
  952. *switch: Resolution
  953. {
  954. *case: 240dpi
  955. {
  956. *% Warning: the following printable width is adjusted (6512->6510) so it is divisible by the resolution X scale.
  957. *PrintableArea: PAIR(6510, 9440)
  958. }
  959. }
  960. *CursorOrigin: PAIR(240, 240)
  961. *Command: CmdSelect
  962. {
  963. *Order: DOC_SETUP.40
  964. *Cmd: "<1D>15psE"
  965. }
  966. }
  967. *case: LANDSCAPE_CC90
  968. {
  969. *PrintableArea: PAIR(6512, 9440)
  970. *PrintableOrigin: PAIR(240, 240)
  971. *switch: Resolution
  972. {
  973. *case: 240dpi
  974. {
  975. *% Warning: the following printable width is adjusted (6512->6510) so it is divisible by the resolution X scale.
  976. *PrintableArea: PAIR(6510, 9440)
  977. }
  978. }
  979. *CursorOrigin: PAIR(240, 9680)
  980. *Command: CmdSelect
  981. {
  982. *Order: DOC_SETUP.40
  983. *Cmd: "<1D>15psE<1D>1poE"
  984. }
  985. }
  986. }
  987. }
  988. *Option: A6
  989. {
  990. *rcNameID: =A6_DISPLAY
  991. *switch: Orientation
  992. {
  993. *case: PORTRAIT
  994. {
  995. *PrintableArea: PAIR(4476, 6512)
  996. *PrintableOrigin: PAIR(240, 240)
  997. *switch: Resolution
  998. {
  999. *case: 240dpi
  1000. {
  1001. *% Warning: the following printable width is adjusted (4476->4475) so it is divisible by the resolution X scale.
  1002. *% Warning: the following printable length is adjusted (6512->6510) so it is divisible by the resolution Y scale.
  1003. *PrintableArea: PAIR(4475, 6510)
  1004. }
  1005. }
  1006. *CursorOrigin: PAIR(240, 240)
  1007. *Command: CmdSelect
  1008. {
  1009. *Order: DOC_SETUP.40
  1010. *Cmd: "<1D>16psE"
  1011. }
  1012. }
  1013. *case: LANDSCAPE_CC90
  1014. {
  1015. *PrintableArea: PAIR(4476, 6512)
  1016. *PrintableOrigin: PAIR(240, 240)
  1017. *switch: Resolution
  1018. {
  1019. *case: 240dpi
  1020. {
  1021. *% Warning: the following printable width is adjusted (4476->4475) so it is divisible by the resolution X scale.
  1022. *% Warning: the following printable length is adjusted (6512->6510) so it is divisible by the resolution Y scale.
  1023. *PrintableArea: PAIR(4475, 6510)
  1024. }
  1025. }
  1026. *% Warning: the following *CursorOrigin Y value is adjusted (6752->6755) so it is divisible by scale of Y move unit.
  1027. *CursorOrigin: PAIR(240, 6755)
  1028. *Command: CmdSelect
  1029. {
  1030. *Order: DOC_SETUP.40
  1031. *Cmd: "<1D>16psE<1D>1poE"
  1032. }
  1033. }
  1034. }
  1035. }
  1036. *Option: B5
  1037. {
  1038. *rcNameID: =B5_DISPLAY
  1039. *switch: Orientation
  1040. {
  1041. *case: PORTRAIT
  1042. {
  1043. *PrintableArea: PAIR(8120, 11664)
  1044. *PrintableOrigin: PAIR(240, 240)
  1045. *switch: Resolution
  1046. {
  1047. *case: 240dpi
  1048. {
  1049. *% Warning: the following printable length is adjusted (11664->11660) so it is divisible by the resolution Y scale.
  1050. *PrintableArea: PAIR(8120, 11660)
  1051. }
  1052. }
  1053. *CursorOrigin: PAIR(240, 240)
  1054. *Command: CmdSelect
  1055. {
  1056. *Order: DOC_SETUP.40
  1057. *Cmd: "<1D>25psE"
  1058. }
  1059. }
  1060. *case: LANDSCAPE_CC90
  1061. {
  1062. *PrintableArea: PAIR(8120, 11664)
  1063. *PrintableOrigin: PAIR(240, 240)
  1064. *switch: Resolution
  1065. {
  1066. *case: 240dpi
  1067. {
  1068. *% Warning: the following printable length is adjusted (11664->11660) so it is divisible by the resolution Y scale.
  1069. *PrintableArea: PAIR(8120, 11660)
  1070. }
  1071. }
  1072. *% Warning: the following *CursorOrigin Y value is adjusted (11904->11905) so it is divisible by scale of Y move unit.
  1073. *CursorOrigin: PAIR(240, 11905)
  1074. *Command: CmdSelect
  1075. {
  1076. *Order: DOC_SETUP.40
  1077. *Cmd: "<1D>25psE<1D>1poE"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. *Option: LETTER
  1083. {
  1084. *rcNameID: =LETTER_DISPLAY
  1085. *switch: Orientation
  1086. {
  1087. *case: PORTRAIT
  1088. {
  1089. *PrintableArea: PAIR(9720, 12720)
  1090. *PrintableOrigin: PAIR(240, 240)
  1091. *CursorOrigin: PAIR(240, 240)
  1092. *Command: CmdSelect
  1093. {
  1094. *Order: DOC_SETUP.40
  1095. *Cmd: "<1D>30psE"
  1096. }
  1097. }
  1098. *case: LANDSCAPE_CC90
  1099. {
  1100. *PrintableArea: PAIR(9720, 12720)
  1101. *PrintableOrigin: PAIR(240, 240)
  1102. *CursorOrigin: PAIR(240, 12960)
  1103. *Command: CmdSelect
  1104. {
  1105. *Order: DOC_SETUP.40
  1106. *Cmd: "<1D>30psE<1D>1poE"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. *Option: HLT
  1112. {
  1113. *rcNameID: =RC_STR_HLT
  1114. *PageDimensions: PAIR(6600, 10200)
  1115. *switch: Orientation
  1116. {
  1117. *case: PORTRAIT
  1118. {
  1119. *PrintableArea: PAIR(6120, 9720)
  1120. *PrintableOrigin: PAIR(240, 240)
  1121. *CursorOrigin: PAIR(240, 240)
  1122. *Command: CmdSelect
  1123. {
  1124. *Order: DOC_SETUP.40
  1125. *Cmd: "<1D>31psE"
  1126. }
  1127. }
  1128. *case: LANDSCAPE_CC90
  1129. {
  1130. *PrintableArea: PAIR(6120, 9720)
  1131. *PrintableOrigin: PAIR(240, 240)
  1132. *CursorOrigin: PAIR(240, 9960)
  1133. *Command: CmdSelect
  1134. {
  1135. *Order: DOC_SETUP.40
  1136. *Cmd: "<1D>31psE<1D>1poE"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. *Option: LEGAL
  1142. {
  1143. *rcNameID: =LEGAL_DISPLAY
  1144. *switch: Orientation
  1145. {
  1146. *case: PORTRAIT
  1147. {
  1148. *PrintableArea: PAIR(9720, 16320)
  1149. *PrintableOrigin: PAIR(240, 240)
  1150. *CursorOrigin: PAIR(240, 240)
  1151. *Command: CmdSelect
  1152. {
  1153. *Order: DOC_SETUP.40
  1154. *Cmd: "<1D>32psE"
  1155. }
  1156. }
  1157. *case: LANDSCAPE_CC90
  1158. {
  1159. *PrintableArea: PAIR(9720, 16320)
  1160. *PrintableOrigin: PAIR(240, 240)
  1161. *CursorOrigin: PAIR(240, 16560)
  1162. *Command: CmdSelect
  1163. {
  1164. *Order: DOC_SETUP.40
  1165. *Cmd: "<1D>32psE<1D>1poE"
  1166. }
  1167. }
  1168. }
  1169. }
  1170. *Option: EXECUTIVE
  1171. {
  1172. *rcNameID: =EXECUTIVE_DISPLAY
  1173. *switch: Orientation
  1174. {
  1175. *case: PORTRAIT
  1176. {
  1177. *PrintableArea: PAIR(8220, 12120)
  1178. *PrintableOrigin: PAIR(240, 240)
  1179. *CursorOrigin: PAIR(240, 240)
  1180. *Command: CmdSelect
  1181. {
  1182. *Order: DOC_SETUP.40
  1183. *Cmd: "<1D>33psE"
  1184. }
  1185. }
  1186. *case: LANDSCAPE_CC90
  1187. {
  1188. *PrintableArea: PAIR(8220, 12120)
  1189. *PrintableOrigin: PAIR(240, 240)
  1190. *CursorOrigin: PAIR(240, 12360)
  1191. *Command: CmdSelect
  1192. {
  1193. *Order: DOC_SETUP.40
  1194. *Cmd: "<1D>33psE<1D>1poE"
  1195. }
  1196. }
  1197. }
  1198. }
  1199. *Option: GLG
  1200. {
  1201. *rcNameID: =RC_STR_GLG
  1202. *PageDimensions: PAIR(10200, 15600)
  1203. *switch: Orientation
  1204. {
  1205. *case: PORTRAIT
  1206. {
  1207. *PrintableArea: PAIR(9720, 15120)
  1208. *PrintableOrigin: PAIR(240, 240)
  1209. *CursorOrigin: PAIR(240, 240)
  1210. *Command: CmdSelect
  1211. {
  1212. *Order: DOC_SETUP.40
  1213. *Cmd: "<1D>34psE"
  1214. }
  1215. }
  1216. *case: LANDSCAPE_CC90
  1217. {
  1218. *PrintableArea: PAIR(9720, 15120)
  1219. *PrintableOrigin: PAIR(240, 240)
  1220. *CursorOrigin: PAIR(240, 15360)
  1221. *Command: CmdSelect
  1222. {
  1223. *Order: DOC_SETUP.40
  1224. *Cmd: "<1D>34psE<1D>1poE"
  1225. }
  1226. }
  1227. }
  1228. }
  1229. *Option: GLT
  1230. {
  1231. *rcNameID: =RC_STR_GLT
  1232. *PageDimensions: PAIR(9600, 12600)
  1233. *switch: Orientation
  1234. {
  1235. *case: PORTRAIT
  1236. {
  1237. *PrintableArea: PAIR(9120, 12120)
  1238. *PrintableOrigin: PAIR(240, 240)
  1239. *CursorOrigin: PAIR(240, 240)
  1240. *Command: CmdSelect
  1241. {
  1242. *Order: DOC_SETUP.40
  1243. *Cmd: "<1D>35psE"
  1244. }
  1245. }
  1246. *case: LANDSCAPE_CC90
  1247. {
  1248. *PrintableArea: PAIR(9120, 12120)
  1249. *PrintableOrigin: PAIR(240, 240)
  1250. *CursorOrigin: PAIR(240, 12360)
  1251. *Command: CmdSelect
  1252. {
  1253. *Order: DOC_SETUP.40
  1254. *Cmd: "<1D>35psE<1D>1poE"
  1255. }
  1256. }
  1257. }
  1258. }
  1259. *Option: F4
  1260. {
  1261. *rcNameID: =RC_STR_F4
  1262. *PageDimensions: PAIR(9920, 15592)
  1263. *switch: Orientation
  1264. {
  1265. *case: PORTRAIT
  1266. {
  1267. *PrintableArea: PAIR(9440, 15112)
  1268. *PrintableOrigin: PAIR(240, 240)
  1269. *switch: Resolution
  1270. {
  1271. *case: 240dpi
  1272. {
  1273. *% Warning: the following printable length is adjusted (15112->15110) so it is divisible by the resolution Y scale.
  1274. *PrintableArea: PAIR(9440, 15110)
  1275. }
  1276. }
  1277. *CursorOrigin: PAIR(240, 240)
  1278. *Command: CmdSelect
  1279. {
  1280. *Order: DOC_SETUP.40
  1281. *Cmd: "<1D>37psE"
  1282. }
  1283. }
  1284. *case: LANDSCAPE_CC90
  1285. {
  1286. *PrintableArea: PAIR(9440, 15112)
  1287. *PrintableOrigin: PAIR(240, 240)
  1288. *switch: Resolution
  1289. {
  1290. *case: 240dpi
  1291. {
  1292. *% Warning: the following printable length is adjusted (15112->15110) so it is divisible by the resolution Y scale.
  1293. *PrintableArea: PAIR(9440, 15110)
  1294. }
  1295. }
  1296. *% Warning: the following *CursorOrigin Y value is adjusted (15352->15355) so it is divisible by scale of Y move unit.
  1297. *CursorOrigin: PAIR(240, 15355)
  1298. *Command: CmdSelect
  1299. {
  1300. *Order: DOC_SETUP.40
  1301. *Cmd: "<1D>37psE<1D>1poE"
  1302. }
  1303. }
  1304. }
  1305. }
  1306. *Option: JAPANESE_POSTCARD
  1307. {
  1308. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  1309. *switch: Orientation
  1310. {
  1311. *case: PORTRAIT
  1312. {
  1313. *PrintableArea: PAIR(4248, 6516)
  1314. *PrintableOrigin: PAIR(240, 240)
  1315. *switch: Resolution
  1316. {
  1317. *case: 240dpi
  1318. {
  1319. *% Warning: the following printable width is adjusted (4248->4245) so it is divisible by the resolution X scale.
  1320. *% Warning: the following printable length is adjusted (6516->6515) so it is divisible by the resolution Y scale.
  1321. *PrintableArea: PAIR(4245, 6515)
  1322. }
  1323. }
  1324. *CursorOrigin: PAIR(240, 240)
  1325. *Command: CmdSelect
  1326. {
  1327. *Order: DOC_SETUP.40
  1328. *Cmd: "<1D>38psE"
  1329. }
  1330. }
  1331. *case: LANDSCAPE_CC90
  1332. {
  1333. *PrintableArea: PAIR(4248, 6516)
  1334. *PrintableOrigin: PAIR(240, 240)
  1335. *switch: Resolution
  1336. {
  1337. *case: 240dpi
  1338. {
  1339. *% Warning: the following printable width is adjusted (4248->4245) so it is divisible by the resolution X scale.
  1340. *% Warning: the following printable length is adjusted (6516->6515) so it is divisible by the resolution Y scale.
  1341. *PrintableArea: PAIR(4245, 6515)
  1342. }
  1343. }
  1344. *% Warning: the following *CursorOrigin Y value is adjusted (6756->6760) so it is divisible by scale of Y move unit.
  1345. *CursorOrigin: PAIR(240, 6760)
  1346. *Command: CmdSelect
  1347. {
  1348. *Order: DOC_SETUP.40
  1349. *Cmd: "<1D>38psE<1D>1poE"
  1350. }
  1351. }
  1352. }
  1353. }
  1354. *Option: B4
  1355. {
  1356. *rcNameID: =B4_DISPLAY
  1357. *switch: Orientation
  1358. {
  1359. *case: PORTRAIT
  1360. {
  1361. *PrintableArea: PAIR(11664, 16716)
  1362. *PrintableOrigin: PAIR(240, 240)
  1363. *switch: Resolution
  1364. {
  1365. *case: 240dpi
  1366. {
  1367. *% Warning: the following printable width is adjusted (11664->11660) so it is divisible by the resolution X scale.
  1368. *% Warning: the following printable length is adjusted (16716->16715) so it is divisible by the resolution Y scale.
  1369. *PrintableArea: PAIR(11660, 16715)
  1370. }
  1371. }
  1372. *CursorOrigin: PAIR(240, 240)
  1373. *Command: CmdSelect
  1374. {
  1375. *Order: DOC_SETUP.40
  1376. *Cmd: "<1D>24psE"
  1377. }
  1378. }
  1379. *case: LANDSCAPE_CC90
  1380. {
  1381. *PrintableArea: PAIR(11664, 16716)
  1382. *PrintableOrigin: PAIR(240, 240)
  1383. *switch: Resolution
  1384. {
  1385. *case: 240dpi
  1386. {
  1387. *% Warning: the following printable width is adjusted (11664->11660) so it is divisible by the resolution X scale.
  1388. *% Warning: the following printable length is adjusted (16716->16715) so it is divisible by the resolution Y scale.
  1389. *PrintableArea: PAIR(11660, 16715)
  1390. }
  1391. }
  1392. *% Warning: the following *CursorOrigin Y value is adjusted (16956->16960) so it is divisible by scale of Y move unit.
  1393. *CursorOrigin: PAIR(240, 16960)
  1394. *Command: CmdSelect
  1395. {
  1396. *Order: DOC_SETUP.40
  1397. *Cmd: "<1D>24psE<1D>1poE"
  1398. }
  1399. }
  1400. }
  1401. }
  1402. *Option: CUSTOMSIZE
  1403. {
  1404. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1405. *MinSize: PAIR(4725, 6995)
  1406. *MaxSize: PAIR(12140, 17195)
  1407. *MaxPrintableWidth: 12140
  1408. *MinLeftMargin: 192
  1409. *CenterPrintable?: FALSE
  1410. *switch: Orientation
  1411. {
  1412. *case: PORTRAIT
  1413. {
  1414. *Command: CmdSelect
  1415. {
  1416. *Order: DOC_SETUP.40
  1417. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 5) }";" %d{(PhysPaperLength / 5) }"psE"
  1418. }
  1419. }
  1420. *case: LANDSCAPE_CC90
  1421. {
  1422. *Command: CmdSelect
  1423. {
  1424. *Order: DOC_SETUP.40
  1425. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 5) }";" %d{(PhysPaperLength / 5) }"psE<1D>1poE"
  1426. }
  1427. }
  1428. }
  1429. }
  1430. }
  1431. *Feature: Halftone
  1432. {
  1433. *rcNameID: =HALFTONING_DISPLAY
  1434. *DefaultOption: HT_PATSIZE_AUTO
  1435. *Option: HT_PATSIZE_AUTO
  1436. {
  1437. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1438. }
  1439. *Option: HT_PATSIZE_SUPERCELL_M
  1440. {
  1441. *rcNameID: =HT_SUPERCELL_DISPLAY
  1442. }
  1443. *Option: HT_PATSIZE_6x6_M
  1444. {
  1445. *rcNameID: =HT_DITHER6X6_DISPLAY
  1446. }
  1447. *Option: HT_PATSIZE_8x8_M
  1448. {
  1449. *rcNameID: =HT_DITHER8X8_DISPLAY
  1450. }
  1451. }
  1452. *Feature: RectFill
  1453. {
  1454. *rcNameID: =RC_STR_RECTFILL
  1455. *FeatureType: DOC_PROPERTY
  1456. *DefaultOption: Enabled
  1457. *Option: Enabled
  1458. {
  1459. *rcNameID: =RC_STR_ENABLED
  1460. *Command: CmdSelect
  1461. {
  1462. *Order: DOC_SETUP.999
  1463. *Cmd: ""
  1464. }
  1465. }
  1466. *Option: Disabled
  1467. {
  1468. *rcNameID: =RC_STR_DISABLED
  1469. *Command: CmdSelect
  1470. {
  1471. *Order: DOC_SETUP.999
  1472. *Cmd: ""
  1473. }
  1474. }
  1475. }
  1476. *Feature: VertPrintAdjust
  1477. {
  1478. *rcNameID: =RC_STR_VPADJUST
  1479. *FeatureType: DOC_PROPERTY
  1480. *DefaultOption: Enabled
  1481. *Option: Enabled
  1482. {
  1483. *rcNameID: =RC_STR_ENABLED
  1484. *Command: CmdSelect
  1485. {
  1486. *Order: DOC_SETUP.998
  1487. *Cmd: ""
  1488. }
  1489. }
  1490. *Option: Disabled
  1491. {
  1492. *rcNameID: =RC_STR_DISABLED
  1493. *Command: CmdSelect
  1494. {
  1495. *Order: DOC_SETUP.998
  1496. *CallbackID: =TEXT_NO_VPADJUST
  1497. }
  1498. }
  1499. }
  1500. *Feature: Memory
  1501. {
  1502. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1503. *DefaultOption: 1536KB
  1504. *Option: 1536KB
  1505. {
  1506. *Name: "1.5MB"
  1507. *MemoryConfigKB: PAIR(1536, 0)
  1508. }
  1509. *Option: 3072KB
  1510. {
  1511. *Name: "3MB"
  1512. *MemoryConfigKB: PAIR(3072, 0)
  1513. }
  1514. }
  1515. *Command: CmdStartDoc
  1516. {
  1517. *Order: DOC_SETUP.10
  1518. *Cmd: "<1B>S<1B1B>S<1C1B>z<00001D>rhE<1D>0;0.3muE<1D>1mmE<1D>14isE<1D>2iaF<1D>10ifF<1D>"
  1519. + "1ipP"
  1520. }
  1521. *Command: CmdStartPage
  1522. {
  1523. *Order: PAGE_SETUP.1
  1524. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  1525. }
  1526. *Command: CmdEndJob
  1527. {
  1528. *Order: JOB_FINISH.1
  1529. *Cmd: "<1D>rhE<1D>1pmE<1B>S<1B1B>SK"
  1530. }
  1531. *Command: CmdCopies
  1532. {
  1533. *Order: PAGE_SETUP.7
  1534. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  1535. }
  1536. *RotateCoordinate?: TRUE
  1537. *RotateRaster?: TRUE
  1538. *RotateFont?: TRUE
  1539. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  1540. *MemoryUsage: LIST(FONT)
  1541. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1542. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1543. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1544. *XMoveThreshold: 0
  1545. *YMoveThreshold: 0
  1546. *XMoveUnit: 240
  1547. *YMoveUnit: 240
  1548. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 5) }"X" }
  1549. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 5) }"H" }
  1550. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 5) }"H" }
  1551. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 5) }"Y" }
  1552. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 5) }"V" }
  1553. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 5) }"V" }
  1554. *Command: CmdCR { *Cmd : "<0D>" }
  1555. *Command: CmdLF { *Cmd : "<0A>" }
  1556. *Command: CmdFF { *Cmd : "<0C>" }
  1557. *Command: CmdBackSpace { *Cmd : "<08>" }
  1558. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  1559. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  1560. *Command: CmdSetSimpleRotation
  1561. {
  1562. *CallbackID: =TEXT_PRN_DIRECTION
  1563. *Params: LIST(PrintDirInCCDegrees)
  1564. }
  1565. *EjectPageWithFF?: TRUE
  1566. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  1567. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  1568. *OutputDataFormat: H_BYTE
  1569. *OptimizeLeftBound?: FALSE
  1570. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1571. *CursorYAfterSendBlockData: NO_MOVE
  1572. *DefaultFont: =RC_FONT_MINCHO
  1573. *DefaultCTT: 0
  1574. *CharPosition: BASELINE
  1575. *DeviceFonts: LIST(=RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_KGOTHIC,=RC_FONT_KGOTHICV)
  1576. *TTFS: MSMincho
  1577. {
  1578. *rcTTFontNameID: =RC_TTF_MSMINCHO
  1579. *rcDevFontNameID: =RC_DF_MINCHO
  1580. }
  1581. *TTFS: MSMinchoV
  1582. {
  1583. *rcTTFontNameID: =RC_TTF_MSMINCHOV
  1584. *rcDevFontNameID: =RC_DF_MINCHOV
  1585. }
  1586. *TTFS: MSGothic
  1587. {
  1588. *rcTTFontNameID: =RC_TTF_MSGOTHIC
  1589. *rcDevFontNameID: =RC_DF_GOTHIC
  1590. }
  1591. *TTFS: MSGothicV
  1592. {
  1593. *rcTTFontNameID: =RC_TTF_MSGOTHICV
  1594. *rcDevFontNameID: =RC_DF_GOTHICV
  1595. }
  1596. *TTFS: MSMincho_E
  1597. {
  1598. *rcTTFontNameID: =RC_TTF_MSMINCHO_E
  1599. *rcDevFontNameID: =RC_DF_MINCHO
  1600. }
  1601. *TTFS: MSMinchoV_E
  1602. {
  1603. *rcTTFontNameID: =RC_TTF_MSMINCHOV_E
  1604. *rcDevFontNameID: =RC_DF_MINCHOV
  1605. }
  1606. *TTFS: MSGothic_E
  1607. {
  1608. *rcTTFontNameID: =RC_TTF_MSGOTHIC_E
  1609. *rcDevFontNameID: =RC_DF_GOTHIC
  1610. }
  1611. *TTFS: MSGothicV_E
  1612. {
  1613. *rcTTFontNameID: =RC_TTF_MSGOTHICV_E
  1614. *rcDevFontNameID: =RC_DF_GOTHICV
  1615. }
  1616. *TTFSEnabled?: =TTFS_ENABLED
  1617. *% TTF download not used
  1618. *MinFontID: =DOWNLOAD_MIN_FONT_ID_0
  1619. *MaxFontID: =DOWNLOAD_MAX_FONT_ID_0
  1620. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS_0
  1621. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  1622. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  1623. *FontFormat: OEM_CALLBACK
  1624. *Command: CmdSelectFontID
  1625. {
  1626. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  1627. *Params: LIST(CurrentFontID)
  1628. }
  1629. *Command: CmdSetFontID
  1630. {
  1631. *CallbackID: =DOWNLOAD_SET_FONT_ID
  1632. *Params: LIST(CurrentFontID)
  1633. }
  1634. *Command: CmdSetCharCode
  1635. {
  1636. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  1637. *Params: LIST(NextGlyph)
  1638. }
  1639. *Command: CmdDeleteFont
  1640. {
  1641. *CallbackID: =DOWNLOAD_DELETE_FONT
  1642. *Params: LIST(CurrentFontID)
  1643. }
  1644. *Command: CmdBoldOn
  1645. {
  1646. *CallbackID: =TEXT_BOLD
  1647. *Params: LIST(FontBold)
  1648. }
  1649. *Command: CmdBoldOff
  1650. {
  1651. *CallbackID: =TEXT_BOLD
  1652. *Params: LIST(FontBold)
  1653. }
  1654. *Command: CmdItalicOn
  1655. {
  1656. *CallbackID: =TEXT_ITALIC
  1657. *Params: LIST(FontItalic)
  1658. }
  1659. *Command: CmdItalicOff
  1660. {
  1661. *CallbackID: =TEXT_ITALIC
  1662. *Params: LIST(FontItalic)
  1663. }
  1664. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  1665. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  1666. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1667. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1668. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1669. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1670. *Command: CmdSelectSingleByteMode
  1671. {
  1672. *CallbackID: =TEXT_SINGLE_BYTE
  1673. *Params: LIST(FontBold,FontItalic)
  1674. }
  1675. *Command: CmdSelectDoubleByteMode
  1676. {
  1677. *CallbackID: =TEXT_DOUBLE_BYTE
  1678. *Params: LIST(FontBold,FontItalic)
  1679. }
  1680. *Command: CmdVerticalPrintingOn
  1681. {
  1682. *CallbackID: =TEXT_VERTICAL
  1683. }
  1684. *Command: CmdVerticalPrintingOff
  1685. {
  1686. *CallbackID: =TEXT_HORIZONTAL
  1687. }
  1688. *% Vector Printing / Rectangle Fill
  1689. *switch: RectFill
  1690. {
  1691. *case: Enabled
  1692. {
  1693. *InsertBlock: =BM_RECTFILL
  1694. }
  1695. *case: Disabled
  1696. {
  1697. *% Nothing
  1698. }
  1699. }