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.

932 lines
25 KiB

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