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.

1211 lines
34 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR201/65A"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc21jres.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *PrintRateUnit: CPS
  9. *PrintRate: 98
  10. *GPDFileName: "NC2165AJ.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. *switch: InputBin
  283. {
  284. *case: Option1
  285. {
  286. *PrintableArea: PAIR(2366, 3010)
  287. *PrintableOrigin: PAIR(216, 408)
  288. *switch: Resolution
  289. {
  290. *case: Option1
  291. {
  292. *PrintableArea: PAIR(2364, 3009)
  293. }
  294. }
  295. }
  296. *case: Option2
  297. {
  298. *PrintableArea: PAIR(2366, 3664)
  299. *PrintableOrigin: PAIR(216, 117)
  300. *switch: Resolution
  301. {
  302. *case: Option1
  303. {
  304. *PrintableArea: PAIR(2364, 3663)
  305. }
  306. }
  307. }
  308. *case: Option3
  309. {
  310. *PrintableArea: PAIR(2366, 3664)
  311. *PrintableOrigin: PAIR(216, 117)
  312. *switch: Resolution
  313. {
  314. *case: Option1
  315. {
  316. *PrintableArea: PAIR(2364, 3663)
  317. }
  318. }
  319. }
  320. }
  321. }
  322. *Option: A5_ROTATED
  323. {
  324. *rcNameID: =A5_ROTATED_DISPLAY
  325. *switch: PaperSetting
  326. {
  327. *case: Option1 *% Set Center
  328. {
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.4
  332. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 80) + 15}
  333. }
  334. }
  335. *case: Option2 *% Set Left
  336. {
  337. *Command: CmdSelect
  338. {
  339. *Order: DOC_SETUP.4
  340. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  341. }
  342. }
  343. }
  344. *switch: InputBin
  345. {
  346. *case: Option1
  347. {
  348. *PrintableArea: PAIR(3538, 1838)
  349. *PrintableOrigin: PAIR(216, 408)
  350. *switch: Resolution
  351. {
  352. *case: Option1
  353. {
  354. *PrintableArea: PAIR(3537, 1836)
  355. }
  356. }
  357. }
  358. *case: Option2
  359. {
  360. *PrintableArea: PAIR(3538, 2492)
  361. *PrintableOrigin: PAIR(216, 117)
  362. *switch: Resolution
  363. {
  364. *case: Option1
  365. {
  366. *PrintableArea: PAIR(3537, 2490)
  367. }
  368. }
  369. }
  370. *case: Option3
  371. {
  372. *PrintableArea: PAIR(3538, 2492)
  373. *PrintableOrigin: PAIR(216, 117)
  374. *switch: Resolution
  375. {
  376. *case: Option1
  377. {
  378. *PrintableArea: PAIR(3537, 2490)
  379. }
  380. }
  381. }
  382. }
  383. }
  384. *Option: B4
  385. {
  386. *rcNameID: =B4_DISPLAY
  387. *switch: PaperSetting
  388. {
  389. *case: Option1 *% Set Center
  390. {
  391. *Command: CmdSelect
  392. {
  393. *Order: DOC_SETUP.4
  394. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  395. }
  396. }
  397. *case: Option2 *% Set Left
  398. {
  399. *Command: CmdSelect
  400. {
  401. *Order: DOC_SETUP.4
  402. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  403. }
  404. }
  405. }
  406. *switch: InputBin
  407. {
  408. *case: Option1
  409. {
  410. *PrintableArea: PAIR(4426, 5918)
  411. *PrintableOrigin: PAIR(216, 408)
  412. *switch: Resolution
  413. {
  414. *case: Option1
  415. {
  416. *PrintableArea: PAIR(4425, 5916)
  417. }
  418. }
  419. }
  420. *case: Option2
  421. {
  422. *PrintableArea: PAIR(4426, 6572)
  423. *PrintableOrigin: PAIR(216, 117)
  424. *switch: Resolution
  425. {
  426. *case: Option1
  427. {
  428. *PrintableArea: PAIR(4425, 6570)
  429. }
  430. }
  431. }
  432. *case: Option3
  433. {
  434. *PrintableArea: PAIR(4426, 6572)
  435. *PrintableOrigin: PAIR(216, 117)
  436. *switch: Resolution
  437. {
  438. *case: Option1
  439. {
  440. *PrintableArea: PAIR(4425, 6570)
  441. }
  442. }
  443. }
  444. }
  445. }
  446. *Option: B4_JIS_ROTATED
  447. {
  448. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  449. *Command: CmdSelect
  450. {
  451. *Order: DOC_SETUP.4
  452. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  453. }
  454. *switch: InputBin
  455. {
  456. *case: Option1
  457. {
  458. *PrintableArea: PAIR(6446, 3898)
  459. *PrintableOrigin: PAIR(216, 408)
  460. *switch: Resolution
  461. {
  462. *case: Option1
  463. {
  464. *PrintableArea: PAIR(6444, 3897)
  465. }
  466. }
  467. }
  468. *case: Option2
  469. {
  470. *PrintableArea: PAIR(6446, 4552)
  471. *PrintableOrigin: PAIR(216, 117)
  472. *switch: Resolution
  473. {
  474. *case: Option1
  475. {
  476. *PrintableArea: PAIR(6444, 4551)
  477. }
  478. }
  479. }
  480. *case: Option3
  481. {
  482. *PrintableArea: PAIR(6446, 4552)
  483. *PrintableOrigin: PAIR(216, 117)
  484. *switch: Resolution
  485. {
  486. *case: Option1
  487. {
  488. *PrintableArea: PAIR(6444, 4551)
  489. }
  490. }
  491. }
  492. }
  493. }
  494. *Option: B5
  495. {
  496. *rcNameID: =B5_DISPLAY
  497. *switch: PaperSetting
  498. {
  499. *case: Option1 *% Set Center
  500. {
  501. *Command: CmdSelect
  502. {
  503. *Order: DOC_SETUP.4
  504. *Cmd: "<1B>H<1B>L037" %v{(PhysPaperLength / 80) + 15}
  505. }
  506. }
  507. *case: Option2 *% Set Left
  508. {
  509. *Command: CmdSelect
  510. {
  511. *Order: DOC_SETUP.4
  512. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  513. }
  514. }
  515. }
  516. *switch: InputBin
  517. {
  518. *case: Option1
  519. {
  520. *PrintableArea: PAIR(3010, 3898)
  521. *PrintableOrigin: PAIR(216, 408)
  522. *switch: Resolution
  523. {
  524. *case: Option1
  525. {
  526. *PrintableArea: PAIR(3009, 3897)
  527. }
  528. }
  529. }
  530. *case: Option2
  531. {
  532. *PrintableArea: PAIR(3010, 4552)
  533. *PrintableOrigin: PAIR(216, 117)
  534. *switch: Resolution
  535. {
  536. *case: Option1
  537. {
  538. *PrintableArea: PAIR(3009, 4551)
  539. }
  540. }
  541. }
  542. *case: Option3
  543. {
  544. *PrintableArea: PAIR(3010, 4552)
  545. *PrintableOrigin: PAIR(216, 117)
  546. *switch: Resolution
  547. {
  548. *case: Option1
  549. {
  550. *PrintableArea: PAIR(3009, 4551)
  551. }
  552. }
  553. }
  554. }
  555. }
  556. *Option: B5_JIS_ROTATED
  557. {
  558. *rcNameID: =B5_JIS_ROTATED_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>L022" %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(4426, 2482)
  583. *PrintableOrigin: PAIR(216, 408)
  584. *switch: Resolution
  585. {
  586. *case: Option1
  587. {
  588. *PrintableArea: PAIR(4425, 2481)
  589. }
  590. }
  591. }
  592. *case: Option2
  593. {
  594. *PrintableArea: PAIR(4426, 3136)
  595. *PrintableOrigin: PAIR(216, 117)
  596. *switch: Resolution
  597. {
  598. *case: Option1
  599. {
  600. *PrintableArea: PAIR(4425, 3135)
  601. }
  602. }
  603. }
  604. *case: Option3
  605. {
  606. *PrintableArea: PAIR(4426, 3136)
  607. *PrintableOrigin: PAIR(216, 117)
  608. *switch: Resolution
  609. {
  610. *case: Option1
  611. {
  612. *PrintableArea: PAIR(4425, 3135)
  613. }
  614. }
  615. }
  616. }
  617. }
  618. *Option: JAPANESE_POSTCARD
  619. {
  620. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  621. *switch: PaperSetting
  622. {
  623. *case: Option1 *% Set Center
  624. {
  625. *Command: CmdSelect
  626. {
  627. *Order: DOC_SETUP.4
  628. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 80) + 15}
  629. }
  630. }
  631. *case: Option2 *% Set Left
  632. {
  633. *Command: CmdSelect
  634. {
  635. *Order: DOC_SETUP.4
  636. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  637. }
  638. }
  639. }
  640. *PrintableArea: PAIR(1480, 2312)
  641. *PrintableOrigin: PAIR(216, 183)
  642. *switch: Resolution
  643. {
  644. *case: Option1
  645. {
  646. *PrintableArea: PAIR(1479, 2310)
  647. }
  648. }
  649. }
  650. *Option: JAPANESE_POSTCARD_ROTATED
  651. {
  652. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  653. *switch: PaperSetting
  654. {
  655. *case: Option1 *% Set Center
  656. {
  657. *Command: CmdSelect
  658. {
  659. *Order: DOC_SETUP.4
  660. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 80) + 15}
  661. }
  662. }
  663. *case: Option2 *% Set Left
  664. {
  665. *Command: CmdSelect
  666. {
  667. *Order: DOC_SETUP.4
  668. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  669. }
  670. }
  671. }
  672. *PrintableArea: PAIR(2387, 1405)
  673. *PrintableOrigin: PAIR(216, 183)
  674. *switch: Resolution
  675. {
  676. *case: Option1
  677. {
  678. *PrintableArea: PAIR(2385, 1404)
  679. }
  680. }
  681. }
  682. *Option: 10X11
  683. {
  684. *rcNameID: =10X11_DISPLAY
  685. *switch: PaperSetting
  686. {
  687. *case: Option1 *% Set Center
  688. {
  689. *Command: CmdSelect
  690. {
  691. *Order: DOC_SETUP.4
  692. *Cmd: "<1B>H<1B>L023" %v{(PhysPaperLength / 80) }
  693. }
  694. }
  695. *case: Option2 *% Set Left
  696. {
  697. *Command: CmdSelect
  698. {
  699. *Order: DOC_SETUP.4
  700. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  701. }
  702. }
  703. }
  704. *PrintableArea: PAIR(4320, 4392)
  705. *PrintableOrigin: PAIR(240, 444)
  706. }
  707. *Option: 15X11
  708. {
  709. *rcNameID: =15X11_DISPLAY
  710. *Command: CmdSelect
  711. {
  712. *Order: DOC_SETUP.4
  713. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  714. }
  715. *PrintableArea: PAIR(6528, 4392)
  716. *PrintableOrigin: PAIR(336, 444)
  717. }
  718. *Option: CUSTOMSIZE
  719. {
  720. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  721. *MinSize: PAIR(960, 960) *% 2' x 1'
  722. *MaxSize: PAIR(7680, 10224) *% Size 16'x 21.3'
  723. *MaxPrintableWidth: 6528 *% 136 keta
  724. *MinLeftMargin: 0
  725. *CenterPrintable?: FALSE *% Not use Center huriwake
  726. *Constraints: PaperSetting.Option1 *% Not available Setting Center
  727. *switch: InputBin
  728. {
  729. *case: Option1
  730. {
  731. *CustCursorOriginX: %d{0}
  732. *CustCursorOriginY: %d{408}
  733. *CustPrintableOriginX: %d{0}
  734. *CustPrintableOriginY: %d{408}
  735. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  736. *CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
  737. }
  738. *case: Option2
  739. {
  740. *CustCursorOriginX: %d{0}
  741. *CustCursorOriginY: %d{117}
  742. *CustPrintableOriginX: %d{0}
  743. *CustPrintableOriginY: %d{117}
  744. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  745. *CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
  746. }
  747. *case: Option3
  748. {
  749. *CustCursorOriginX: %d{0}
  750. *CustCursorOriginY: %d{117}
  751. *CustPrintableOriginX: %d{0}
  752. *CustPrintableOriginY: %d{117}
  753. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  754. *CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
  755. }
  756. *case: Option4
  757. {
  758. *CustCursorOriginX: %d{0}
  759. *CustCursorOriginY: %d{0}
  760. *CustPrintableOriginX: %d{0}
  761. *CustPrintableOriginY: %d{0}
  762. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  763. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  764. }
  765. *case: Option5
  766. {
  767. *CustCursorOriginX: %d{0}
  768. *CustCursorOriginY: %d{0}
  769. *CustPrintableOriginX: %d{0}
  770. *CustPrintableOriginY: %d{0}
  771. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  772. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  773. }
  774. *case: Option6
  775. {
  776. *CustCursorOriginX: %d{0}
  777. *CustCursorOriginY: %d{0}
  778. *CustPrintableOriginX: %d{0}
  779. *CustPrintableOriginY: %d{0}
  780. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  781. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  782. }
  783. }
  784. *Command: CmdSelect
  785. {
  786. *Order: DOC_SETUP.4
  787. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  788. }
  789. }
  790. }
  791. *%--------------------------------
  792. *%- InstallableCombination -
  793. *%--------------------------------
  794. *InvalidCombination: LIST(InputBin.Option1, PaperSize.10X11)
  795. *InvalidCombination: LIST(InputBin.Option1, PaperSize.15X11)
  796. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  797. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  798. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  799. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  800. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  801. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  802. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  803. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  804. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A4)
  805. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A4_ROTATED)
  806. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5)
  807. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5_ROTATED)
  808. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B4)
  809. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B4_JIS_ROTATED)
  810. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5)
  811. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5_JIS_ROTATED)
  812. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD)
  813. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD_ROTATED)
  814. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4)
  815. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4_ROTATED)
  816. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5)
  817. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5_ROTATED)
  818. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4)
  819. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4_JIS_ROTATED)
  820. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5)
  821. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5_JIS_ROTATED)
  822. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD)
  823. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD_ROTATED)
  824. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A4)
  825. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A4_ROTATED)
  826. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A5)
  827. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A5_ROTATED)
  828. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B4)
  829. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B4_JIS_ROTATED)
  830. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B5)
  831. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B5_JIS_ROTATED)
  832. *InvalidCombination: LIST(InputBin.Option6, PaperSize.10X11)
  833. *InvalidCombination: LIST(InputBin.Option6, PaperSize.15X11)
  834. *InvalidCombination: LIST(InputBin.Option6, PaperSize.CUSTOMSIZE)
  835. *%----------------------
  836. *%- PaperSetting -
  837. *%----------------------
  838. *Feature: PaperSetting *%Custom Feature: change Paper set Position
  839. {
  840. *rcNameID: 300
  841. *DefaultOption: Option1
  842. *HelpIndex: 2150
  843. *Option: Option1
  844. {
  845. *rcNameID: 258
  846. }
  847. *Option: Option2
  848. {
  849. *rcNameID: 259
  850. }
  851. }
  852. *%------------------------
  853. *%- PrintQualities -
  854. *%------------------------
  855. *Feature: PrintQuality *%Custom Feature: Draft ari/nashi insatsu houkou
  856. {
  857. *rcNameID: =TEXT_QUALITY_DISPLAY
  858. *DefaultOption: Option2
  859. *HelpIndex: 2167
  860. *Option: Option1 *% Standard & KATA-Houkou
  861. {
  862. *rcNameID: 270
  863. *Command: CmdSelect
  864. {
  865. *Order: DOC_SETUP.2
  866. *Cmd: "<1B>d1<1B><3E>"
  867. }
  868. }
  869. *Option: Option2 *% Standard & RYOU-Houkou
  870. {
  871. *rcNameID: 271
  872. *Command: CmdSelect
  873. {
  874. *Order: DOC_SETUP.2
  875. *Cmd: "<1B>d1<1B>]"
  876. }
  877. }
  878. *Option: Option3 *% Draft & KATA-Houkou
  879. {
  880. *rcNameID: 272
  881. *Command: CmdSelect
  882. {
  883. *Order: DOC_SETUP.2
  884. *Cmd: "<1B>d0<1B><3E>"
  885. }
  886. }
  887. *Option: Option4 *% Draft & RYOU-Houkou
  888. {
  889. *rcNameID: 273
  890. *Command: CmdSelect
  891. {
  892. *Order: DOC_SETUP.2
  893. *Cmd: "<1B>d0<1B>]"
  894. }
  895. }
  896. }
  897. *%-------------------------------
  898. *%- TextHalftoneThreshold -
  899. *%-------------------------------
  900. *Feature: TextHalftoneThreshold
  901. {
  902. *rcNameID: =TEXTHALFTONE_DISPLAY
  903. *DefaultOption: Option1
  904. *HelpIndex: 2180
  905. *Option: NONE
  906. {
  907. *rcNameID: =NONE_DISPLAY
  908. }
  909. *Option: Option1
  910. {
  911. *Name: "160"
  912. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  913. }
  914. }
  915. *%-------------------
  916. *%- ColorMode -
  917. *%-------------------
  918. *Feature: ColorMode
  919. {
  920. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  921. *DefaultOption: Color
  922. *Option: Mono
  923. {
  924. *rcNameID: =MONO_DISPLAY
  925. *DevNumOfPlanes: 1
  926. *DevBPP: 1
  927. *Color? : FALSE
  928. }
  929. *Option: Color
  930. {
  931. *rcNameID: =COLOR_DISPLAY
  932. *DevNumOfPlanes: 4
  933. *DevBPP: 1
  934. *DrvBPP: 4
  935. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  936. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  937. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  938. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  939. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  940. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  941. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  942. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  943. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  944. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  945. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  946. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  947. *Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
  948. }
  949. }
  950. *%------------------
  951. *%- Halftone -
  952. *%------------------
  953. *Feature: Halftone
  954. {
  955. *rcNameID: =HALFTONING_DISPLAY
  956. *DefaultOption: HT_PATSIZE_AUTO
  957. *Option: HT_PATSIZE_AUTO
  958. {
  959. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  960. }
  961. *Option: HT_PATSIZE_SUPERCELL_M
  962. {
  963. *rcNameID: =HT_SUPERCELL_DISPLAY
  964. }
  965. *Option: HT_PATSIZE_6x6_M
  966. {
  967. *rcNameID: =HT_DITHER6X6_DISPLAY
  968. }
  969. *Option: HT_PATSIZE_8x8_M
  970. {
  971. *rcNameID: =HT_DITHER8X8_DISPLAY
  972. }
  973. }
  974. *%------------------
  975. *%- StartJob -
  976. *%------------------
  977. *Command: CmdStartJob *%Add Command
  978. {
  979. *Order: JOB_SETUP.1
  980. *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"
  981. }
  982. *%------------------
  983. *%- StartDoc -
  984. *%------------------
  985. *Command: CmdStartDoc *%Change command
  986. {
  987. *Order: DOC_SETUP.1
  988. *Cmd: "<1B>H<1B><22><1B>Y<1B>L000<1B>A<1B>e11<1B>O0<1C>c,,0."
  989. }
  990. *%-------------------
  991. *%- StartPage -
  992. *%-------------------
  993. *switch: InputBin
  994. {
  995. *case: Option1 *%SheetGuide
  996. {
  997. *Command: CmdStartPage
  998. {
  999. *Order: PAGE_SETUP.1
  1000. *Cmd: "<0D><1B>H<FF><0D>"
  1001. }
  1002. }
  1003. *case: Option2 *%SheetFeeder
  1004. {
  1005. *Command: CmdStartPage
  1006. {
  1007. *Order: PAGE_SETUP.1
  1008. *Cmd: "<0D><1B>a"
  1009. }
  1010. }
  1011. *case: Option3 *%SecondBinAdapter
  1012. {
  1013. *Command: CmdStartPage
  1014. {
  1015. *Order: PAGE_SETUP.1
  1016. *Cmd: "<0D><1B>a"
  1017. }
  1018. }
  1019. *case: Option4 *%PushTractor
  1020. {
  1021. *Command: CmdStartPage
  1022. {
  1023. *Order: PAGE_SETUP.1
  1024. *Cmd: "<0D><1B>H<FF><0D>"
  1025. }
  1026. }
  1027. *case: Option5 *%TractorFeeder
  1028. {
  1029. *Command: CmdStartPage
  1030. {
  1031. *Order: PAGE_SETUP.1
  1032. *Cmd: "<0D><1B>H<FF><0D>"
  1033. }
  1034. }
  1035. *case: Option6 *%HagakiGuide
  1036. {
  1037. *Command: CmdStartPage
  1038. {
  1039. *Order: PAGE_SETUP.1
  1040. *Cmd: "<0D><1B>a"
  1041. }
  1042. }
  1043. }
  1044. *%-----------------
  1045. *%- EndPage -
  1046. *%-----------------
  1047. *switch: InputBin
  1048. {
  1049. *case: Option1 *%SheetGuide
  1050. {
  1051. *EjectPageWithFF?: TRUE
  1052. }
  1053. *case: Option2 *%SheetFeeder
  1054. {
  1055. *EjectPageWithFF?: FALSE
  1056. *Command: CmdEndPage
  1057. {
  1058. *Order: PAGE_FINISH.1
  1059. *Cmd: "<1B>b"
  1060. }
  1061. }
  1062. *case: Option3 *%SecondBinAdapter
  1063. {
  1064. *EjectPageWithFF?: FALSE
  1065. *Command: CmdEndPage
  1066. {
  1067. *Order: PAGE_FINISH.1
  1068. *Cmd: "<1B>b"
  1069. }
  1070. }
  1071. *case: Option4 *%PushTractor
  1072. {
  1073. *EjectPageWithFF?: TRUE
  1074. }
  1075. *case: Option5 *%TractorFeeder
  1076. {
  1077. *EjectPageWithFF?: TRUE
  1078. }
  1079. *case: Option6 *%HagakiGuide
  1080. {
  1081. *EjectPageWithFF?: FALSE
  1082. *Command: CmdEndPage
  1083. {
  1084. *Order: PAGE_FINISH.1
  1085. *Cmd: "<1B>b"
  1086. }
  1087. }
  1088. }
  1089. *%------------------------
  1090. *%- Font Available -
  1091. *%------------------------
  1092. *RotateCoordinate?: FALSE
  1093. *RotateRaster?: FALSE
  1094. *RotateFont?: FALSE
  1095. *switch: Orientation
  1096. {
  1097. *case: PORTRAIT
  1098. {
  1099. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1100. }
  1101. *case: LANDSCAPE_CC270
  1102. {
  1103. *TextCaps: LIST(TC_RA_ABLE)
  1104. }
  1105. }
  1106. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
  1107. *%--------------------
  1108. *%- CursorMove -
  1109. *%--------------------
  1110. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1111. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1112. *MaxLineSpacing: 396
  1113. *XMoveThreshold: 0
  1114. *XMoveUnit: 160
  1115. *AbsXMovesRightOnly?: TRUE
  1116. *% 136 keta x 16 dot(=CharWidth)
  1117. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2176]{max_repeat((DestX / 3) )} }
  1118. *LineSpacingMoveUnit: 120
  1119. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  1120. *Command: CmdCR { *Cmd : "<0D>" }
  1121. *Command: CmdLF { *Cmd : "<0A>" }
  1122. *Command: CmdFF { *Cmd : "<0D0C>" }
  1123. *Command: CmdBackSpace { *Cmd : "<08>" }
  1124. *OutputDataFormat: V_BYTE
  1125. *OptimizeLeftBound?: FALSE
  1126. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1127. *CursorYAfterSendBlockData: NO_MOVE
  1128. *%-----------------------
  1129. *%- PrinterFonts -
  1130. *%-----------------------
  1131. *DefaultFont: 1
  1132. *DefaultCTT: 1
  1133. *switch: Orientation
  1134. {
  1135. *case: PORTRAIT
  1136. {
  1137. *DeviceFonts: LIST(1,5,10,13,36,37,38,39,40,41,42,43,44,45,46,47,
  1138. + 48,49,50,51,52,53,54,55)
  1139. }
  1140. *case: LANDSCAPE_CC270
  1141. {
  1142. *DeviceFonts: LIST()
  1143. }
  1144. }
  1145. *FontCartridge: FC1
  1146. {
  1147. *rcCartridgeNameID: 276
  1148. *PortraitFonts: LIST(8,16)
  1149. *LandscapeFonts: LIST()
  1150. }
  1151. *FontCartridge: FC2
  1152. {
  1153. *rcCartridgeNameID: 277
  1154. *PortraitFonts: LIST(19,26)
  1155. *LandscapeFonts: LIST()
  1156. }
  1157. *FontCartridge: FC3
  1158. {
  1159. *rcCartridgeNameID: 279
  1160. *PortraitFonts: LIST(22,29)
  1161. *LandscapeFonts: LIST()
  1162. }
  1163. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  1164. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  1165. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  1166. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  1167. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  1168. *UseExpColorSelectCmd?: TRUE
  1169. *MoveToX0BeforeSetColor?: TRUE
  1170. *MirrorRasterByte?: TRUE