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.

923 lines
25 KiB

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