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.

1157 lines
32 KiB

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