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.

868 lines
24 KiB

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