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.

941 lines
26 KiB

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