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.

979 lines
27 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR201G"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc21jres.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *PrintRateUnit: CPS
  9. *PrintRate: 83
  10. *GPDFileName: "NC21GJ.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.Option5 *% Not Selectable HAGAKIGuide without S/F
  59. }
  60. *Option: Option3 *%PushTractor
  61. {
  62. *rcNameID: 266
  63. }
  64. *Option: Option4 *%TractorFeeder
  65. {
  66. *rcNameID: 265
  67. *Installable?: TRUE
  68. *rcInstallableFeatureNameID: 265
  69. }
  70. *Option: Option5 *%Hagaki Guide
  71. {
  72. *rcNameID: 267
  73. *Installable?: TRUE
  74. *rcInstallableFeatureNameID: 267
  75. }
  76. }
  77. *%---------------------------------------------------
  78. *%- InvalidInstallableCombination of InputBins -
  79. *%---------------------------------------------------
  80. *%Sheet Feeder - Tractor Feeder can not install together
  81. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option4)
  82. *%--------------------
  83. *%- Resolution -
  84. *%--------------------
  85. *Feature: Resolution
  86. {
  87. *rcNameID: =RESOLUTION_DISPLAY
  88. *DefaultOption: Option1
  89. *Option: Option1
  90. {
  91. *Name: "160 x 160 dots per inch"
  92. *DPI: PAIR(160, 160)
  93. *TextDPI: PAIR(160, 160)
  94. *PinsPerLogPass: 24
  95. *PinsPerPhysPass: 24
  96. *MinStripBlankPixels: 120
  97. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  98. *SpotDiameter: 120
  99. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  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. *case: Option5
  609. {
  610. *CustCursorOriginX: %d{0}
  611. *CustCursorOriginY: %d{0}
  612. *CustPrintableOriginX: %d{0}
  613. *CustPrintableOriginY: %d{0}
  614. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  615. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  616. }
  617. }
  618. *Command: CmdSelect
  619. {
  620. *Order: DOC_SETUP.4
  621. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  622. }
  623. }
  624. }
  625. *%--------------------------------
  626. *%- InstallableCombination -
  627. *%--------------------------------
  628. *InvalidCombination: LIST(InputBin.Option1, PaperSize.10X11)
  629. *InvalidCombination: LIST(InputBin.Option1, PaperSize.15X11)
  630. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  631. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  632. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  633. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  634. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  635. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  636. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  637. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  638. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  639. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  640. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  641. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  642. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  643. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  644. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  645. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  646. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A4)
  647. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A4_ROTATED)
  648. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5)
  649. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5_ROTATED)
  650. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B4)
  651. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B4_JIS_ROTATED)
  652. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5)
  653. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5_JIS_ROTATED)
  654. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD)
  655. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD_ROTATED)
  656. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4)
  657. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4_ROTATED)
  658. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5)
  659. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5_ROTATED)
  660. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4)
  661. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4_JIS_ROTATED)
  662. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5)
  663. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5_JIS_ROTATED)
  664. *InvalidCombination: LIST(InputBin.Option5, PaperSize.10X11)
  665. *InvalidCombination: LIST(InputBin.Option5, PaperSize.15X11)
  666. *InvalidCombination: LIST(InputBin.Option5, PaperSize.CUSTOMSIZE)
  667. *%----------------------
  668. *%- PaperSetting -
  669. *%----------------------
  670. *Feature: PaperSetting *%Custom Feature: change Paper set Position
  671. {
  672. *rcNameID: 300
  673. *DefaultOption: Option1
  674. *HelpIndex: 2150
  675. *Option: Option1
  676. {
  677. *rcNameID: 258
  678. }
  679. *Option: Option2
  680. {
  681. *rcNameID: 259
  682. }
  683. }
  684. *%------------------------
  685. *%- PrintQualities -
  686. *%------------------------
  687. *Feature: PrintQuality *%Custom Feature: Draft ari/nashi insatsu houkou
  688. {
  689. *rcNameID: =TEXT_QUALITY_DISPLAY
  690. *DefaultOption: Option2
  691. *HelpIndex: 2167
  692. *Option: Option1 *% Standard & KATA-Houkou
  693. {
  694. *rcNameID: 270
  695. *Command: CmdSelect
  696. {
  697. *Order: DOC_SETUP.2
  698. *Cmd: "<1B>d1<1B><3E>"
  699. }
  700. }
  701. *Option: Option2 *% Standard & RYOU-Houkou
  702. {
  703. *rcNameID: 271
  704. *Command: CmdSelect
  705. {
  706. *Order: DOC_SETUP.2
  707. *Cmd: "<1B>d1<1B>]"
  708. }
  709. }
  710. *Option: Option3 *% Draft & KATA-Houkou
  711. {
  712. *rcNameID: 272
  713. *Command: CmdSelect
  714. {
  715. *Order: DOC_SETUP.2
  716. *Cmd: "<1B>d0<1B><3E>"
  717. }
  718. }
  719. *Option: Option4 *% Draft & RYOU-Houkou
  720. {
  721. *rcNameID: 273
  722. *Command: CmdSelect
  723. {
  724. *Order: DOC_SETUP.2
  725. *Cmd: "<1B>d0<1B>]"
  726. }
  727. }
  728. }
  729. *%-------------------------------
  730. *%- TextHalftoneThreshold -
  731. *%-------------------------------
  732. *Feature: TextHalftoneThreshold
  733. {
  734. *rcNameID: =TEXTHALFTONE_DISPLAY
  735. *DefaultOption: Option1
  736. *HelpIndex: 2180
  737. *Option: NONE
  738. {
  739. *rcNameID: =NONE_DISPLAY
  740. }
  741. *Option: Option1
  742. {
  743. *Name: "160"
  744. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  745. }
  746. }
  747. *%------------------
  748. *%- Halftone -
  749. *%------------------
  750. *Feature: Halftone
  751. {
  752. *rcNameID: =HALFTONING_DISPLAY
  753. *DefaultOption: HT_PATSIZE_AUTO
  754. *Option: HT_PATSIZE_AUTO
  755. {
  756. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  757. }
  758. *Option: HT_PATSIZE_SUPERCELL_M
  759. {
  760. *rcNameID: =HT_SUPERCELL_DISPLAY
  761. }
  762. *Option: HT_PATSIZE_6x6_M
  763. {
  764. *rcNameID: =HT_DITHER6X6_DISPLAY
  765. }
  766. *Option: HT_PATSIZE_8x8_M
  767. {
  768. *rcNameID: =HT_DITHER8X8_DISPLAY
  769. }
  770. }
  771. *%------------------
  772. *%- StartJob -
  773. *%------------------
  774. *Command: CmdStartJob *%Add Command
  775. {
  776. *Order: JOB_SETUP.1
  777. *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"
  778. }
  779. *%------------------
  780. *%- StartDoc -
  781. *%------------------
  782. *Command: CmdStartDoc *%Change command
  783. {
  784. *Order: DOC_SETUP.1
  785. *Cmd: "<1B>H<1B><22><1B>Y<1B>L000<1B>A<1B>e11<1B>O0<1C>c,,0."
  786. }
  787. *%-------------------
  788. *%- StartPage -
  789. *%-------------------
  790. *switch: InputBin
  791. {
  792. *case: Option1 *% SheetGuide
  793. {
  794. *Command: CmdStartPage
  795. {
  796. *Order: PAGE_SETUP.1
  797. *Cmd: "<0D><1B>H<FF><0D>"
  798. }
  799. }
  800. *case: Option2 *% SheetFeeder
  801. {
  802. *Command: CmdStartPage
  803. {
  804. *Order: PAGE_SETUP.1
  805. *Cmd: "<0D><1B>a"
  806. }
  807. }
  808. *case: Option3 *% PushTractor
  809. {
  810. *Command: CmdStartPage
  811. {
  812. *Order: PAGE_SETUP.1
  813. *Cmd: "<0D><1B>H<FF><0D>"
  814. }
  815. }
  816. *case: Option4 *% TractorFeeder
  817. {
  818. *Command: CmdStartPage
  819. {
  820. *Order: PAGE_SETUP.1
  821. *Cmd: "<0D><1B>H<FF><0D>"
  822. }
  823. }
  824. *case: Option5 *% HagakiGuide
  825. {
  826. *Command: CmdStartPage
  827. {
  828. *Order: PAGE_SETUP.1
  829. *Cmd: "<0D><1B>a"
  830. }
  831. }
  832. }
  833. *%-----------------
  834. *%- EndPage -
  835. *%-----------------
  836. *switch: InputBin
  837. {
  838. *case: Option1 *% SheetGuide
  839. {
  840. *EjectPageWithFF?: TRUE
  841. }
  842. *case: Option2 *% SheetFeeder
  843. {
  844. *EjectPageWithFF?: FALSE
  845. *Command: CmdEndPage
  846. {
  847. *Order: PAGE_FINISH.1
  848. *Cmd: "<1B>b"
  849. }
  850. }
  851. *case: Option3 *% PushTractor
  852. {
  853. *EjectPageWithFF?: TRUE
  854. }
  855. *case: Option4 *% TractorFeeder
  856. {
  857. *EjectPageWithFF?: TRUE
  858. }
  859. *case: Option5 *% HagakiGuide
  860. {
  861. *EjectPageWithFF?: FALSE
  862. *Command: CmdEndPage
  863. {
  864. *Order: PAGE_FINISH.1
  865. *Cmd: "<1B>b"
  866. }
  867. }
  868. }
  869. *%------------------------
  870. *%- Font Available -
  871. *%------------------------
  872. *RotateCoordinate?: FALSE
  873. *RotateRaster?: FALSE
  874. *RotateFont?: FALSE
  875. *switch: Orientation
  876. {
  877. *case: PORTRAIT
  878. {
  879. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  880. }
  881. *case: LANDSCAPE_CC270
  882. {
  883. *TextCaps: LIST(TC_RA_ABLE)
  884. }
  885. }
  886. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
  887. *%--------------------
  888. *%- CursorMove -
  889. *%--------------------
  890. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  891. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  892. *MaxLineSpacing: 396
  893. *XMoveThreshold: 0
  894. *XMoveUnit: 160
  895. *AbsXMovesRightOnly?: TRUE
  896. *% 136 keta x 16 dot(=CharWidth)
  897. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2176]{max_repeat((DestX / 3) )} }
  898. *LineSpacingMoveUnit: 120
  899. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  900. *Command: CmdCR { *Cmd : "<0D>" }
  901. *Command: CmdLF { *Cmd : "<0A>" }
  902. *Command: CmdFF { *Cmd : "<0D0C>" }
  903. *Command: CmdBackSpace { *Cmd : "<08>" }
  904. *OutputDataFormat: V_BYTE
  905. *OptimizeLeftBound?: FALSE
  906. *CursorXAfterSendBlockData: AT_GRXDATA_END
  907. *CursorYAfterSendBlockData: NO_MOVE
  908. *%-----------------------
  909. *%- PrinterFonts -
  910. *%-----------------------
  911. *DefaultFont: 1
  912. *DefaultCTT: 1
  913. *switch: Orientation
  914. {
  915. *case: PORTRAIT
  916. {
  917. *DeviceFonts: LIST(1,10,36,37,38,39,40,41,42,43,44,45,46,47,48,49,
  918. + 50,51,52,53,54,55)
  919. }
  920. *case: LANDSCAPE_CC270
  921. {
  922. *DeviceFonts: LIST()
  923. }
  924. }
  925. *FontCartridge: FC1
  926. {
  927. *rcCartridgeNameID: 276
  928. *PortraitFonts: LIST(8,16)
  929. *LandscapeFonts: LIST()
  930. }
  931. *FontCartridge: FC2
  932. {
  933. *rcCartridgeNameID: 277
  934. *PortraitFonts: LIST(19,26)
  935. *LandscapeFonts: LIST()
  936. }
  937. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  938. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  939. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  940. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  941. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  942. *MirrorRasterByte?: TRUE