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.

832 lines
22 KiB

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