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.

819 lines
22 KiB

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