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.

1259 lines
36 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR201/63"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc21jres.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *PrintRateUnit: CPS
  9. *PrintRate: 94
  10. *GPDFileName: "NC2163J.GPD"
  11. *Include: "STDNAMES.GPD"
  12. *GPDFileVersion: "1.000"
  13. *HelpFile: "nc21jres.hlp"
  14. *% *Macros: HelpIDs
  15. *% {
  16. *% PAPER SETTING */
  17. *% POP_21_PAPSET :2150
  18. *% PRINT QUALITIES */
  19. *% POP_21_PQUALITIESNEW :2167
  20. *% }
  21. *%----------------------------
  22. *%- Installable Option -
  23. *%----------------------------
  24. *rcInstalledOptionNameID: 290
  25. *rcNotInstalledOptionNameID: 291
  26. *%---------------------
  27. *%- Orientation -
  28. *%---------------------
  29. *Feature: Orientation
  30. {
  31. *rcNameID: =ORIENTATION_DISPLAY
  32. *DefaultOption: PORTRAIT
  33. *Option: PORTRAIT
  34. {
  35. *rcNameID: =PORTRAIT_DISPLAY
  36. }
  37. *Option: LANDSCAPE_CC270
  38. {
  39. *rcNameID: =LANDSCAPE_DISPLAY
  40. }
  41. }
  42. *%-------------------
  43. *%- InputBins -
  44. *%-------------------
  45. *Feature: InputBin
  46. {
  47. *rcNameID: =PAPER_SOURCE_DISPLAY
  48. *DefaultOption: Option1
  49. *Option: Option1 *%SheetGuide
  50. {
  51. *rcNameID: 260
  52. }
  53. *Option: Option2 *%SheetFeeder
  54. {
  55. *rcNameID: 261
  56. *Installable?: TRUE
  57. *rcInstallableFeatureNameID: 261
  58. *Command: CmdSelect
  59. {
  60. *Order: DOC_SETUP.3
  61. *Cmd: "<1C>fPC1."
  62. }
  63. }
  64. *Option: Option3 *%DoubleBinSheetFeederHopper1
  65. {
  66. *rcNameID: 262
  67. *Installable?: TRUE
  68. *rcInstallableFeatureNameID: 262
  69. *Command: CmdSelect
  70. {
  71. *Order: DOC_SETUP.3
  72. *Cmd: "<1C>fPC1."
  73. }
  74. }
  75. *Option: Option4 *%DoubleBinSheetFeederHopper2
  76. {
  77. *rcNameID: 263
  78. *Installable?: TRUE
  79. *rcInstallableFeatureNameID: 263
  80. *Command: CmdSelect
  81. {
  82. *Order: DOC_SETUP.3
  83. *Cmd: "<1C>fPC2."
  84. }
  85. }
  86. *Option: Option5 *%PushTractor
  87. {
  88. *rcNameID: 266
  89. }
  90. *Option: Option6 *%TractorFeeder
  91. {
  92. *rcNameID: 265
  93. *Installable?: TRUE
  94. *rcInstallableFeatureNameID: 265
  95. }
  96. }
  97. *%---------------------------------------------------
  98. *%- InvalidInstallableCombination of InputBins -
  99. *%---------------------------------------------------
  100. *%Sheet Feeder - Double Bin Sheet Feeder - Tractor Feeder can not install together
  101. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option6) *%SF - TF
  102. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option3) *%SF - DBSFH1
  103. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option4) *%SF - DBSFH2
  104. *InvalidInstallableCombination: LIST(InputBin.Option3, InputBin.Option6) *%DBSFH1 - TF
  105. *InvalidInstallableCombination: LIST(InputBin.Option4, InputBin.Option6) *%DBSFH2 - TF
  106. *%--------------------
  107. *%- Resolution -
  108. *%--------------------
  109. *Feature: Resolution
  110. {
  111. *rcNameID: =RESOLUTION_DISPLAY
  112. *DefaultOption: Option1
  113. *Option: Option1
  114. {
  115. *Name: "160 x 160 dots per inch"
  116. *DPI: PAIR(160, 160)
  117. *TextDPI: PAIR(160, 160)
  118. *PinsPerLogPass: 24
  119. *PinsPerPhysPass: 24
  120. *MinStripBlankPixels: 120
  121. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  122. *SpotDiameter: 120
  123. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.5
  127. *Cmd: "<1B>C0"
  128. }
  129. }
  130. }
  131. *%--------------------
  132. *%- PaperSizes -
  133. *%--------------------
  134. *Feature: PaperSize
  135. {
  136. *rcNameID: =PAPER_SIZE_DISPLAY
  137. *DefaultOption: A4
  138. *Option: A4
  139. {
  140. *rcNameID: =A4_DISPLAY
  141. *switch: PaperSetting
  142. {
  143. *case: Option1 *% Set Center
  144. {
  145. *Command: CmdSelect
  146. {
  147. *Order: DOC_SETUP.4
  148. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 80) + 15}
  149. }
  150. }
  151. *case: Option2 *% Set Left
  152. {
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.4
  156. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  157. }
  158. }
  159. }
  160. *switch: InputBin
  161. {
  162. *case: Option1
  163. {
  164. *PrintableArea: PAIR(3538, 4651)
  165. *PrintableOrigin: PAIR(216, 408)
  166. *switch: Resolution
  167. {
  168. *case: Option1
  169. {
  170. *PrintableArea: PAIR(3537, 4650)
  171. }
  172. }
  173. }
  174. *case: Option2
  175. {
  176. *PrintableArea: PAIR(3538, 5305)
  177. *PrintableOrigin: PAIR(216, 117)
  178. *switch: Resolution
  179. {
  180. *case: Option1
  181. {
  182. *PrintableArea: PAIR(3537, 5304)
  183. }
  184. }
  185. }
  186. *case: Option3
  187. {
  188. *PrintableArea: PAIR(3538, 5305)
  189. *PrintableOrigin: PAIR(216, 117)
  190. *switch: Resolution
  191. {
  192. *case: Option1
  193. {
  194. *PrintableArea: PAIR(3537, 5304)
  195. }
  196. }
  197. }
  198. *case: Option4
  199. {
  200. *PrintableArea: PAIR(3538, 5305)
  201. *PrintableOrigin: PAIR(216, 117)
  202. *switch: Resolution
  203. {
  204. *case: Option1
  205. {
  206. *PrintableArea: PAIR(3537, 5304)
  207. }
  208. }
  209. }
  210. }
  211. }
  212. *Option: A4_ROTATED
  213. {
  214. *rcNameID: =A4_ROTATED_DISPLAY
  215. *switch: PaperSetting
  216. {
  217. *case: Option1 *% Set Center
  218. {
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.4
  222. *Cmd: "<1B>H<1B>L014" %v{(PhysPaperLength / 80) + 15}
  223. }
  224. }
  225. *case: Option2 *% Set Left
  226. {
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.4
  230. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  231. }
  232. }
  233. }
  234. *switch: InputBin
  235. {
  236. *case: Option1
  237. {
  238. *PrintableArea: PAIR(5179, 3010)
  239. *PrintableOrigin: PAIR(216, 408)
  240. *switch: Resolution
  241. {
  242. *case: Option1
  243. {
  244. *PrintableArea: PAIR(5178, 3009)
  245. }
  246. }
  247. }
  248. *case: Option2
  249. {
  250. *PrintableArea: PAIR(5179, 3664)
  251. *PrintableOrigin: PAIR(216, 117)
  252. *switch: Resolution
  253. {
  254. *case: Option1
  255. {
  256. *PrintableArea: PAIR(5178, 3663)
  257. }
  258. }
  259. }
  260. *case: Option3
  261. {
  262. *PrintableArea: PAIR(5179, 3664)
  263. *PrintableOrigin: PAIR(216, 117)
  264. *switch: Resolution
  265. {
  266. *case: Option1
  267. {
  268. *PrintableArea: PAIR(5178, 3663)
  269. }
  270. }
  271. }
  272. *case: Option4
  273. {
  274. *PrintableArea: PAIR(5179, 3664)
  275. *PrintableOrigin: PAIR(216, 117)
  276. *switch: Resolution
  277. {
  278. *case: Option1
  279. {
  280. *PrintableArea: PAIR(5178, 3663)
  281. }
  282. }
  283. }
  284. }
  285. }
  286. *Option: A5
  287. {
  288. *rcNameID: =A5_DISPLAY
  289. *switch: PaperSetting
  290. {
  291. *case: Option1 *% Set Center
  292. {
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.4
  296. *Cmd: "<1B>H<1B>L043" %v{(PhysPaperLength / 80) + 15}
  297. }
  298. }
  299. *case: Option2 *% Set Left
  300. {
  301. *Command: CmdSelect
  302. {
  303. *Order: DOC_SETUP.4
  304. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  305. }
  306. }
  307. }
  308. *switch: InputBin
  309. {
  310. *case: Option1
  311. {
  312. *PrintableArea: PAIR(2366, 3010)
  313. *PrintableOrigin: PAIR(216, 408)
  314. *switch: Resolution
  315. {
  316. *case: Option1
  317. {
  318. *PrintableArea: PAIR(2364, 3009)
  319. }
  320. }
  321. }
  322. *case: Option2
  323. {
  324. *PrintableArea: PAIR(2366, 3664)
  325. *PrintableOrigin: PAIR(216, 117)
  326. *switch: Resolution
  327. {
  328. *case: Option1
  329. {
  330. *PrintableArea: PAIR(2364, 3663)
  331. }
  332. }
  333. }
  334. *case: Option3
  335. {
  336. *PrintableArea: PAIR(2366, 3664)
  337. *PrintableOrigin: PAIR(216, 117)
  338. *switch: Resolution
  339. {
  340. *case: Option1
  341. {
  342. *PrintableArea: PAIR(2364, 3663)
  343. }
  344. }
  345. }
  346. *case: Option4
  347. {
  348. *PrintableArea: PAIR(2366, 3664)
  349. *PrintableOrigin: PAIR(216, 117)
  350. *switch: Resolution
  351. {
  352. *case: Option1
  353. {
  354. *PrintableArea: PAIR(2364, 3663)
  355. }
  356. }
  357. }
  358. }
  359. }
  360. *Option: A5_ROTATED
  361. {
  362. *rcNameID: =A5_ROTATED_DISPLAY
  363. *switch: PaperSetting
  364. {
  365. *case: Option1 *% Set Center
  366. {
  367. *Command: CmdSelect
  368. {
  369. *Order: DOC_SETUP.4
  370. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 80) + 15}
  371. }
  372. }
  373. *case: Option2 *% Set Left
  374. {
  375. *Command: CmdSelect
  376. {
  377. *Order: DOC_SETUP.4
  378. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  379. }
  380. }
  381. }
  382. *switch: InputBin
  383. {
  384. *case: Option1
  385. {
  386. *PrintableArea: PAIR(3538, 1838)
  387. *PrintableOrigin: PAIR(216, 408)
  388. *switch: Resolution
  389. {
  390. *case: Option1
  391. {
  392. *PrintableArea: PAIR(3537, 1836)
  393. }
  394. }
  395. }
  396. *case: Option2
  397. {
  398. *PrintableArea: PAIR(3538, 2492)
  399. *PrintableOrigin: PAIR(216, 117)
  400. *switch: Resolution
  401. {
  402. *case: Option1
  403. {
  404. *PrintableArea: PAIR(3537, 2490)
  405. }
  406. }
  407. }
  408. *case: Option3
  409. {
  410. *PrintableArea: PAIR(3538, 2492)
  411. *PrintableOrigin: PAIR(216, 117)
  412. *switch: Resolution
  413. {
  414. *case: Option1
  415. {
  416. *PrintableArea: PAIR(3537, 2490)
  417. }
  418. }
  419. }
  420. }
  421. }
  422. *Option: B4
  423. {
  424. *rcNameID: =B4_DISPLAY
  425. *switch: PaperSetting
  426. {
  427. *case: Option1 *% Set Center
  428. {
  429. *Command: CmdSelect
  430. {
  431. *Order: DOC_SETUP.4
  432. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  433. }
  434. }
  435. *case: Option2 *% Set Left
  436. {
  437. *Command: CmdSelect
  438. {
  439. *Order: DOC_SETUP.4
  440. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  441. }
  442. }
  443. }
  444. *switch: InputBin
  445. {
  446. *case: Option1
  447. {
  448. *PrintableArea: PAIR(4426, 5918)
  449. *PrintableOrigin: PAIR(216, 408)
  450. *switch: Resolution
  451. {
  452. *case: Option1
  453. {
  454. *PrintableArea: PAIR(4425, 5916)
  455. }
  456. }
  457. }
  458. *case: Option2
  459. {
  460. *PrintableArea: PAIR(4426, 6572)
  461. *PrintableOrigin: PAIR(216, 117)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *PrintableArea: PAIR(4425, 6570)
  467. }
  468. }
  469. }
  470. *case: Option3
  471. {
  472. *PrintableArea: PAIR(4426, 6572)
  473. *PrintableOrigin: PAIR(216, 117)
  474. *switch: Resolution
  475. {
  476. *case: Option1
  477. {
  478. *PrintableArea: PAIR(4425, 6570)
  479. }
  480. }
  481. }
  482. *case: Option4
  483. {
  484. *PrintableArea: PAIR(4426, 6572)
  485. *PrintableOrigin: PAIR(216, 117)
  486. *switch: Resolution
  487. {
  488. *case: Option1
  489. {
  490. *PrintableArea: PAIR(4425, 6570)
  491. }
  492. }
  493. }
  494. }
  495. }
  496. *Option: B4_JIS_ROTATED
  497. {
  498. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  499. *Command: CmdSelect
  500. {
  501. *Order: DOC_SETUP.4
  502. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  503. }
  504. *switch: InputBin
  505. {
  506. *case: Option1
  507. {
  508. *PrintableArea: PAIR(6446, 3898)
  509. *PrintableOrigin: PAIR(216, 408)
  510. *switch: Resolution
  511. {
  512. *case: Option1
  513. {
  514. *PrintableArea: PAIR(6444, 3897)
  515. }
  516. }
  517. }
  518. *case: Option2
  519. {
  520. *PrintableArea: PAIR(6446, 4552)
  521. *PrintableOrigin: PAIR(216, 117)
  522. *switch: Resolution
  523. {
  524. *case: Option1
  525. {
  526. *PrintableArea: PAIR(6444, 4551)
  527. }
  528. }
  529. }
  530. *case: Option3
  531. {
  532. *PrintableArea: PAIR(6446, 4552)
  533. *PrintableOrigin: PAIR(216, 117)
  534. *switch: Resolution
  535. {
  536. *case: Option1
  537. {
  538. *PrintableArea: PAIR(6444, 4551)
  539. }
  540. }
  541. }
  542. *case: Option4
  543. {
  544. *PrintableArea: PAIR(6446, 4552)
  545. *PrintableOrigin: PAIR(216, 117)
  546. *switch: Resolution
  547. {
  548. *case: Option1
  549. {
  550. *PrintableArea: PAIR(6444, 4551)
  551. }
  552. }
  553. }
  554. }
  555. }
  556. *Option: B5
  557. {
  558. *rcNameID: =B5_DISPLAY
  559. *switch: PaperSetting
  560. {
  561. *case: Option1 *% Set Center
  562. {
  563. *Command: CmdSelect
  564. {
  565. *Order: DOC_SETUP.4
  566. *Cmd: "<1B>H<1B>L037" %v{(PhysPaperLength / 80) + 15}
  567. }
  568. }
  569. *case: Option2 *% Set Left
  570. {
  571. *Command: CmdSelect
  572. {
  573. *Order: DOC_SETUP.4
  574. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  575. }
  576. }
  577. }
  578. *switch: InputBin
  579. {
  580. *case: Option1
  581. {
  582. *PrintableArea: PAIR(3010, 3898)
  583. *PrintableOrigin: PAIR(216, 408)
  584. *switch: Resolution
  585. {
  586. *case: Option1
  587. {
  588. *PrintableArea: PAIR(3009, 3897)
  589. }
  590. }
  591. }
  592. *case: Option2
  593. {
  594. *PrintableArea: PAIR(3010, 4552)
  595. *PrintableOrigin: PAIR(216, 117)
  596. *switch: Resolution
  597. {
  598. *case: Option1
  599. {
  600. *PrintableArea: PAIR(3009, 4551)
  601. }
  602. }
  603. }
  604. *case: Option3
  605. {
  606. *PrintableArea: PAIR(3010, 4552)
  607. *PrintableOrigin: PAIR(216, 117)
  608. *switch: Resolution
  609. {
  610. *case: Option1
  611. {
  612. *PrintableArea: PAIR(3009, 4551)
  613. }
  614. }
  615. }
  616. *case: Option4
  617. {
  618. *PrintableArea: PAIR(3010, 4552)
  619. *PrintableOrigin: PAIR(216, 117)
  620. *switch: Resolution
  621. {
  622. *case: Option1
  623. {
  624. *PrintableArea: PAIR(3009, 4551)
  625. }
  626. }
  627. }
  628. }
  629. }
  630. *Option: B5_JIS_ROTATED
  631. {
  632. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  633. *switch: PaperSetting
  634. {
  635. *case: Option1 *% Set Center
  636. {
  637. *Command: CmdSelect
  638. {
  639. *Order: DOC_SETUP.4
  640. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  641. }
  642. }
  643. *case: Option2 *% Set Left
  644. {
  645. *Command: CmdSelect
  646. {
  647. *Order: DOC_SETUP.4
  648. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  649. }
  650. }
  651. }
  652. *switch: InputBin
  653. {
  654. *case: Option1
  655. {
  656. *PrintableArea: PAIR(4426, 2482)
  657. *PrintableOrigin: PAIR(216, 408)
  658. *switch: Resolution
  659. {
  660. *case: Option1
  661. {
  662. *PrintableArea: PAIR(4425, 2481)
  663. }
  664. }
  665. }
  666. *case: Option2
  667. {
  668. *PrintableArea: PAIR(4426, 3136)
  669. *PrintableOrigin: PAIR(216, 117)
  670. *switch: Resolution
  671. {
  672. *case: Option1
  673. {
  674. *PrintableArea: PAIR(4425, 3135)
  675. }
  676. }
  677. }
  678. *case: Option3
  679. {
  680. *PrintableArea: PAIR(4426, 3136)
  681. *PrintableOrigin: PAIR(216, 117)
  682. *switch: Resolution
  683. {
  684. *case: Option1
  685. {
  686. *PrintableArea: PAIR(4425, 3135)
  687. }
  688. }
  689. }
  690. }
  691. }
  692. *Option: JAPANESE_POSTCARD
  693. {
  694. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  695. *switch: PaperSetting
  696. {
  697. *case: Option1 *% Set Center
  698. {
  699. *Command: CmdSelect
  700. {
  701. *Order: DOC_SETUP.4
  702. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 80) + 15}
  703. }
  704. }
  705. *case: Option2 *% Set Left
  706. {
  707. *Command: CmdSelect
  708. {
  709. *Order: DOC_SETUP.4
  710. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  711. }
  712. }
  713. }
  714. *PrintableArea: PAIR(1480, 2312)
  715. *PrintableOrigin: PAIR(216, 183)
  716. *switch: Resolution
  717. {
  718. *case: Option1
  719. {
  720. *PrintableArea: PAIR(1479, 2310)
  721. }
  722. }
  723. }
  724. *Option: JAPANESE_POSTCARD_ROTATED
  725. {
  726. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  727. *switch: PaperSetting
  728. {
  729. *case: Option1 *% Set Center
  730. {
  731. *Command: CmdSelect
  732. {
  733. *Order: DOC_SETUP.4
  734. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 80) + 15}
  735. }
  736. }
  737. *case: Option2 *% Set Left
  738. {
  739. *Command: CmdSelect
  740. {
  741. *Order: DOC_SETUP.4
  742. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  743. }
  744. }
  745. }
  746. *PrintableArea: PAIR(2387, 1405)
  747. *PrintableOrigin: PAIR(216, 183)
  748. *switch: Resolution
  749. {
  750. *case: Option1
  751. {
  752. *PrintableArea: PAIR(2385, 1404)
  753. }
  754. }
  755. }
  756. *Option: 10X11
  757. {
  758. *rcNameID: =10X11_DISPLAY
  759. *switch: PaperSetting
  760. {
  761. *case: Option1 *% Set Center
  762. {
  763. *Command: CmdSelect
  764. {
  765. *Order: DOC_SETUP.4
  766. *Cmd: "<1B>H<1B>L023" %v{(PhysPaperLength / 80) }
  767. }
  768. }
  769. *case: Option2 *% Set Left
  770. {
  771. *Command: CmdSelect
  772. {
  773. *Order: DOC_SETUP.4
  774. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  775. }
  776. }
  777. }
  778. *PrintableArea: PAIR(4320, 4392)
  779. *PrintableOrigin: PAIR(240, 444)
  780. }
  781. *Option: 15X11
  782. {
  783. *rcNameID: =15X11_DISPLAY
  784. *Command: CmdSelect
  785. {
  786. *Order: DOC_SETUP.4
  787. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  788. }
  789. *PrintableArea: PAIR(6528, 4392)
  790. *PrintableOrigin: PAIR(336, 444)
  791. }
  792. *Option: CUSTOMSIZE
  793. {
  794. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  795. *MinSize: PAIR(960, 960) *% 2' x 2'
  796. *MaxSize: PAIR(7680, 10224) *% Size 16'x 21.3'
  797. *MaxPrintableWidth: 6528 *% 136 keta
  798. *MinLeftMargin: 0
  799. *CenterPrintable?: FALSE *% Not use Center huriwake
  800. *Constraints: PaperSetting.Option1 *% Not available Setting Center
  801. *switch: InputBin
  802. {
  803. *case: Option1
  804. {
  805. *CustCursorOriginX: %d{0}
  806. *CustCursorOriginY: %d{408}
  807. *CustPrintableOriginX: %d{0}
  808. *CustPrintableOriginY: %d{408}
  809. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  810. *CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
  811. }
  812. *case: Option2
  813. {
  814. *CustCursorOriginX: %d{0}
  815. *CustCursorOriginY: %d{117}
  816. *CustPrintableOriginX: %d{0}
  817. *CustPrintableOriginY: %d{117}
  818. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  819. *CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
  820. }
  821. *case: Option3
  822. {
  823. *CustCursorOriginX: %d{0}
  824. *CustCursorOriginY: %d{0}
  825. *CustPrintableOriginX: %d{0}
  826. *CustPrintableOriginY: %d{0}
  827. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  828. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  829. }
  830. *case: Option4
  831. {
  832. *CustCursorOriginX: %d{0}
  833. *CustCursorOriginY: %d{0}
  834. *CustPrintableOriginX: %d{0}
  835. *CustPrintableOriginY: %d{0}
  836. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  837. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  838. }
  839. }
  840. *Command: CmdSelect
  841. {
  842. *Order: DOC_SETUP.4
  843. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  844. }
  845. }
  846. }
  847. *%--------------------------------
  848. *%- InstallableCombination -
  849. *%--------------------------------
  850. *InvalidCombination: LIST(InputBin.Option1, PaperSize.10X11)
  851. *InvalidCombination: LIST(InputBin.Option1, PaperSize.15X11)
  852. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  853. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  854. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  855. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  856. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5_ROTATED)
  857. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5_JIS_ROTATED)
  858. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD)
  859. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD_ROTATED)
  860. *InvalidCombination: LIST(InputBin.Option4, PaperSize.10X11)
  861. *InvalidCombination: LIST(InputBin.Option4, PaperSize.15X11)
  862. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4)
  863. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4_ROTATED)
  864. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5)
  865. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5_ROTATED)
  866. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4)
  867. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4_JIS_ROTATED)
  868. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5)
  869. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5_JIS_ROTATED)
  870. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD)
  871. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD_ROTATED)
  872. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A4)
  873. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A4_ROTATED)
  874. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A5)
  875. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A5_ROTATED)
  876. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B4)
  877. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B4_JIS_ROTATED)
  878. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B5)
  879. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B5_JIS_ROTATED)
  880. *InvalidCombination: LIST(InputBin.Option6, PaperSize.JAPANESE_POSTCARD)
  881. *InvalidCombination: LIST(InputBin.Option6, PaperSize.JAPANESE_POSTCARD_ROTATED)
  882. *%----------------------
  883. *%- PaperSetting -
  884. *%----------------------
  885. *Feature: PaperSetting *%Custom Feature: change Paper set Position
  886. {
  887. *rcNameID: 300
  888. *DefaultOption: Option1
  889. *HelpIndex: 2150
  890. *Option: Option1
  891. {
  892. *rcNameID: 258
  893. }
  894. *Option: Option2
  895. {
  896. *rcNameID: 259
  897. }
  898. }
  899. *%------------------------
  900. *%- PrintQualities -
  901. *%------------------------
  902. *Feature: PrintQuality *%Custom Feature: Draft ari/nashi insatsu houkou
  903. {
  904. *rcNameID: =TEXT_QUALITY_DISPLAY
  905. *DefaultOption: Option2
  906. *HelpIndex: 2167
  907. *Option: Option1 *% Standard & KATA-Houkou
  908. {
  909. *rcNameID: 270
  910. *Command: CmdSelect
  911. {
  912. *Order: DOC_SETUP.2
  913. *Cmd: "<1B>d1<1B><3E>"
  914. }
  915. }
  916. *Option: Option2 *% Standard & RYOU-Houkou
  917. {
  918. *rcNameID: 271
  919. *Command: CmdSelect
  920. {
  921. *Order: DOC_SETUP.2
  922. *Cmd: "<1B>d1<1B>]"
  923. }
  924. }
  925. *Option: Option3 *% Draft & KATA-Houkou
  926. {
  927. *rcNameID: 272
  928. *Command: CmdSelect
  929. {
  930. *Order: DOC_SETUP.2
  931. *Cmd: "<1B>d0<1B><3E>"
  932. }
  933. }
  934. *Option: Option4 *% Draft & RYOU-Houkou
  935. {
  936. *rcNameID: 273
  937. *Command: CmdSelect
  938. {
  939. *Order: DOC_SETUP.2
  940. *Cmd: "<1B>d0<1B>]"
  941. }
  942. }
  943. }
  944. *%-------------------------------
  945. *%- TextHalftoneThreshold -
  946. *%-------------------------------
  947. *Feature: TextHalftoneThreshold
  948. {
  949. *rcNameID: =TEXTHALFTONE_DISPLAY
  950. *DefaultOption: Option1
  951. *HelpIndex: 2180
  952. *Option: NONE
  953. {
  954. *rcNameID: =NONE_DISPLAY
  955. }
  956. *Option: Option1
  957. {
  958. *Name: "160"
  959. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  960. }
  961. }
  962. *%-------------------
  963. *%- ColorMode -
  964. *%-------------------
  965. *Feature: ColorMode
  966. {
  967. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  968. *DefaultOption: Color
  969. *Option: Mono
  970. {
  971. *rcNameID: =MONO_DISPLAY
  972. *DevNumOfPlanes: 1
  973. *DevBPP: 1
  974. *Color? : FALSE
  975. }
  976. *Option: Color
  977. {
  978. *rcNameID: =COLOR_DISPLAY
  979. *DevNumOfPlanes: 4
  980. *DevBPP: 1
  981. *DrvBPP: 4
  982. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  983. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  984. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  985. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  986. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  987. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  988. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  989. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  990. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  991. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  992. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  993. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  994. *Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
  995. }
  996. }
  997. *%------------------
  998. *%- Halftone -
  999. *%------------------
  1000. *Feature: Halftone
  1001. {
  1002. *rcNameID: =HALFTONING_DISPLAY
  1003. *DefaultOption: HT_PATSIZE_AUTO
  1004. *Option: HT_PATSIZE_AUTO
  1005. {
  1006. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1007. }
  1008. *Option: HT_PATSIZE_SUPERCELL_M
  1009. {
  1010. *rcNameID: =HT_SUPERCELL_DISPLAY
  1011. }
  1012. *Option: HT_PATSIZE_6x6_M
  1013. {
  1014. *rcNameID: =HT_DITHER6X6_DISPLAY
  1015. }
  1016. *Option: HT_PATSIZE_8x8_M
  1017. {
  1018. *rcNameID: =HT_DITHER8X8_DISPLAY
  1019. }
  1020. }
  1021. *%------------------
  1022. *%- StartJob -
  1023. *%------------------
  1024. *Command: CmdStartJob *%Add Command
  1025. {
  1026. *Order: JOB_SETUP.1
  1027. *Cmd: "<18><0F><1B>$<1B>M<1B>2<1B>/136<1B>f<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>h0<1C>A"
  1028. }
  1029. *%------------------
  1030. *%- StartDoc -
  1031. *%------------------
  1032. *Command: CmdStartDoc *%Change command
  1033. {
  1034. *Order: DOC_SETUP.1
  1035. *Cmd: "<1B>H<1B><22><1B>Y<1B>L000<1B>A<1B>e11<1B>O0<1C>c,,0."
  1036. }
  1037. *%-------------------
  1038. *%- StartPage -
  1039. *%-------------------
  1040. *switch: InputBin
  1041. {
  1042. *case: Option1 *% SheetGuide
  1043. {
  1044. *Command: CmdStartPage
  1045. {
  1046. *Order: PAGE_SETUP.1
  1047. *Cmd: "<0D><1B>H<FF><0D>"
  1048. }
  1049. }
  1050. *case: Option2 *% SheetFeeder
  1051. {
  1052. *Command: CmdStartPage
  1053. {
  1054. *Order: PAGE_SETUP.1
  1055. *Cmd: "<0D><1B>a"
  1056. }
  1057. }
  1058. *case: Option3 *% DoubleBinSheetFeederHopper1
  1059. {
  1060. *Command: CmdStartPage
  1061. {
  1062. *Order: PAGE_SETUP.1
  1063. *Cmd: "<0D><1B>a"
  1064. }
  1065. }
  1066. *case: Option4 *% DoubleBinSheetFeederHopper2
  1067. {
  1068. *Command: CmdStartPage
  1069. {
  1070. *Order: PAGE_SETUP.1
  1071. *Cmd: "<0D><1B>a"
  1072. }
  1073. }
  1074. *case: Option5 *% PushTractor
  1075. {
  1076. *Command: CmdStartPage
  1077. {
  1078. *Order: PAGE_SETUP.1
  1079. *Cmd: "<0D><1B>H<FF><0D>"
  1080. }
  1081. }
  1082. *case: Option6 *% TractorFeeder
  1083. {
  1084. *Command: CmdStartPage
  1085. {
  1086. *Order: PAGE_SETUP.1
  1087. *Cmd: "<0D><1B>H<FF><0D>"
  1088. }
  1089. }
  1090. }
  1091. *%-----------------
  1092. *%- EndPage -
  1093. *%-----------------
  1094. *switch: InputBin
  1095. {
  1096. *case: Option1 *% SheetGuide
  1097. {
  1098. *EjectPageWithFF?: TRUE
  1099. }
  1100. *case: Option2 *% SheetFeeder
  1101. {
  1102. *EjectPageWithFF?: FALSE
  1103. *Command: CmdEndPage
  1104. {
  1105. *Order: PAGE_FINISH.1
  1106. *Cmd: "<1B>b"
  1107. }
  1108. }
  1109. *case: Option3 *% DoubleBinSheetFeederHopper1
  1110. {
  1111. *EjectPageWithFF?: FALSE
  1112. *Command: CmdEndPage
  1113. {
  1114. *Order: PAGE_FINISH.1
  1115. *Cmd: "<1B>b"
  1116. }
  1117. }
  1118. *case: Option4 *% DoubleBinSheetFeederHopper2
  1119. {
  1120. *EjectPageWithFF?: FALSE
  1121. *Command: CmdEndPage
  1122. {
  1123. *Order: PAGE_FINISH.1
  1124. *Cmd: "<1B>b"
  1125. }
  1126. }
  1127. *case: Option5 *% PushTractor
  1128. {
  1129. *EjectPageWithFF?: TRUE
  1130. }
  1131. *case: Option6 *% TractorFeeder
  1132. {
  1133. *EjectPageWithFF?: TRUE
  1134. }
  1135. }
  1136. *%------------------------
  1137. *%- Font Available -
  1138. *%------------------------
  1139. *RotateCoordinate?: FALSE
  1140. *RotateRaster?: FALSE
  1141. *RotateFont?: FALSE
  1142. *switch: Orientation
  1143. {
  1144. *case: PORTRAIT
  1145. {
  1146. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1147. }
  1148. *case: LANDSCAPE_CC270
  1149. {
  1150. *TextCaps: LIST(TC_RA_ABLE)
  1151. }
  1152. }
  1153. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
  1154. *%--------------------
  1155. *%- CursorMove -
  1156. *%--------------------
  1157. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1158. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1159. *MaxLineSpacing: 396
  1160. *XMoveThreshold: 0
  1161. *XMoveUnit: 160
  1162. *AbsXMovesRightOnly?: TRUE
  1163. *% 136 keta x 16 dot(=CharWidth)
  1164. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2176]{max_repeat((DestX / 3) )} }
  1165. *LineSpacingMoveUnit: 120
  1166. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  1167. *Command: CmdCR { *Cmd : "<0D>" }
  1168. *Command: CmdLF { *Cmd : "<0A>" }
  1169. *Command: CmdFF { *Cmd : "<0D0C>" }
  1170. *Command: CmdBackSpace { *Cmd : "<08>" }
  1171. *OutputDataFormat: V_BYTE
  1172. *OptimizeLeftBound?: FALSE
  1173. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1174. *CursorYAfterSendBlockData: NO_MOVE
  1175. *%-----------------------
  1176. *%- PrinterFonts -
  1177. *%-----------------------
  1178. *DefaultFont: 1
  1179. *DefaultCTT: 1
  1180. *switch: Orientation
  1181. {
  1182. *case: PORTRAIT
  1183. {
  1184. *DeviceFonts: LIST(1,10,36,37,38,39,40,41,42,43,44,45,46,47,48,49,
  1185. + 50,51,52,53,54,55)
  1186. }
  1187. *case: LANDSCAPE_CC270
  1188. {
  1189. *DeviceFonts: LIST()
  1190. }
  1191. }
  1192. *FontCartridge: FC1
  1193. {
  1194. *rcCartridgeNameID: 276
  1195. *PortraitFonts: LIST(8,16)
  1196. *LandscapeFonts: LIST()
  1197. }
  1198. *FontCartridge: FC2
  1199. {
  1200. *rcCartridgeNameID: 277
  1201. *PortraitFonts: LIST(19,26)
  1202. *LandscapeFonts: LIST()
  1203. }
  1204. *FontCartridge: FC3
  1205. {
  1206. *rcCartridgeNameID: 278
  1207. *PortraitFonts: LIST(7,15)
  1208. *LandscapeFonts: LIST()
  1209. }
  1210. *FontCartridge: FC4
  1211. {
  1212. *rcCartridgeNameID: 279
  1213. *PortraitFonts: LIST(22,29)
  1214. *LandscapeFonts: LIST()
  1215. }
  1216. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  1217. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  1218. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  1219. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  1220. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  1221. *UseExpColorSelectCmd?: TRUE
  1222. *MoveToX0BeforeSetColor?: TRUE
  1223. *MirrorRasterByte?: TRUE