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.

973 lines
27 KiB

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