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.

862 lines
23 KiB

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