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.

907 lines
24 KiB

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