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.

966 lines
27 KiB

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