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.

831 lines
21 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR700J"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "NC70JRES.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *rcInstalledOptionNameID: 281
  9. *rcNotInstalledOptionNameID: 282
  10. *PrintRateUnit: CPS
  11. *PrintRate: 120
  12. *GPDFileName: "NC700JJ.GPD"
  13. *Include: "STDNAMES.GPD"
  14. *GPDFileVersion: "1.000"
  15. *HelpFile: "nc70jres.hlp"
  16. *% *Macros: HelpIDs
  17. *% {
  18. *% PAPER SETTING */
  19. *% POP_70_YOUSIHOUKOU2 :7051
  20. *% PRINT QUALITIES */
  21. *% POP_70_PQUALITIESNEW :7060
  22. *% }
  23. *%======== Orientation ========
  24. *Feature: Orientation
  25. {
  26. *rcNameID: =ORIENTATION_DISPLAY
  27. *DefaultOption: PORTRAIT
  28. *Option: PORTRAIT
  29. {
  30. *rcNameID: =PORTRAIT_DISPLAY
  31. }
  32. *Option: LANDSCAPE_CC270
  33. {
  34. *rcNameID: =LANDSCAPE_DISPLAY
  35. }
  36. }
  37. *%======== InputBin ========
  38. *Feature: InputBin
  39. {
  40. *rcNameID: =PAPER_SOURCE_DISPLAY
  41. *DefaultOption: Option1
  42. *% SHEET GUIDE
  43. *Option: Option1
  44. {
  45. *rcNameID: 263
  46. *Constraints: PaperSize.10X11
  47. *Constraints: PaperSize.15X11
  48. *switch: YOUSIHOUKOU
  49. {
  50. *case: Option1
  51. {
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.3
  55. *Cmd: "<1B>m2<19><1C>02ER"
  56. }
  57. }
  58. *case: Option2
  59. {
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.3
  63. *Cmd: "<1B>m2<19><1C>02EF"
  64. }
  65. }
  66. }
  67. }
  68. *% SHEET FEEDER
  69. *Option: Option2
  70. {
  71. *rcNameID: 264
  72. *Constraints: PaperSize.10X11
  73. *Constraints: PaperSize.15X11
  74. *Constraints: PaperSize.A3_ROTATED
  75. *Constraints: PaperSize.B4
  76. *Installable?: TRUE
  77. *rcInstallableFeatureNameID: 264
  78. *switch: YOUSIHOUKOU
  79. {
  80. *case: Option1
  81. {
  82. *Command: CmdSelect
  83. {
  84. *Order: DOC_SETUP.3
  85. *Cmd: "<1B>m2<1C>02ER"
  86. }
  87. }
  88. *case: Option2
  89. {
  90. *Command: CmdSelect
  91. {
  92. *Order: DOC_SETUP.3
  93. *Cmd: "<1B>m2<1C>02EF"
  94. }
  95. }
  96. }
  97. }
  98. *% TRACTOR FEEDER
  99. *Option: Option3
  100. {
  101. *rcNameID: 290
  102. *Constraints: PaperSize.A3_ROTATED
  103. *Constraints: PaperSize.A4
  104. *Constraints: PaperSize.A4_ROTATED
  105. *Constraints: PaperSize.A5
  106. *Constraints: PaperSize.A5_ROTATED
  107. *Constraints: PaperSize.B4
  108. *Constraints: PaperSize.B4_JIS_ROTATED
  109. *Constraints: PaperSize.B5
  110. *Constraints: PaperSize.B5_JIS_ROTATED
  111. *Constraints: PaperSize.JAPANESE_POSTCARD
  112. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  113. *Constraints: PaperSize.JENV_KAKU2_ROTATED
  114. *Constraints: PaperSize.JENV_KAKU3_ROTATED
  115. *Constraints: PaperSize.JENV_CHOU3_ROTATED
  116. *Constraints: PaperSize.JENV_CHOU4_ROTATED
  117. *Constraints: PaperSize.Option18
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.3
  121. *Cmd: "<1B>m1<19>"
  122. }
  123. }
  124. }
  125. *%======== Resolution ========
  126. *Feature: Resolution
  127. {
  128. *rcNameID: =RESOLUTION_DISPLAY
  129. *DefaultOption: Option1
  130. *Option: Option1
  131. {
  132. *Name: "160 x 160 dots per inch"
  133. *DPI: PAIR(160, 160)
  134. *TextDPI: PAIR(160, 160)
  135. *PinsPerLogPass: 24
  136. *PinsPerPhysPass: 24
  137. *MinStripBlankPixels: 120
  138. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  139. *SpotDiameter: 120
  140. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  141. }
  142. }
  143. *%======== PaperSize ========
  144. *Feature: PaperSize
  145. {
  146. *rcNameID: =PAPER_SIZE_DISPLAY
  147. *DefaultOption: A4
  148. *Option: A3_ROTATED
  149. {
  150. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  151. *switch: YOUSIHOUKOU
  152. {
  153. *case: Option1
  154. {
  155. *PrintableArea: PAIR(6528, 5019)
  156. *PrintableOrigin: PAIR(705, 114)
  157. }
  158. *case: Option2
  159. {
  160. *PrintableArea: PAIR(6528, 5280)
  161. *PrintableOrigin: PAIR(705, 114)
  162. }
  163. }
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.4
  167. *Cmd: %v{(PhysPaperLength / 80) + 15}
  168. }
  169. }
  170. *Option: A4
  171. {
  172. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  173. *switch: YOUSIHOUKOU
  174. {
  175. *case: Option1
  176. {
  177. *PrintableArea: PAIR(3777, 5019)
  178. *PrintableOrigin: PAIR(96, 114)
  179. }
  180. *case: Option2
  181. {
  182. *PrintableArea: PAIR(3777, 5280)
  183. *PrintableOrigin: PAIR(96, 114)
  184. }
  185. }
  186. *Command: CmdSelect
  187. {
  188. *Order: DOC_SETUP.4
  189. *Cmd: %v{(PhysPaperLength / 80) + 15}
  190. }
  191. }
  192. *Option: A4_ROTATED
  193. {
  194. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  195. *switch: YOUSIHOUKOU
  196. {
  197. *case: Option1
  198. {
  199. *PrintableArea: PAIR(5418, 3378)
  200. *PrintableOrigin: PAIR(96, 114)
  201. }
  202. *case: Option2
  203. {
  204. *PrintableArea: PAIR(5418, 3639)
  205. *PrintableOrigin: PAIR(96, 114)
  206. }
  207. }
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.4
  211. *Cmd: %v{(PhysPaperLength / 80) + 15}
  212. }
  213. }
  214. *Option: A5
  215. {
  216. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  217. *switch: YOUSIHOUKOU
  218. {
  219. *case: Option1
  220. {
  221. *PrintableArea: PAIR(2604, 3378)
  222. *PrintableOrigin: PAIR(96, 114)
  223. }
  224. *case: Option2
  225. {
  226. *PrintableArea: PAIR(2604, 3639)
  227. *PrintableOrigin: PAIR(96, 114)
  228. }
  229. }
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.4
  233. *Cmd: %v{(PhysPaperLength / 80) + 15}
  234. }
  235. }
  236. *Option: A5_ROTATED
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *switch: YOUSIHOUKOU
  240. {
  241. *case: Option1
  242. {
  243. *PrintableArea: PAIR(3777, 2205)
  244. *PrintableOrigin: PAIR(96, 114)
  245. }
  246. *case: Option2
  247. {
  248. *PrintableArea: PAIR(3777, 2466)
  249. *PrintableOrigin: PAIR(96, 114)
  250. }
  251. }
  252. *Command: CmdSelect
  253. {
  254. *Order: DOC_SETUP.4
  255. *Cmd: %v{(PhysPaperLength / 80) + 15}
  256. }
  257. }
  258. *Option: B4
  259. {
  260. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  261. *switch: YOUSIHOUKOU
  262. {
  263. *case: Option1
  264. {
  265. *PrintableArea: PAIR(4665, 6285)
  266. *PrintableOrigin: PAIR(96, 114)
  267. }
  268. *case: Option2
  269. {
  270. *PrintableArea: PAIR(4665, 6546)
  271. *PrintableOrigin: PAIR(96, 114)
  272. }
  273. }
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.4
  277. *Cmd: %v{(PhysPaperLength / 80) + 15}
  278. }
  279. }
  280. *Option: B4_JIS_ROTATED
  281. {
  282. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  283. *switch: YOUSIHOUKOU
  284. {
  285. *case: Option1
  286. {
  287. *PrintableArea: PAIR(6525, 4266)
  288. *PrintableOrigin: PAIR(96, 114)
  289. }
  290. *case: Option2
  291. {
  292. *PrintableArea: PAIR(6525, 4527)
  293. *PrintableOrigin: PAIR(96, 114)
  294. }
  295. }
  296. *Command: CmdSelect
  297. {
  298. *Order: DOC_SETUP.4
  299. *Cmd: %v{(PhysPaperLength / 80) + 15}
  300. }
  301. }
  302. *Option: B5
  303. {
  304. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  305. *switch: YOUSIHOUKOU
  306. {
  307. *case: Option1
  308. {
  309. *PrintableArea: PAIR(3249, 4266)
  310. *PrintableOrigin: PAIR(96, 114)
  311. }
  312. *case: Option2
  313. {
  314. *PrintableArea: PAIR(3249, 4527)
  315. *PrintableOrigin: PAIR(96, 114)
  316. }
  317. }
  318. *Command: CmdSelect
  319. {
  320. *Order: DOC_SETUP.4
  321. *Cmd: %v{(PhysPaperLength / 80) + 15}
  322. }
  323. }
  324. *Option: B5_JIS_ROTATED
  325. {
  326. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  327. *switch: YOUSIHOUKOU
  328. {
  329. *case: Option1
  330. {
  331. *PrintableArea: PAIR(4665, 2850)
  332. *PrintableOrigin: PAIR(96, 114)
  333. }
  334. *case: Option2
  335. {
  336. *PrintableArea: PAIR(4665, 3111)
  337. *PrintableOrigin: PAIR(96, 114)
  338. }
  339. }
  340. *Command: CmdSelect
  341. {
  342. *Order: DOC_SETUP.4
  343. *Cmd: %v{(PhysPaperLength / 80) + 15}
  344. }
  345. }
  346. *Option: JAPANESE_POSTCARD
  347. {
  348. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  349. *PrintableArea: PAIR(1698, 2397)
  350. *PrintableOrigin: PAIR(96, 183)
  351. *Command: CmdSelect
  352. {
  353. *Order: DOC_SETUP.4
  354. *Cmd: %v{(PhysPaperLength / 80) + 15}
  355. }
  356. }
  357. *Option: JAPANESE_POSTCARD_ROTATED
  358. {
  359. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  360. *PrintableArea: PAIR(2604, 1491)
  361. *PrintableOrigin: PAIR(96, 183)
  362. *Command: CmdSelect
  363. {
  364. *Order: DOC_SETUP.4
  365. *Cmd: %v{(PhysPaperLength / 80) + 15}
  366. }
  367. }
  368. *Option: 10X11
  369. {
  370. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  371. *PrintableArea: PAIR(4320, 4392)
  372. *PrintableOrigin: PAIR(240, 444)
  373. *Command: CmdSelect
  374. {
  375. *Order: DOC_SETUP.4
  376. *Cmd: %v{(PhysPaperLength / 80) }
  377. }
  378. }
  379. *Option: 15X11
  380. {
  381. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  382. *PrintableArea: PAIR(6528, 4392)
  383. *PrintableOrigin: PAIR(336, 444)
  384. *Command: CmdSelect
  385. {
  386. *Order: DOC_SETUP.4
  387. *Cmd: %v{(PhysPaperLength / 80) }
  388. }
  389. }
  390. *Option: JENV_KAKU2_ROTATED
  391. {
  392. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  393. *switch: YOUSIHOUKOU
  394. {
  395. *case: Option1
  396. {
  397. *PrintableArea: PAIR(6081, 3915)
  398. *PrintableOrigin: PAIR(96, 144)
  399. }
  400. *case: Option2
  401. {
  402. *PrintableArea: PAIR(6081, 4176)
  403. *PrintableOrigin: PAIR(96, 144)
  404. }
  405. }
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.4
  409. *Cmd: %v{(PhysPaperLength / 80) + 15}
  410. }
  411. }
  412. *Option: JENV_KAKU3_ROTATED
  413. {
  414. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  415. *switch: YOUSIHOUKOU
  416. {
  417. *case: Option1
  418. {
  419. *PrintableArea: PAIR(5040, 3459)
  420. *PrintableOrigin: PAIR(96, 144)
  421. }
  422. *case: Option2
  423. {
  424. *PrintableArea: PAIR(5040, 3720)
  425. *PrintableOrigin: PAIR(96, 144)
  426. }
  427. }
  428. *Command: CmdSelect
  429. {
  430. *Order: DOC_SETUP.4
  431. *Cmd: %v{(PhysPaperLength / 80) + 15}
  432. }
  433. }
  434. *Option: JENV_CHOU3_ROTATED
  435. {
  436. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  437. *switch: YOUSIHOUKOU
  438. {
  439. *case: Option1
  440. {
  441. *PrintableArea: PAIR(4248, 1644)
  442. *PrintableOrigin: PAIR(96, 144)
  443. }
  444. *case: Option2
  445. {
  446. *PrintableArea: PAIR(4248, 1905)
  447. *PrintableOrigin: PAIR(96, 144)
  448. }
  449. }
  450. *Command: CmdSelect
  451. {
  452. *Order: DOC_SETUP.4
  453. *Cmd: %v{(PhysPaperLength / 80) + 15}
  454. }
  455. }
  456. *Option: JENV_CHOU4_ROTATED
  457. {
  458. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  459. *switch: YOUSIHOUKOU
  460. {
  461. *case: Option1
  462. {
  463. *PrintableArea: PAIR(3681, 1077)
  464. *PrintableOrigin: PAIR(96, 144)
  465. }
  466. *case: Option2
  467. {
  468. *PrintableArea: PAIR(3681, 1338)
  469. *PrintableOrigin: PAIR(96, 144)
  470. }
  471. }
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.4
  475. *Cmd: %v{(PhysPaperLength / 80) + 15}
  476. }
  477. }
  478. *Option: Option18
  479. {
  480. *rcNameID: 258
  481. *PageDimensions: PAIR(1039, 1719)
  482. *switch: YOUSIHOUKOU
  483. {
  484. *case: Option1
  485. {
  486. *PrintableArea: PAIR(846, 1128)
  487. *PrintableOrigin: PAIR(96, 114)
  488. }
  489. *case: Option2
  490. {
  491. *PrintableArea: PAIR(846, 1389)
  492. *PrintableOrigin: PAIR(96, 114)
  493. }
  494. }
  495. *Command: CmdSelect
  496. {
  497. *Order: DOC_SETUP.4
  498. *Cmd: %v{(PhysPaperLength / 80) + 15}
  499. }
  500. }
  501. *Option: CUSTOMSIZE
  502. {
  503. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  504. *MinSize: PAIR(960, 960)
  505. *MaxSize: PAIR(7920, 10224)
  506. *MaxPrintableWidth: 6528
  507. *MinLeftMargin: 0
  508. *CenterPrintable?: FALSE
  509. *switch: InputBin
  510. {
  511. *case: Option1
  512. {
  513. *switch: YOUSIHOUKOU
  514. {
  515. *case: Option1
  516. {
  517. *CustCursorOriginX: %d{0}
  518. *CustCursorOriginY: %d{114}
  519. *CustPrintableOriginX: %d{0}
  520. *CustPrintableOriginY: %d{114}
  521. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  522. *CustPrintableSizeY: %d{PhysPaperLength - (114+477)}
  523. }
  524. *case: Option2
  525. {
  526. *CustCursorOriginX: %d{0}
  527. *CustCursorOriginY: %d{114}
  528. *CustPrintableOriginX: %d{0}
  529. *CustPrintableOriginY: %d{114}
  530. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  531. *CustPrintableSizeY: %d{PhysPaperLength - (114+216)}
  532. }
  533. }
  534. }
  535. *case: Option2
  536. {
  537. *switch: YOUSIHOUKOU
  538. {
  539. *case: Option1
  540. {
  541. *CustCursorOriginX: %d{0}
  542. *CustCursorOriginY: %d{114}
  543. *CustPrintableOriginX: %d{0}
  544. *CustPrintableOriginY: %d{114}
  545. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  546. *CustPrintableSizeY: %d{PhysPaperLength - (114+477)}
  547. }
  548. *case: Option2
  549. {
  550. *CustCursorOriginX: %d{0}
  551. *CustCursorOriginY: %d{114}
  552. *CustPrintableOriginX: %d{0}
  553. *CustPrintableOriginY: %d{114}
  554. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  555. *CustPrintableSizeY: %d{PhysPaperLength - (114+216)}
  556. }
  557. }
  558. }
  559. *case: Option3
  560. {
  561. *CustCursorOriginX: %d{0}
  562. *CustCursorOriginY: %d{0}
  563. *CustPrintableOriginX: %d{0}
  564. *CustPrintableOriginY: %d{0}
  565. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  566. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  567. }
  568. }
  569. *Command: CmdSelect
  570. {
  571. *Order: DOC_SETUP.4
  572. *Cmd: %v{(PhysPaperLength / 80) }
  573. }
  574. }
  575. }
  576. *%=======YOUSIHOUKOU=======
  577. *Feature: YOUSIHOUKOU
  578. {
  579. *rcNameID: 283
  580. *DefaultOption: Option1
  581. *HelpIndex: 7051
  582. *Option: Option1
  583. {
  584. *rcNameID: 261
  585. *Constraints: PaperSize.JAPANESE_POSTCARD
  586. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  587. }
  588. *Option: Option2
  589. {
  590. *rcNameID: 262
  591. }
  592. }
  593. *%======== PrintQuality ========
  594. *Feature: PrintQuality
  595. {
  596. *rcNameID: =TEXT_QUALITY_DISPLAY
  597. *DefaultOption: Option2
  598. *HelpIndex: 7060
  599. *Option: Option1
  600. {
  601. *rcNameID: 269
  602. *Command: CmdSelect
  603. {
  604. *Order: DOC_SETUP.2
  605. *Cmd: "<1B>d1<1B><3E>"
  606. }
  607. }
  608. *Option: Option2
  609. {
  610. *rcNameID: 270
  611. *Command: CmdSelect
  612. {
  613. *Order: DOC_SETUP.2
  614. *Cmd: "<1B>d1<1B>]"
  615. }
  616. }
  617. *Option: Option3
  618. {
  619. *rcNameID: 271
  620. *Command: CmdSelect
  621. {
  622. *Order: DOC_SETUP.2
  623. *Cmd: "<1B>d0<1B><3E>"
  624. }
  625. }
  626. *Option: Option4
  627. {
  628. *rcNameID: 272
  629. *Command: CmdSelect
  630. {
  631. *Order: DOC_SETUP.2
  632. *Cmd: "<1B>d0<1B>]"
  633. }
  634. }
  635. }
  636. *%======== TextHalftoneThreshold ========
  637. *Feature: TextHalftoneThreshold
  638. {
  639. *rcNameID: =TEXTHALFTONE_DISPLAY
  640. *DefaultOption: Option1
  641. *HelpIndex: 7080
  642. *Option: NONE
  643. {
  644. *rcNameID: =NONE_DISPLAY
  645. }
  646. *Option: Option1
  647. {
  648. *Name: "160"
  649. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  650. }
  651. }
  652. *%======== Halftone ========
  653. *Feature: Halftone
  654. {
  655. *rcNameID: =HALFTONING_DISPLAY
  656. *DefaultOption: HT_PATSIZE_AUTO
  657. *Option: HT_PATSIZE_AUTO
  658. {
  659. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  660. }
  661. *Option: HT_PATSIZE_SUPERCELL_M
  662. {
  663. *rcNameID: =HT_SUPERCELL_DISPLAY
  664. }
  665. *Option: HT_PATSIZE_6x6_M
  666. {
  667. *rcNameID: =HT_DITHER6X6_DISPLAY
  668. }
  669. *Option: HT_PATSIZE_8x8_M
  670. {
  671. *rcNameID: =HT_DITHER8X8_DISPLAY
  672. }
  673. }
  674. *%======== StartJob ========
  675. *Command: CmdStartJob
  676. {
  677. *Order: JOB_SETUP.1
  678. *Cmd : "<180F><1B>$<1B>M<1B>2<1B>/136<1C>A<1B>f<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>h0"
  679. }
  680. *%======== StartDoc ========
  681. *Command: CmdStartDoc
  682. {
  683. *Order: DOC_SETUP.1
  684. *Cmd: "<1B>H<1B>e11<1B221B>Y<1B>L000<1B>A<1B>O0<1C>c,,0."
  685. }
  686. *%======== StartPage ========
  687. *switch: InputBin
  688. {
  689. *case: Option1
  690. {
  691. *Command: CmdStartPage
  692. {
  693. *Order: PAGE_SETUP.1
  694. *Cmd: "<0D><1B>H<FF><0D>"
  695. }
  696. }
  697. *case: Option2
  698. {
  699. *Command: CmdStartPage
  700. {
  701. *Order: PAGE_SETUP.1
  702. *Cmd: "<0D><1B>a"
  703. }
  704. }
  705. *case: Option3
  706. {
  707. *Command: CmdStartPage
  708. {
  709. *Order: PAGE_SETUP.1
  710. *Cmd: "<0D>"
  711. }
  712. }
  713. }
  714. *%======== EndPage ========
  715. *switch: InputBin
  716. {
  717. *case: Option1
  718. {
  719. *EjectPageWithFF?: FALSE
  720. *Command: CmdEndPage
  721. {
  722. *Order: PAGE_FINISH.1
  723. *Cmd: "<1B>b"
  724. }
  725. }
  726. *case: Option2
  727. {
  728. *EjectPageWithFF?: FALSE
  729. *Command: CmdEndPage
  730. {
  731. *Order: PAGE_FINISH.1
  732. *Cmd: "<1B>b"
  733. }
  734. }
  735. *case: Option3
  736. {
  737. *EjectPageWithFF?: TRUE
  738. }
  739. }
  740. *%======== capabilities ========
  741. *RotateCoordinate?: FALSE
  742. *RotateRaster?: FALSE
  743. *RotateFont?: FALSE
  744. *switch: Orientation
  745. {
  746. *case: PORTRAIT
  747. {
  748. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  749. }
  750. *case: LANDSCAPE_CC270
  751. {
  752. *TextCaps: LIST(TC_RA_ABLE)
  753. }
  754. }
  755. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE)
  756. *%======== Cursor Control ========
  757. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  758. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  759. *MaxLineSpacing: 396
  760. *XMoveThreshold: 0
  761. *XMoveUnit: 160
  762. *AbsXMovesRightOnly?: TRUE
  763. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2175]{max_repeat((DestX / 3) )} }
  764. *LineSpacingMoveUnit: 120
  765. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  766. *Command: CmdCR { *Cmd : "<0D>" }
  767. *Command: CmdLF { *Cmd : "<0A>" }
  768. *Command: CmdFF { *Cmd : "<0D0C>" }
  769. *Command: CmdBackSpace { *Cmd : "<08>" }
  770. *%======== Raster Data ========
  771. *OutputDataFormat: V_BYTE
  772. *OptimizeLeftBound?: FALSE
  773. *CursorXAfterSendBlockData: AT_GRXDATA_END
  774. *CursorYAfterSendBlockData: NO_MOVE
  775. *MirrorRasterByte?: TRUE
  776. *%======== Device Font ========
  777. *DefaultFont: 2
  778. *DefaultCTT: 1
  779. *switch: Orientation
  780. {
  781. *case: PORTRAIT
  782. {
  783. *DeviceFonts: LIST(2,13,21,22,23,24,25,26,27,28,29,30,31,32,33,34,
  784. + 35,36,37,38,39,40)
  785. }
  786. *case: LANDSCAPE_CC270
  787. {
  788. *DeviceFonts: LIST()
  789. }
  790. }
  791. *%======== Font Cartridge ========
  792. *FontCartridge: FC1
  793. {
  794. *rcCartridgeNameID: 273
  795. *PortraitFonts: LIST(1,12)
  796. *LandscapeFonts: LIST()
  797. }
  798. *FontCartridge: FC2
  799. {
  800. *rcCartridgeNameID: 274
  801. *PortraitFonts: LIST(6,15)
  802. *LandscapeFonts: LIST()
  803. }
  804. *%======== Font Simulation ========
  805. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  806. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  807. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  808. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  809. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }