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.

825 lines
22 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR201H"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc21jres.dll"
  6. *PrinterType: SERIAL
  7. *PrintRateUnit: CPS
  8. *PrintRate: 75
  9. *GPDFileName: "NC21HJ.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 *%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>e11<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 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. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.4
  319. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  320. }
  321. *switch: InputBin
  322. {
  323. *case: Option1
  324. {
  325. *PrintableArea: PAIR(6446, 3898)
  326. *PrintableOrigin: PAIR(216, 408)
  327. *switch: Resolution
  328. {
  329. *case: Option1
  330. {
  331. *PrintableArea: PAIR(6444, 3897)
  332. }
  333. }
  334. }
  335. *case: Option2
  336. {
  337. *PrintableArea: PAIR(6446, 4552)
  338. *PrintableOrigin: PAIR(216, 117)
  339. *switch: Resolution
  340. {
  341. *case: Option1
  342. {
  343. *PrintableArea: PAIR(6444, 4551)
  344. }
  345. }
  346. }
  347. }
  348. }
  349. *Option: B5
  350. {
  351. *rcNameID: =B5_DISPLAY
  352. *switch: PaperSetting
  353. {
  354. *case: Option1 *% Set Center
  355. {
  356. *Command: CmdSelect
  357. {
  358. *Order: DOC_SETUP.4
  359. *Cmd: "<1B>H<1B>L037" %v{(PhysPaperLength / 80) + 15}
  360. }
  361. }
  362. *case: Option2 *% Set Left
  363. {
  364. *Command: CmdSelect
  365. {
  366. *Order: DOC_SETUP.4
  367. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  368. }
  369. }
  370. }
  371. *switch: InputBin
  372. {
  373. *case: Option1
  374. {
  375. *PrintableArea: PAIR(3010, 3898)
  376. *PrintableOrigin: PAIR(216, 408)
  377. *switch: Resolution
  378. {
  379. *case: Option1
  380. {
  381. *PrintableArea: PAIR(3009, 3897)
  382. }
  383. }
  384. }
  385. *case: Option2
  386. {
  387. *PrintableArea: PAIR(3010, 4552)
  388. *PrintableOrigin: PAIR(216, 117)
  389. *switch: Resolution
  390. {
  391. *case: Option1
  392. {
  393. *PrintableArea: PAIR(3009, 4551)
  394. }
  395. }
  396. }
  397. }
  398. }
  399. *Option: B5_JIS_ROTATED
  400. {
  401. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  402. *switch: PaperSetting
  403. {
  404. *case: Option1 *% Set Center
  405. {
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.4
  409. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  410. }
  411. }
  412. *case: Option2 *% Set Left
  413. {
  414. *Command: CmdSelect
  415. {
  416. *Order: DOC_SETUP.4
  417. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  418. }
  419. }
  420. }
  421. *switch: InputBin
  422. {
  423. *case: Option1
  424. {
  425. *PrintableArea: PAIR(4426, 2482)
  426. *PrintableOrigin: PAIR(216, 408)
  427. *switch: Resolution
  428. {
  429. *case: Option1
  430. {
  431. *PrintableArea: PAIR(4425, 2481)
  432. }
  433. }
  434. }
  435. *case: Option2
  436. {
  437. *PrintableArea: PAIR(4426, 3136)
  438. *PrintableOrigin: PAIR(216, 117)
  439. *switch: Resolution
  440. {
  441. *case: Option1
  442. {
  443. *PrintableArea: PAIR(4425, 3135)
  444. }
  445. }
  446. }
  447. }
  448. }
  449. *Option: 10X11
  450. {
  451. *rcNameID: =10X11_DISPLAY
  452. *switch: PaperSetting
  453. {
  454. *case: Option1 *% Set Center
  455. {
  456. *Command: CmdSelect
  457. {
  458. *Order: DOC_SETUP.4
  459. *Cmd: "<1B>H<1B>L023" %v{(PhysPaperLength / 80) }
  460. }
  461. }
  462. *case: Option2 *% Set Left
  463. {
  464. *Command: CmdSelect
  465. {
  466. *Order: DOC_SETUP.4
  467. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  468. }
  469. }
  470. }
  471. *PrintableArea: PAIR(4320, 4392)
  472. *PrintableOrigin: PAIR(240, 444)
  473. }
  474. *Option: 15X11
  475. {
  476. *rcNameID: =15X11_DISPLAY
  477. *Command: CmdSelect
  478. {
  479. *Order: DOC_SETUP.4
  480. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  481. }
  482. *PrintableArea: PAIR(6528, 4392)
  483. *PrintableOrigin: PAIR(336, 444)
  484. }
  485. *Option: CUSTOMSIZE
  486. {
  487. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  488. *MinSize: PAIR(960, 960) *% 2' x 2'
  489. *MaxSize: PAIR(7680, 10224) *% Size 16'x 21.3'
  490. *MaxPrintableWidth: 6528 *% 136 keta
  491. *MinLeftMargin: 0
  492. *CenterPrintable?: FALSE *% Not use Center huriwake
  493. *Constraints: PaperSetting.Option1 *% Not available Setting Center
  494. *switch: InputBin
  495. {
  496. *case: Option1
  497. {
  498. *CustCursorOriginX: %d{0}
  499. *CustCursorOriginY: %d{408}
  500. *CustPrintableOriginX: %d{0}
  501. *CustPrintableOriginY: %d{408}
  502. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  503. *CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
  504. }
  505. *case: Option2
  506. {
  507. *CustCursorOriginX: %d{0}
  508. *CustCursorOriginY: %d{117}
  509. *CustPrintableOriginX: %d{0}
  510. *CustPrintableOriginY: %d{117}
  511. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  512. *CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
  513. }
  514. *case: Option3
  515. {
  516. *CustCursorOriginX: %d{0}
  517. *CustCursorOriginY: %d{0}
  518. *CustPrintableOriginX: %d{0}
  519. *CustPrintableOriginY: %d{0}
  520. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  521. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  522. }
  523. }
  524. *Command: CmdSelect
  525. {
  526. *Order: DOC_SETUP.4
  527. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  528. }
  529. }
  530. }
  531. *%--------------------------------
  532. *%- InstallableCombination -
  533. *%--------------------------------
  534. *InvalidCombination: LIST(InputBin.Option1, PaperSize.10X11)
  535. *InvalidCombination: LIST(InputBin.Option1, PaperSize.15X11)
  536. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  537. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  538. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  539. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  540. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  541. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  542. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  543. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  544. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  545. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  546. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  547. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  548. *%----------------------
  549. *%- PaperSetting -
  550. *%----------------------
  551. *Feature: PaperSetting *%Custom Feature: change Paper set Position
  552. {
  553. *rcNameID: 300
  554. *DefaultOption: Option1
  555. *HelpIndex: 2150
  556. *Option: Option1
  557. {
  558. *rcNameID: 258
  559. }
  560. *Option: Option2
  561. {
  562. *rcNameID: 259
  563. }
  564. }
  565. *%------------------------
  566. *%- PrintQualities -
  567. *%------------------------
  568. *Feature: PrintQuality *%Custom Feature: Draft ari/nashi insatsu houkou
  569. {
  570. *rcNameID: =TEXT_QUALITY_DISPLAY
  571. *DefaultOption: Option2
  572. *HelpIndex: 2167
  573. *Option: Option1 *% Standard & KATA-Houkou
  574. {
  575. *rcNameID: 270
  576. *Command: CmdSelect
  577. {
  578. *Order: DOC_SETUP.2
  579. *Cmd: "<1B>d1<1B><3E>"
  580. }
  581. }
  582. *Option: Option2 *% Standard & RYOU-Houkou
  583. {
  584. *rcNameID: 271
  585. *Command: CmdSelect
  586. {
  587. *Order: DOC_SETUP.2
  588. *Cmd: "<1B>d1<1B>]"
  589. }
  590. }
  591. *Option: Option3 *% Draft & KATA-Houkou
  592. {
  593. *rcNameID: 272
  594. *Command: CmdSelect
  595. {
  596. *Order: DOC_SETUP.2
  597. *Cmd: "<1B>d0<1B><3E>"
  598. }
  599. }
  600. *Option: Option4 *% Draft & RYOU-Houkou
  601. {
  602. *rcNameID: 273
  603. *Command: CmdSelect
  604. {
  605. *Order: DOC_SETUP.2
  606. *Cmd: "<1B>d0<1B>]"
  607. }
  608. }
  609. }
  610. *%-------------------------------
  611. *%- TextHalftoneThreshold -
  612. *%-------------------------------
  613. *Feature: TextHalftoneThreshold
  614. {
  615. *rcNameID: =TEXTHALFTONE_DISPLAY
  616. *DefaultOption: Option1
  617. *HelpIndex: 2180
  618. *Option: NONE
  619. {
  620. *rcNameID: =NONE_DISPLAY
  621. }
  622. *Option: Option1
  623. {
  624. *Name: "160"
  625. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  626. }
  627. }
  628. *%------------------
  629. *%- Halftone -
  630. *%------------------
  631. *Feature: Halftone
  632. {
  633. *rcNameID: =HALFTONING_DISPLAY
  634. *DefaultOption: HT_PATSIZE_AUTO
  635. *Option: HT_PATSIZE_AUTO
  636. {
  637. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  638. }
  639. *Option: HT_PATSIZE_SUPERCELL_M
  640. {
  641. *rcNameID: =HT_SUPERCELL_DISPLAY
  642. }
  643. *Option: HT_PATSIZE_6x6_M
  644. {
  645. *rcNameID: =HT_DITHER6X6_DISPLAY
  646. }
  647. *Option: HT_PATSIZE_8x8_M
  648. {
  649. *rcNameID: =HT_DITHER8X8_DISPLAY
  650. }
  651. }
  652. *%------------------
  653. *%- StartJob -
  654. *%------------------
  655. *Command: CmdStartJob *%Add Command
  656. {
  657. *Order: JOB_SETUP.1
  658. *Cmd: "<18><0F><1B>$<1B>M<1B>2<1B>/136<1B>f<1B>s0<1B>l-<1B>h0<1C>A"
  659. }
  660. *%------------------
  661. *%- StartDoc -
  662. *%------------------
  663. *Command: CmdStartDoc *%Change command
  664. {
  665. *Order: DOC_SETUP.1
  666. *Cmd: "<1B>H<1B><22><1B>Y<1B>L000<1B>A<1B>e11<1B>O0"
  667. }
  668. *%-------------------
  669. *%- StartPage -
  670. *%-------------------
  671. *switch: InputBin
  672. {
  673. *case: Option1 *% SheetGuide
  674. {
  675. *Command: CmdStartPage
  676. {
  677. *Order: PAGE_SETUP.1
  678. *Cmd: "<0D><1B>H<FF><0D>"
  679. }
  680. }
  681. *case: Option2 *% SheetFeeder
  682. {
  683. *Command: CmdStartPage
  684. {
  685. *Order: PAGE_SETUP.1
  686. *Cmd: "<0D><1B>a"
  687. }
  688. }
  689. *case: Option3 *% TractorFeeder
  690. {
  691. *Command: CmdStartPage
  692. {
  693. *Order: PAGE_SETUP.1
  694. *Cmd: "<0D><1B>H<FF><0D>"
  695. }
  696. }
  697. }
  698. *%-----------------
  699. *%- EndPage -
  700. *%-----------------
  701. *switch: InputBin
  702. {
  703. *case: Option1
  704. {
  705. *EjectPageWithFF?: TRUE
  706. }
  707. *case: Option2
  708. {
  709. *EjectPageWithFF?: FALSE
  710. *Command: CmdEndPage
  711. {
  712. *Order: PAGE_FINISH.1
  713. *Cmd: "<1B>b"
  714. }
  715. }
  716. *case: Option3
  717. {
  718. *EjectPageWithFF?: TRUE
  719. }
  720. }
  721. *%------------------------
  722. *%- Font Available -
  723. *%------------------------
  724. *RotateCoordinate?: FALSE
  725. *RotateRaster?: FALSE
  726. *RotateFont?: FALSE
  727. *switch: Orientation
  728. {
  729. *case: PORTRAIT
  730. {
  731. *TextCaps: LIST(TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  732. }
  733. *case: LANDSCAPE_CC270
  734. {
  735. *TextCaps: LIST(TC_RA_ABLE)
  736. }
  737. }
  738. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
  739. *%--------------------
  740. *%- CursorMove -
  741. *%--------------------
  742. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  743. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  744. *MaxLineSpacing: 396
  745. *XMoveThreshold: 0
  746. *XMoveUnit: 160
  747. *AbsXMovesRightOnly?: TRUE
  748. *% 136 keta x 16 dot(=CharWidth)
  749. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2176]{max_repeat((DestX / 3) )} }
  750. *LineSpacingMoveUnit: 120
  751. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  752. *Command: CmdCR { *Cmd : "<0D>" }
  753. *Command: CmdLF { *Cmd : "<0A>" }
  754. *Command: CmdFF { *Cmd : "<0D0C>" }
  755. *Command: CmdBackSpace { *Cmd : "<08>" }
  756. *OutputDataFormat: V_BYTE
  757. *OptimizeLeftBound?: FALSE
  758. *CursorXAfterSendBlockData: AT_GRXDATA_END
  759. *CursorYAfterSendBlockData: NO_MOVE
  760. *MirrorRasterByte?: TRUE
  761. *%-----------------------
  762. *%- PrinterFonts -
  763. *%-----------------------
  764. *DefaultFont: 2
  765. *DefaultCTT: 1
  766. *switch: Orientation
  767. {
  768. *case: PORTRAIT
  769. {
  770. *DeviceFonts: LIST(2,10,57,58,59,60,61,62,63)
  771. }
  772. *case: LANDSCAPE_CC270
  773. {
  774. *DeviceFonts: LIST()
  775. }
  776. }
  777. *Command: CmdBoldOn { *Cmd : "<1B><21>" }
  778. *Command: CmdBoldOff { *Cmd : "<1B><22>" }
  779. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  780. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }