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.

970 lines
26 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR201/47"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc21jres.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *PrintRateUnit: CPS
  9. *PrintRate: 71
  10. *GPDFileName: "NC2147J.GPD"
  11. *Include: "STDNAMES.GPD"
  12. *GPDFileVersion: "1.000"
  13. *HelpFile: "nc21jres.hlp"
  14. *% *Macros: HelpIDs
  15. *% {
  16. *% PAPER SETTING */
  17. *% POP_21_PAPSET :2150
  18. *% PRINT QUALITIES */
  19. *% POP_21_PQUALITIESNEW :2167
  20. *% KANJI CODE */
  21. *% POP_21_KANJICODE :2170
  22. *% }
  23. *%----------------------------
  24. *%- Installable Option -
  25. *%----------------------------
  26. *rcInstalledOptionNameID: 290
  27. *rcNotInstalledOptionNameID: 291
  28. *%---------------------
  29. *%- Orientation -
  30. *%---------------------
  31. *Feature: Orientation
  32. {
  33. *rcNameID: =ORIENTATION_DISPLAY
  34. *DefaultOption: PORTRAIT
  35. *Option: PORTRAIT
  36. {
  37. *rcNameID: =PORTRAIT_DISPLAY
  38. }
  39. *Option: LANDSCAPE_CC270
  40. {
  41. *rcNameID: =LANDSCAPE_DISPLAY
  42. }
  43. }
  44. *%-------------------
  45. *%- InputBins -
  46. *%-------------------
  47. *Feature: InputBin
  48. {
  49. *rcNameID: =PAPER_SOURCE_DISPLAY
  50. *DefaultOption: Option1
  51. *Option: Option1 *%SheetGuide
  52. {
  53. *rcNameID: 260
  54. }
  55. *Option: Option2 *%SheetFeeder
  56. {
  57. *rcNameID: 261
  58. *Installable?: TRUE
  59. *rcInstallableFeatureNameID: 261
  60. }
  61. *Option: Option3 *%TractorUnit
  62. {
  63. *rcNameID: 268
  64. }
  65. }
  66. *%--------------------
  67. *%- Resolution -
  68. *%--------------------
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "160 x 160 dots per inch"
  76. *DPI: PAIR(160, 160)
  77. *TextDPI: PAIR(160, 160)
  78. *PinsPerLogPass: 24
  79. *PinsPerPhysPass: 24
  80. *MinStripBlankPixels: 120
  81. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  82. *SpotDiameter: 120
  83. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  84. }
  85. }
  86. *%--------------------
  87. *%- PaperSizes -
  88. *%--------------------
  89. *Feature: PaperSize
  90. {
  91. *rcNameID: =PAPER_SIZE_DISPLAY
  92. *DefaultOption: A4
  93. *Option: A4
  94. {
  95. *rcNameID: =A4_DISPLAY
  96. *switch: PaperSetting
  97. {
  98. *case: Option1 *% Set Center
  99. {
  100. *Command: CmdSelect
  101. {
  102. *Order: DOC_SETUP.4
  103. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 80) + 15}
  104. }
  105. }
  106. *case: Option2 *% Set Left
  107. {
  108. *Command: CmdSelect
  109. {
  110. *Order: DOC_SETUP.4
  111. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  112. }
  113. }
  114. }
  115. *switch: InputBin
  116. {
  117. *case: Option1
  118. {
  119. *PrintableArea: PAIR(3538, 4651)
  120. *PrintableOrigin: PAIR(216, 408)
  121. *switch: Resolution
  122. {
  123. *case: Option1
  124. {
  125. *PrintableArea: PAIR(3537, 4650)
  126. }
  127. }
  128. }
  129. *case: Option2
  130. {
  131. *PrintableArea: PAIR(3538, 5305)
  132. *PrintableOrigin: PAIR(216, 117)
  133. *switch: Resolution
  134. {
  135. *case: Option1
  136. {
  137. *PrintableArea: PAIR(3537, 5304)
  138. }
  139. }
  140. }
  141. }
  142. }
  143. *Option: A4_ROTATED
  144. {
  145. *rcNameID: =A4_ROTATED_DISPLAY
  146. *switch: PaperSetting
  147. {
  148. *case: Option1 *% Set Center
  149. {
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.4
  153. *Cmd: "<1B>H<1B>L014" %v{(PhysPaperLength / 80) + 15}
  154. }
  155. }
  156. *case: Option2 *% Set Left
  157. {
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.4
  161. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  162. }
  163. }
  164. }
  165. *switch: InputBin
  166. {
  167. *case: Option1
  168. {
  169. *PrintableArea: PAIR(5179, 3010)
  170. *PrintableOrigin: PAIR(216, 408)
  171. *switch: Resolution
  172. {
  173. *case: Option1
  174. {
  175. *PrintableArea: PAIR(5178, 3009)
  176. }
  177. }
  178. }
  179. *case: Option2
  180. {
  181. *PrintableArea: PAIR(5179, 3664)
  182. *PrintableOrigin: PAIR(216, 117)
  183. *switch: Resolution
  184. {
  185. *case: Option1
  186. {
  187. *PrintableArea: PAIR(5178, 3663)
  188. }
  189. }
  190. }
  191. }
  192. }
  193. *Option: A5
  194. {
  195. *rcNameID: =A5_DISPLAY
  196. *switch: PaperSetting
  197. {
  198. *case: Option1 *% Set Center
  199. {
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.4
  203. *Cmd: "<1B>H<1B>L043" %v{(PhysPaperLength / 80) + 15}
  204. }
  205. }
  206. *case: Option2 *% Set Left
  207. {
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.4
  211. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  212. }
  213. }
  214. }
  215. *switch: InputBin
  216. {
  217. *case: Option1
  218. {
  219. *PrintableArea: PAIR(2366, 3010)
  220. *PrintableOrigin: PAIR(216, 408)
  221. *switch: Resolution
  222. {
  223. *case: Option1
  224. {
  225. *PrintableArea: PAIR(2364, 3009)
  226. }
  227. }
  228. }
  229. *case: Option2
  230. {
  231. *PrintableArea: PAIR(2366, 3664)
  232. *PrintableOrigin: PAIR(216, 117)
  233. *switch: Resolution
  234. {
  235. *case: Option1
  236. {
  237. *PrintableArea: PAIR(2364, 3663)
  238. }
  239. }
  240. }
  241. }
  242. }
  243. *Option: A5_ROTATED
  244. {
  245. *rcNameID: =A5_ROTATED_DISPLAY
  246. *switch: PaperSetting
  247. {
  248. *case: Option1 *% Set Center
  249. {
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.4
  253. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 80) + 15}
  254. }
  255. }
  256. *case: Option2 *% Set Left
  257. {
  258. *Command: CmdSelect
  259. {
  260. *Order: DOC_SETUP.4
  261. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  262. }
  263. }
  264. }
  265. *switch: InputBin
  266. {
  267. *case: Option1
  268. {
  269. *PrintableArea: PAIR(3538, 1838)
  270. *PrintableOrigin: PAIR(216, 408)
  271. *switch: Resolution
  272. {
  273. *case: Option1
  274. {
  275. *PrintableArea: PAIR(3537, 1836)
  276. }
  277. }
  278. }
  279. *case: Option2
  280. {
  281. *PrintableArea: PAIR(3538, 2492)
  282. *PrintableOrigin: PAIR(216, 117)
  283. *switch: Resolution
  284. {
  285. *case: Option1
  286. {
  287. *PrintableArea: PAIR(3537, 2490)
  288. }
  289. }
  290. }
  291. }
  292. }
  293. *Option: B4
  294. {
  295. *rcNameID: =B4_DISPLAY
  296. *switch: PaperSetting
  297. {
  298. *case: Option1 *% Set Center
  299. {
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.4
  303. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  304. }
  305. }
  306. *case: Option2 *% Set Left
  307. {
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.4
  311. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  312. }
  313. }
  314. }
  315. *switch: InputBin
  316. {
  317. *case: Option1
  318. {
  319. *PrintableArea: PAIR(4426, 5918)
  320. *PrintableOrigin: PAIR(216, 408)
  321. *switch: Resolution
  322. {
  323. *case: Option1
  324. {
  325. *PrintableArea: PAIR(4425, 5916)
  326. }
  327. }
  328. }
  329. *case: Option2
  330. {
  331. *PrintableArea: PAIR(4426, 6572)
  332. *PrintableOrigin: PAIR(216, 117)
  333. *switch: Resolution
  334. {
  335. *case: Option1
  336. {
  337. *PrintableArea: PAIR(4425, 6570)
  338. }
  339. }
  340. }
  341. }
  342. }
  343. *Option: B4_JIS_ROTATED
  344. {
  345. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.4
  349. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  350. }
  351. *switch: InputBin
  352. {
  353. *case: Option1
  354. {
  355. *PrintableArea: PAIR(6446, 3898)
  356. *PrintableOrigin: PAIR(216, 408)
  357. *switch: Resolution
  358. {
  359. *case: Option1
  360. {
  361. *PrintableArea: PAIR(6444, 3897)
  362. }
  363. }
  364. }
  365. *case: Option2
  366. {
  367. *PrintableArea: PAIR(6446, 4552)
  368. *PrintableOrigin: PAIR(216, 117)
  369. *switch: Resolution
  370. {
  371. *case: Option1
  372. {
  373. *PrintableArea: PAIR(6444, 4551)
  374. }
  375. }
  376. }
  377. }
  378. }
  379. *Option: B5
  380. {
  381. *rcNameID: =B5_DISPLAY
  382. *switch: PaperSetting
  383. {
  384. *case: Option1 *% Set Center
  385. {
  386. *Command: CmdSelect
  387. {
  388. *Order: DOC_SETUP.4
  389. *Cmd: "<1B>H<1B>L037" %v{(PhysPaperLength / 80) + 15}
  390. }
  391. }
  392. *case: Option2 *% Set Left
  393. {
  394. *Command: CmdSelect
  395. {
  396. *Order: DOC_SETUP.4
  397. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  398. }
  399. }
  400. }
  401. *switch: InputBin
  402. {
  403. *case: Option1
  404. {
  405. *PrintableArea: PAIR(3010, 3898)
  406. *PrintableOrigin: PAIR(216, 408)
  407. *switch: Resolution
  408. {
  409. *case: Option1
  410. {
  411. *PrintableArea: PAIR(3009, 3897)
  412. }
  413. }
  414. }
  415. *case: Option2
  416. {
  417. *PrintableArea: PAIR(3010, 4552)
  418. *PrintableOrigin: PAIR(216, 117)
  419. *switch: Resolution
  420. {
  421. *case: Option1
  422. {
  423. *PrintableArea: PAIR(3009, 4551)
  424. }
  425. }
  426. }
  427. }
  428. }
  429. *Option: B5_JIS_ROTATED
  430. {
  431. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  432. *switch: PaperSetting
  433. {
  434. *case: Option1 *% Set Center
  435. {
  436. *Command: CmdSelect
  437. {
  438. *Order: DOC_SETUP.4
  439. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  440. }
  441. }
  442. *case: Option2 *% Set Left
  443. {
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.4
  447. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  448. }
  449. }
  450. }
  451. *switch: InputBin
  452. {
  453. *case: Option1
  454. {
  455. *PrintableArea: PAIR(4426, 2482)
  456. *PrintableOrigin: PAIR(216, 408)
  457. *switch: Resolution
  458. {
  459. *case: Option1
  460. {
  461. *PrintableArea: PAIR(4425, 2481)
  462. }
  463. }
  464. }
  465. *case: Option2
  466. {
  467. *PrintableArea: PAIR(4426, 3136)
  468. *PrintableOrigin: PAIR(216, 117)
  469. *switch: Resolution
  470. {
  471. *case: Option1
  472. {
  473. *PrintableArea: PAIR(4425, 3135)
  474. }
  475. }
  476. }
  477. }
  478. }
  479. *Option: JAPANESE_POSTCARD
  480. {
  481. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  482. *switch: PaperSetting
  483. {
  484. *case: Option1 *% Set Center
  485. {
  486. *Command: CmdSelect
  487. {
  488. *Order: DOC_SETUP.4
  489. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 80) + 15}
  490. }
  491. }
  492. *case: Option2 *% Set Left
  493. {
  494. *Command: CmdSelect
  495. {
  496. *Order: DOC_SETUP.4
  497. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  498. }
  499. }
  500. }
  501. *PrintableArea: PAIR(1480, 2312)
  502. *PrintableOrigin: PAIR(216, 183)
  503. *switch: Resolution
  504. {
  505. *case: Option1
  506. {
  507. *PrintableArea: PAIR(1479, 2310)
  508. }
  509. }
  510. }
  511. *Option: JAPANESE_POSTCARD_ROTATED
  512. {
  513. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  514. *switch: PaperSetting
  515. {
  516. *case: Option1 *% Set Center
  517. {
  518. *Command: CmdSelect
  519. {
  520. *Order: DOC_SETUP.4
  521. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 80) + 15}
  522. }
  523. }
  524. *case: Option2 *% Set Left
  525. {
  526. *Command: CmdSelect
  527. {
  528. *Order: DOC_SETUP.4
  529. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  530. }
  531. }
  532. }
  533. *PrintableArea: PAIR(2387, 1405)
  534. *PrintableOrigin: PAIR(216, 183)
  535. *switch: Resolution
  536. {
  537. *case: Option1
  538. {
  539. *PrintableArea: PAIR(2385, 1404)
  540. }
  541. }
  542. }
  543. *Option: 10X11
  544. {
  545. *rcNameID: =10X11_DISPLAY
  546. *switch: PaperSetting
  547. {
  548. *case: Option1 *% Set Center
  549. {
  550. *Command: CmdSelect
  551. {
  552. *Order: DOC_SETUP.4
  553. *Cmd: "<1B>H<1B>L023" %v{(PhysPaperLength / 80) }
  554. }
  555. }
  556. *case: Option2 *% Set Left
  557. {
  558. *Command: CmdSelect
  559. {
  560. *Order: DOC_SETUP.4
  561. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  562. }
  563. }
  564. }
  565. *PrintableArea: PAIR(4320, 4392)
  566. *PrintableOrigin: PAIR(240, 444)
  567. }
  568. *Option: 15X11
  569. {
  570. *rcNameID: =15X11_DISPLAY
  571. *Command: CmdSelect
  572. {
  573. *Order: DOC_SETUP.4
  574. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  575. }
  576. *PrintableArea: PAIR(6528, 4392)
  577. *PrintableOrigin: PAIR(336, 444)
  578. }
  579. *Option: CUSTOMSIZE
  580. {
  581. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  582. *MinSize: PAIR(960, 960) *% 2' x 1'
  583. *MaxSize: PAIR(7680, 10224) *% Size 16'x 21.3'
  584. *MaxPrintableWidth: 6528 *% 136 keta
  585. *MinLeftMargin: 0
  586. *CenterPrintable?: FALSE *% Not use Center huriwake
  587. *Constraints: PaperSetting.Option1 *% Not available Setting Center
  588. *switch: InputBin
  589. {
  590. *case: Option1
  591. {
  592. *CustCursorOriginX: %d{0}
  593. *CustCursorOriginY: %d{408}
  594. *CustPrintableOriginX: %d{0}
  595. *CustPrintableOriginY: %d{408}
  596. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  597. *CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
  598. }
  599. *case: Option2
  600. {
  601. *CustCursorOriginX: %d{0}
  602. *CustCursorOriginY: %d{117}
  603. *CustPrintableOriginX: %d{0}
  604. *CustPrintableOriginY: %d{117}
  605. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  606. *CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
  607. }
  608. *case: Option3
  609. {
  610. *CustCursorOriginX: %d{0}
  611. *CustCursorOriginY: %d{0}
  612. *CustPrintableOriginX: %d{0}
  613. *CustPrintableOriginY: %d{0}
  614. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  615. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  616. }
  617. }
  618. *Command: CmdSelect
  619. {
  620. *Order: DOC_SETUP.4
  621. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  622. }
  623. }
  624. }
  625. *%--------------------------------
  626. *%- InstallableCombination -
  627. *%--------------------------------
  628. *InvalidCombination: LIST(InputBin.Option1, PaperSize.10X11)
  629. *InvalidCombination: LIST(InputBin.Option1, PaperSize.15X11)
  630. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  631. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  632. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  633. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  634. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  635. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  636. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  637. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  638. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  639. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  640. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  641. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  642. *%----------------------
  643. *%- PaperSetting -
  644. *%----------------------
  645. *Feature: PaperSetting *%Custom Feature: change Paper set Position
  646. {
  647. *rcNameID: 300
  648. *DefaultOption: Option1
  649. *HelpIndex: 2150
  650. *Option: Option1
  651. {
  652. *rcNameID: 258
  653. }
  654. *Option: Option2
  655. {
  656. *rcNameID: 259
  657. }
  658. }
  659. *%------------------------
  660. *%- PrintQualities -
  661. *%------------------------
  662. *Feature: PrintQuality *%Custom Feature: Draft ari/nashi insatsu houkou
  663. {
  664. *rcNameID: =TEXT_QUALITY_DISPLAY
  665. *DefaultOption: Option2
  666. *HelpIndex: 2167
  667. *Option: Option1 *% Standard & KATA-Houkou
  668. {
  669. *rcNameID: 270
  670. *Command: CmdSelect
  671. {
  672. *Order: DOC_SETUP.2
  673. *Cmd: "<1B>d1<1B><3E>"
  674. }
  675. }
  676. *Option: Option2 *% Standard & RYOU-Houkou
  677. {
  678. *rcNameID: 271
  679. *Command: CmdSelect
  680. {
  681. *Order: DOC_SETUP.2
  682. *Cmd: "<1B>d1<1B>]"
  683. }
  684. }
  685. *Option: Option3 *% Draft & KATA-Houkou
  686. {
  687. *rcNameID: 272
  688. *Command: CmdSelect
  689. {
  690. *Order: DOC_SETUP.2
  691. *Cmd: "<1B>d0<1B><3E>"
  692. }
  693. }
  694. *Option: Option4 *% Draft & RYOU-Houkou
  695. {
  696. *rcNameID: 273
  697. *Command: CmdSelect
  698. {
  699. *Order: DOC_SETUP.2
  700. *Cmd: "<1B>d0<1B>]"
  701. }
  702. }
  703. }
  704. *%-------------------------------
  705. *%- TextHalftoneThreshold -
  706. *%-------------------------------
  707. *Feature: TextHalftoneThreshold
  708. {
  709. *rcNameID: =TEXTHALFTONE_DISPLAY
  710. *DefaultOption: Option1
  711. *HelpIndex: 2180
  712. *Option: NONE
  713. {
  714. *rcNameID: =NONE_DISPLAY
  715. }
  716. *Option: Option1
  717. {
  718. *Name: "160"
  719. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  720. }
  721. }
  722. *%------------------
  723. *%- JIS78/90 -
  724. *%------------------
  725. *Feature: JIS78JIS90 *%Custom Feature: change code JIS78 or JIS90
  726. {
  727. *rcNameID: 310
  728. *DefaultOption: Option2
  729. *FeatureType: PRINTER_PROPERTY
  730. *HelpIndex: 2170
  731. *Option: Option2
  732. {
  733. *rcNameID: 312
  734. *Command: CmdSelect
  735. {
  736. *Order: JOB_SETUP.2
  737. *Cmd: "<1C>05F2-02"
  738. }
  739. }
  740. *Option: Option1
  741. {
  742. *rcNameID: 311
  743. *Command: CmdSelect
  744. {
  745. *Order: JOB_SETUP.2
  746. *Cmd: "<1C>05F2-00"
  747. }
  748. }
  749. }
  750. *%------------------
  751. *%- Halftone -
  752. *%------------------
  753. *Feature: Halftone
  754. {
  755. *rcNameID: =HALFTONING_DISPLAY
  756. *DefaultOption: HT_PATSIZE_AUTO
  757. *Option: HT_PATSIZE_AUTO
  758. {
  759. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  760. }
  761. *Option: HT_PATSIZE_SUPERCELL_M
  762. {
  763. *rcNameID: =HT_SUPERCELL_DISPLAY
  764. }
  765. *Option: HT_PATSIZE_6x6_M
  766. {
  767. *rcNameID: =HT_DITHER6X6_DISPLAY
  768. }
  769. *Option: HT_PATSIZE_8x8_M
  770. {
  771. *rcNameID: =HT_DITHER8X8_DISPLAY
  772. }
  773. }
  774. *%------------------
  775. *%- StartJob -
  776. *%------------------
  777. *Command: CmdStartJob *%Add Command
  778. {
  779. *Order: JOB_SETUP.1
  780. *Cmd: "<18><0F><1B>$<1B>M<1B>2<1B>/136<1B>f<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>h0<1C>A"
  781. }
  782. *%------------------
  783. *%- StartDoc -
  784. *%------------------
  785. *Command: CmdStartDoc *%Change command
  786. {
  787. *Order: DOC_SETUP.1
  788. *Cmd: "<1B>H<1B><22><1B>Y<1B>L000<1B>A<1B>e11<1B>O0<1C>c,,0."
  789. }
  790. *%-------------------
  791. *%- StartPage -
  792. *%-------------------
  793. *switch: InputBin
  794. {
  795. *case: Option1 *% SheetGuide
  796. {
  797. *Command: CmdStartPage
  798. {
  799. *Order: PAGE_SETUP.1
  800. *Cmd: "<0D><1B>H<FF><0D>"
  801. }
  802. }
  803. *case: Option2 *% SheetFeeder
  804. {
  805. *Command: CmdStartPage
  806. {
  807. *Order: PAGE_SETUP.1
  808. *Cmd: "<0D><1B>a"
  809. }
  810. }
  811. *case: Option3 *% TractorUnit
  812. {
  813. *Command: CmdStartPage
  814. {
  815. *Order: PAGE_SETUP.1
  816. *Cmd: "<0D><1B>H<FF><0D>"
  817. }
  818. }
  819. }
  820. *%-----------------
  821. *%- EndPage -
  822. *%-----------------
  823. *switch: InputBin
  824. {
  825. *case: Option1 *% SheetGuide
  826. {
  827. *EjectPageWithFF?: TRUE
  828. }
  829. *case: Option2 *% SheetFeeder
  830. {
  831. *EjectPageWithFF?: FALSE
  832. *Command: CmdEndPage
  833. {
  834. *Order: PAGE_FINISH.1
  835. *Cmd: "<1B>b"
  836. }
  837. }
  838. *case: Option3 *% TractorUnit
  839. {
  840. *EjectPageWithFF?: TRUE
  841. }
  842. }
  843. *%------------------------
  844. *%- Font Available -
  845. *%------------------------
  846. *RotateCoordinate?: FALSE
  847. *RotateRaster?: FALSE
  848. *RotateFont?: FALSE
  849. *switch: Orientation
  850. {
  851. *case: PORTRAIT
  852. {
  853. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  854. }
  855. *case: LANDSCAPE_CC270
  856. {
  857. *TextCaps: LIST(TC_RA_ABLE)
  858. }
  859. }
  860. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
  861. *%--------------------
  862. *%- CursorMove -
  863. *%--------------------
  864. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  865. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  866. *MaxLineSpacing: 396
  867. *XMoveThreshold: 0
  868. *XMoveUnit: 160
  869. *AbsXMovesRightOnly?: TRUE
  870. *% 136 keta x 16 dot(=CharWidth)
  871. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2176]{max_repeat((DestX / 3) )} }
  872. *LineSpacingMoveUnit: 120
  873. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  874. *Command: CmdCR { *Cmd : "<0D>" }
  875. *Command: CmdLF { *Cmd : "<0A>" }
  876. *Command: CmdFF { *Cmd : "<0D0C>" }
  877. *Command: CmdBackSpace { *Cmd : "<08>" }
  878. *% Error: no Abs or Rel YMoveCommands found. Correct it manually.
  879. *OutputDataFormat: V_BYTE
  880. *OptimizeLeftBound?: FALSE
  881. *CursorXAfterSendBlockData: AT_GRXDATA_END
  882. *CursorYAfterSendBlockData: NO_MOVE
  883. *MirrorRasterByte?: TRUE
  884. *%-----------------------
  885. *%- PrinterFonts -
  886. *%-----------------------
  887. *DefaultFont: 1
  888. *DefaultCTT: 1
  889. *switch: Orientation
  890. {
  891. *case: PORTRAIT
  892. {
  893. *DeviceFonts: LIST(1,10,36,37,38,39,40,41,42,43,44,45,46,47,48,49,
  894. + 50,51,52,53,54,55)
  895. }
  896. *case: LANDSCAPE_CC270
  897. {
  898. *DeviceFonts: LIST()
  899. }
  900. }
  901. *FontCartridge: FC1
  902. {
  903. *rcCartridgeNameID: 276
  904. *PortraitFonts: LIST(8,16)
  905. *LandscapeFonts: LIST()
  906. }
  907. *FontCartridge: FC2
  908. {
  909. *rcCartridgeNameID: 277
  910. *PortraitFonts: LIST(19,26)
  911. *LandscapeFonts: LIST()
  912. }
  913. *FontCartridge: FC3
  914. {
  915. *rcCartridgeNameID: 278
  916. *PortraitFonts: LIST(7,15)
  917. *LandscapeFonts: LIST()
  918. }
  919. *FontCartridge: FC4
  920. {
  921. *rcCartridgeNameID: 279
  922. *PortraitFonts: LIST(22,29)
  923. *LandscapeFonts: LIST()
  924. }
  925. *FontCartridge: FC5
  926. {
  927. *rcCartridgeNameID: 280
  928. *PortraitFonts: LIST(32,34)
  929. *LandscapeFonts: LIST()
  930. }
  931. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  932. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  933. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  934. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  935. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }