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.

867 lines
23 KiB

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