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.

881 lines
23 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC MultiImpact 700JX"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "NC70JRES.dll"
  6. *PrinterType: SERIAL
  7. *rcInstalledOptionNameID: 281
  8. *rcNotInstalledOptionNameID: 282
  9. *PrintRateUnit: CPS
  10. *PrintRate: 130
  11. *GPDFileName: "NC700JXJ.GPD"
  12. *Include: "STDNAMES.GPD"
  13. *GPDFileVersion: "1.000"
  14. *HelpFile: "nc70jres.hlp"
  15. *% *Macros: HelpIDs
  16. *% {
  17. *% PAPER SETTING */
  18. *% POP_70_YOUSIHOUKOU :7050
  19. *% PRINT QUALITIES */
  20. *% POP_70_PQUALITIESNEW :7060
  21. *% KANJI CODE */
  22. *% POP_70_KANJICODE :7070
  23. *% }
  24. *%======== Orientation ========
  25. *Feature: Orientation
  26. {
  27. *rcNameID: =ORIENTATION_DISPLAY
  28. *DefaultOption: PORTRAIT
  29. *Option: PORTRAIT
  30. {
  31. *rcNameID: =PORTRAIT_DISPLAY
  32. }
  33. *Option: LANDSCAPE_CC270
  34. {
  35. *rcNameID: =LANDSCAPE_DISPLAY
  36. }
  37. }
  38. *%======== InputBin ========
  39. *Feature: InputBin
  40. {
  41. *rcNameID: =PAPER_SOURCE_DISPLAY
  42. *DefaultOption: Option1
  43. *% SHEET GUIDE
  44. *Option: Option1
  45. {
  46. *rcNameID: 263
  47. *Constraints: PaperSize.10X11
  48. *Constraints: PaperSize.15X11
  49. *switch: YOUSIHOUKOU
  50. {
  51. *case: Option1
  52. {
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.3
  56. *Cmd: "<1B>m2<19><1C>02ER"
  57. }
  58. }
  59. *case: Option2
  60. {
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.3
  64. *Cmd: "<1B>m2<19><1C>02EF"
  65. }
  66. }
  67. }
  68. }
  69. *% SHEET FEEDER
  70. *Option: Option2
  71. {
  72. *rcNameID: 264
  73. *Constraints: PaperSize.10X11
  74. *Constraints: PaperSize.15X11
  75. *Constraints: PaperSize.A3
  76. *Constraints: PaperSize.A3_ROTATED
  77. *Constraints: PaperSize.B4
  78. *Constraints: PaperSize.Option21
  79. *Constraints: PaperSize.Option22
  80. *Installable?: TRUE
  81. *rcInstallableFeatureNameID: 264
  82. *switch: YOUSIHOUKOU
  83. {
  84. *case: Option1
  85. {
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.3
  89. *Cmd: "<1B>m2<19><1C>02ER"
  90. }
  91. }
  92. *case: Option2
  93. {
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.3
  97. *Cmd: "<1B>m2<19><1C>02EF"
  98. }
  99. }
  100. }
  101. }
  102. *% SHEET FEEDER 700JH04
  103. *Option: Option3
  104. {
  105. *rcNameID: 277
  106. *Constraints: PaperSize.10X11
  107. *Constraints: PaperSize.15X11
  108. *Constraints: PaperSize.A3
  109. *Installable?: TRUE
  110. *rcInstallableFeatureNameID: 277
  111. *switch: YOUSIHOUKOU
  112. {
  113. *case: Option1
  114. {
  115. *Command: CmdSelect
  116. {
  117. *Order: DOC_SETUP.3
  118. *Cmd: "<1B>m2<19><1C>02ER"
  119. }
  120. }
  121. *case: Option2
  122. {
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.3
  126. *Cmd: "<1B>m2<19><1C>02EF"
  127. }
  128. }
  129. }
  130. }
  131. *% F TRACTOR FEEDER
  132. *Option: Option4
  133. {
  134. *rcNameID: 267
  135. *Constraints: PaperSize.A3
  136. *Constraints: PaperSize.A3_ROTATED
  137. *Constraints: PaperSize.A4
  138. *Constraints: PaperSize.A4_ROTATED
  139. *Constraints: PaperSize.A5
  140. *Constraints: PaperSize.A5_ROTATED
  141. *Constraints: PaperSize.B4
  142. *Constraints: PaperSize.B4_JIS_ROTATED
  143. *Constraints: PaperSize.B5
  144. *Constraints: PaperSize.B5_JIS_ROTATED
  145. *Constraints: PaperSize.JAPANESE_POSTCARD
  146. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  147. *Constraints: PaperSize.DBL_JAPANESE_POSTCARD
  148. *Constraints: PaperSize.DBL_JAPANESE_POSTCARD_ROTATED
  149. *Constraints: PaperSize.JENV_KAKU2_ROTATED
  150. *Constraints: PaperSize.JENV_KAKU3_ROTATED
  151. *Constraints: PaperSize.JENV_CHOU3_ROTATED
  152. *Constraints: PaperSize.JENV_CHOU4_ROTATED
  153. *Constraints: PaperSize.Option21
  154. *Constraints: PaperSize.Option22
  155. *Constraints: PaperSize.Option23
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.3
  159. *Cmd: "<1B>m1<19>"
  160. }
  161. }
  162. *% R TRACTOR FEEDER
  163. *Option: Option5
  164. {
  165. *rcNameID: 268
  166. *Constraints: PaperSize.A3
  167. *Constraints: PaperSize.A3_ROTATED
  168. *Constraints: PaperSize.A4
  169. *Constraints: PaperSize.A4_ROTATED
  170. *Constraints: PaperSize.A5
  171. *Constraints: PaperSize.A5_ROTATED
  172. *Constraints: PaperSize.B4
  173. *Constraints: PaperSize.B4_JIS_ROTATED
  174. *Constraints: PaperSize.B5
  175. *Constraints: PaperSize.B5_JIS_ROTATED
  176. *Constraints: PaperSize.JAPANESE_POSTCARD
  177. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  178. *Constraints: PaperSize.JENV_KAKU2_ROTATED
  179. *Constraints: PaperSize.DBL_JAPANESE_POSTCARD
  180. *Constraints: PaperSize.DBL_JAPANESE_POSTCARD_ROTATED
  181. *Constraints: PaperSize.JENV_KAKU3_ROTATED
  182. *Constraints: PaperSize.JENV_CHOU3_ROTATED
  183. *Constraints: PaperSize.JENV_CHOU4_ROTATED
  184. *Constraints: PaperSize.Option21
  185. *Constraints: PaperSize.Option22
  186. *Constraints: PaperSize.Option23
  187. *Installable?: TRUE
  188. *rcInstallableFeatureNameID: 268
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.3
  192. *Cmd: "<1B>m3<19>"
  193. }
  194. }
  195. }
  196. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option3)
  197. *%======== Resolution ========
  198. *Feature: Resolution
  199. {
  200. *rcNameID: =RESOLUTION_DISPLAY
  201. *DefaultOption: Option1
  202. *Option: Option1
  203. {
  204. *Name: "160 x 160 dots per inch"
  205. *DPI: PAIR(160, 160)
  206. *TextDPI: PAIR(160, 160)
  207. *PinsPerLogPass: 24
  208. *PinsPerPhysPass: 24
  209. *MinStripBlankPixels: 120
  210. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  211. *SpotDiameter: 120
  212. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{(NumOfDataBytes / 3) } }
  213. }
  214. }
  215. *%======== PaperSize ========
  216. *Feature: PaperSize
  217. {
  218. *rcNameID: =PAPER_SIZE_DISPLAY
  219. *DefaultOption: A4
  220. *Option: A3
  221. {
  222. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  223. *PrintableArea: PAIR(5418, 7707)
  224. *PrintableOrigin: PAIR(96, 114)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.4
  228. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  229. }
  230. }
  231. *Option: A3_ROTATED
  232. {
  233. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  234. *PrintableArea: PAIR(6528, 5379)
  235. *PrintableOrigin: PAIR(585, 114)
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.4
  239. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  240. }
  241. }
  242. *Option: A4
  243. {
  244. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  245. *PrintableArea: PAIR(3777, 5378)
  246. *PrintableOrigin: PAIR(96, 114)
  247. *Command: CmdSelect
  248. {
  249. *Order: DOC_SETUP.4
  250. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  251. }
  252. }
  253. *Option: A4_ROTATED
  254. {
  255. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  256. *PrintableArea: PAIR(5418, 3738)
  257. *PrintableOrigin: PAIR(96, 114)
  258. *Command: CmdSelect
  259. {
  260. *Order: DOC_SETUP.4
  261. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  262. }
  263. }
  264. *Option: A5
  265. {
  266. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  267. *PrintableArea: PAIR(2604, 3738)
  268. *PrintableOrigin: PAIR(96, 114)
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.4
  272. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  273. }
  274. }
  275. *Option: A5_ROTATED
  276. {
  277. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  278. *PrintableArea: PAIR(3777, 2565)
  279. *PrintableOrigin: PAIR(96, 114)
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.4
  283. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  284. }
  285. }
  286. *Option: B4
  287. {
  288. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289. *PrintableArea: PAIR(4665, 6645)
  290. *PrintableOrigin: PAIR(96, 114)
  291. *Command: CmdSelect
  292. {
  293. *Order: DOC_SETUP.4
  294. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  295. }
  296. }
  297. *Option: B4_JIS_ROTATED
  298. {
  299. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  300. *PrintableArea: PAIR(6525, 4626)
  301. *PrintableOrigin: PAIR(96, 114)
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.4
  305. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  306. }
  307. }
  308. *Option: B5
  309. {
  310. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  311. *PrintableArea: PAIR(3249, 4626)
  312. *PrintableOrigin: PAIR(96, 114)
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.4
  316. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  317. }
  318. }
  319. *Option: B5_JIS_ROTATED
  320. {
  321. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  322. *PrintableArea: PAIR(4665, 3210)
  323. *PrintableOrigin: PAIR(96, 114)
  324. *Command: CmdSelect
  325. {
  326. *Order: DOC_SETUP.4
  327. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  328. }
  329. }
  330. *Option: JAPANESE_POSTCARD
  331. {
  332. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  333. *PrintableArea: PAIR(1698, 2382)
  334. *PrintableOrigin: PAIR(96, 183)
  335. *Command: CmdSelect
  336. {
  337. *Order: DOC_SETUP.4
  338. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  339. }
  340. }
  341. *Option: JAPANESE_POSTCARD_ROTATED
  342. {
  343. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  344. *PrintableArea: PAIR(2604, 1476)
  345. *PrintableOrigin: PAIR(96, 183)
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.4
  349. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  350. }
  351. }
  352. *Option: DBL_JAPANESE_POSTCARD
  353. {
  354. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  355. *PrintableArea: PAIR(3585, 2382)
  356. *PrintableOrigin: PAIR(96, 183)
  357. *Command: CmdSelect
  358. {
  359. *Order: DOC_SETUP.4
  360. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  361. }
  362. }
  363. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  364. {
  365. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  366. *PrintableArea: PAIR(2604, 3363)
  367. *PrintableOrigin: PAIR(96, 183)
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.4
  371. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  372. }
  373. }
  374. *Option: 10X11
  375. {
  376. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  377. *PrintableArea: PAIR(4320, 5046)
  378. *PrintableOrigin: PAIR(240, 117)
  379. *Command: CmdSelect
  380. {
  381. *Order: DOC_SETUP.4
  382. *Cmd: "<1C>05v" %4d[0,2560]{(PhysPaperLength / 4) }
  383. }
  384. }
  385. *Option: 15X11
  386. {
  387. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  388. *PrintableArea: PAIR(6528, 5046)
  389. *PrintableOrigin: PAIR(240, 117)
  390. *Command: CmdSelect
  391. {
  392. *Order: DOC_SETUP.4
  393. *Cmd: "<1C>05v" %4d[0,2560]{(PhysPaperLength / 4) }
  394. }
  395. }
  396. *Option: JENV_KAKU2_ROTATED
  397. {
  398. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  399. *PrintableArea: PAIR(6081, 4248)
  400. *PrintableOrigin: PAIR(96, 144)
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.4
  404. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  405. }
  406. }
  407. *Option: JENV_KAKU3_ROTATED
  408. {
  409. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  410. *PrintableArea: PAIR(5040, 3792)
  411. *PrintableOrigin: PAIR(96, 144)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.4
  415. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  416. }
  417. }
  418. *Option: JENV_CHOU3_ROTATED
  419. {
  420. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  421. *PrintableArea: PAIR(4248, 1977)
  422. *PrintableOrigin: PAIR(96, 144)
  423. *Command: CmdSelect
  424. {
  425. *Order: DOC_SETUP.4
  426. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  427. }
  428. }
  429. *Option: JENV_CHOU4_ROTATED
  430. {
  431. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  432. *PrintableArea: PAIR(3681, 1410)
  433. *PrintableOrigin: PAIR(96, 144)
  434. *Command: CmdSelect
  435. {
  436. *Order: DOC_SETUP.4
  437. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  438. }
  439. }
  440. *Option: Option21
  441. {
  442. *rcNameID: 259
  443. *PageDimensions: PAIR(3061, 2154)
  444. *PrintableArea: PAIR(2868, 1866)
  445. *PrintableOrigin: PAIR(96, 144)
  446. *Command: CmdSelect
  447. {
  448. *Order: DOC_SETUP.4
  449. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  450. }
  451. }
  452. *Option: Option22
  453. {
  454. *rcNameID: 260
  455. *PageDimensions: PAIR(4100, 1795)
  456. *PrintableArea: PAIR(3906, 1506)
  457. *PrintableOrigin: PAIR(96, 144)
  458. *Command: CmdSelect
  459. {
  460. *Order: DOC_SETUP.4
  461. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  462. }
  463. }
  464. *Option: Option23
  465. {
  466. *rcNameID: 258
  467. *PageDimensions: PAIR(1039, 1719)
  468. *PrintableArea: PAIR(846, 1488)
  469. *PrintableOrigin: PAIR(96, 114)
  470. *Command: CmdSelect
  471. {
  472. *Order: DOC_SETUP.4
  473. *Cmd: "<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  474. }
  475. }
  476. *Option: CUSTOMSIZE
  477. {
  478. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  479. *MinSize: PAIR(960, 480)
  480. *MaxSize: PAIR(7920, 10224)
  481. *MaxPrintableWidth: 6528
  482. *MinLeftMargin: 0
  483. *CenterPrintable?: FALSE
  484. *switch: InputBin
  485. {
  486. *case: Option1
  487. {
  488. *CustCursorOriginX: %d{0}
  489. *CustCursorOriginY: %d{114}
  490. *CustPrintableOriginX: %d{0}
  491. *CustPrintableOriginY: %d{114}
  492. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  493. *CustPrintableSizeY: %d{PhysPaperLength - (114+117)}
  494. }
  495. *case: Option2
  496. {
  497. *CustCursorOriginX: %d{0}
  498. *CustCursorOriginY: %d{114}
  499. *CustPrintableOriginX: %d{0}
  500. *CustPrintableOriginY: %d{114}
  501. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  502. *CustPrintableSizeY: %d{PhysPaperLength - (114+117)}
  503. }
  504. *case: Option3
  505. {
  506. *CustCursorOriginX: %d{0}
  507. *CustCursorOriginY: %d{114}
  508. *CustPrintableOriginX: %d{0}
  509. *CustPrintableOriginY: %d{114}
  510. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  511. *CustPrintableSizeY: %d{PhysPaperLength - (114+117)}
  512. }
  513. *case: Option4
  514. {
  515. *CustCursorOriginX: %d{0}
  516. *CustCursorOriginY: %d{0}
  517. *CustPrintableOriginX: %d{0}
  518. *CustPrintableOriginY: %d{0}
  519. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  520. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  521. }
  522. *case: Option5
  523. {
  524. *CustCursorOriginX: %d{0}
  525. *CustCursorOriginY: %d{0}
  526. *CustPrintableOriginX: %d{0}
  527. *CustPrintableOriginY: %d{0}
  528. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  529. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  530. }
  531. }
  532. *Command: CmdSelect
  533. {
  534. *Order: DOC_SETUP.4
  535. *Cmd: "<1C>05v" %4d[0,2560]{(PhysPaperLength / 4) }
  536. }
  537. }
  538. }
  539. *%=======YOUSIHOUKOU=======
  540. *Feature: YOUSIHOUKOU
  541. {
  542. *rcNameID: 283
  543. *DefaultOption: Option1
  544. *HelpIndex: 7050
  545. *Option: Option1
  546. {
  547. *rcNameID: 261
  548. }
  549. *Option: Option2
  550. {
  551. *rcNameID: 262
  552. }
  553. }
  554. *%======== JIS ON/OFF ========
  555. *Feature: JISONOFF
  556. {
  557. *rcNameID: 284
  558. *DefaultOption: JIS90
  559. *FeatureType: PRINTER_PROPERTY
  560. *HelpIndex: 7070
  561. *Option: JIS90
  562. {
  563. *rcNameID: 285
  564. *Command: CmdSelect
  565. {
  566. *Order: JOB_SETUP.2
  567. *Cmd: "<1C>05F2-02"
  568. }
  569. }
  570. *Option: JIS78
  571. {
  572. *rcNameID: 286
  573. *Command: CmdSelect
  574. {
  575. *Order: JOB_SETUP.2
  576. *Cmd: "<1C>05F2-00"
  577. }
  578. }
  579. }
  580. *%======== PrintQuality ========
  581. *Feature: PrintQuality
  582. {
  583. *rcNameID: =TEXT_QUALITY_DISPLAY
  584. *DefaultOption: Option2
  585. *HelpIndex: 7060
  586. *Option: Option1
  587. {
  588. *rcNameID: 269
  589. *Command: CmdSelect
  590. {
  591. *Order: DOC_SETUP.2
  592. *Cmd: "<1B>d1<1B><3E>"
  593. }
  594. }
  595. *Option: Option2
  596. {
  597. *rcNameID: 270
  598. *Command: CmdSelect
  599. {
  600. *Order: DOC_SETUP.2
  601. *Cmd: "<1B>d1<1B>]"
  602. }
  603. }
  604. *Option: Option3
  605. {
  606. *rcNameID: 271
  607. *Command: CmdSelect
  608. {
  609. *Order: DOC_SETUP.2
  610. *Cmd: "<1B>d0<1B><3E>"
  611. }
  612. }
  613. *Option: Option4
  614. {
  615. *rcNameID: 272
  616. *Command: CmdSelect
  617. {
  618. *Order: DOC_SETUP.2
  619. *Cmd: "<1B>d0<1B>]"
  620. }
  621. }
  622. }
  623. *%======== TextHalftoneThreshold ========
  624. *Feature: TextHalftoneThreshold
  625. {
  626. *rcNameID: =TEXTHALFTONE_DISPLAY
  627. *DefaultOption: Option1
  628. *HelpIndex: 7080
  629. *Option: NONE
  630. {
  631. *rcNameID: =NONE_DISPLAY
  632. }
  633. *Option: Option1
  634. {
  635. *Name: "160"
  636. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  637. }
  638. }
  639. *%======== ColorMode ========
  640. *Feature: ColorMode
  641. {
  642. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  643. *DefaultOption: Color
  644. *Option: Mono
  645. {
  646. *rcNameID: =MONO_DISPLAY
  647. *DevNumOfPlanes: 1
  648. *DevBPP: 1
  649. *Color? : FALSE
  650. }
  651. *Option: Color
  652. {
  653. *rcNameID: =COLOR_DISPLAY
  654. *DevNumOfPlanes: 4
  655. *DevBPP: 1
  656. *DrvBPP: 4
  657. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  658. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  659. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  660. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  661. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  662. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  663. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  664. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  665. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  666. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  667. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  668. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  669. *Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
  670. }
  671. }
  672. *%======== Halftone ========
  673. *Feature: Halftone
  674. {
  675. *rcNameID: =HALFTONING_DISPLAY
  676. *DefaultOption: HT_PATSIZE_AUTO
  677. *Option: HT_PATSIZE_AUTO
  678. {
  679. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  680. }
  681. *Option: HT_PATSIZE_SUPERCELL_M
  682. {
  683. *rcNameID: =HT_SUPERCELL_DISPLAY
  684. }
  685. *Option: HT_PATSIZE_6x6_M
  686. {
  687. *rcNameID: =HT_DITHER6X6_DISPLAY
  688. }
  689. *Option: HT_PATSIZE_8x8_M
  690. {
  691. *rcNameID: =HT_DITHER8X8_DISPLAY
  692. }
  693. }
  694. *%======== StartJob ========
  695. *Command: CmdStartJob
  696. {
  697. *Order: JOB_SETUP.1
  698. *Cmd : "<00000000000000000000><180F><1B>$<1B>M<1B>2<1B>/136<1C>A<1B>f<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>h0"
  699. }
  700. *%======== StartDoc ========
  701. *Command: CmdStartDoc
  702. {
  703. *Order: DOC_SETUP.1
  704. *Cmd: "<1B>H<1B>e11<1B221B>Y<1B>L000<1B>A<1B>O0<1C>c,,0."
  705. }
  706. *%======== StartPage ========
  707. *switch: InputBin
  708. {
  709. *case: Option1
  710. {
  711. *Command: CmdStartPage
  712. {
  713. *Order: PAGE_SETUP.1
  714. *Cmd: "<0D><19>"
  715. }
  716. }
  717. *case: Option2
  718. {
  719. *Command: CmdStartPage
  720. {
  721. *Order: PAGE_SETUP.1
  722. *Cmd: "<0D><1B>a<19>"
  723. }
  724. }
  725. *case: Option3
  726. {
  727. *Command: CmdStartPage
  728. {
  729. *Order: PAGE_SETUP.1
  730. *Cmd: "<0D><1B>a<19>"
  731. }
  732. }
  733. *case: Option4
  734. {
  735. *Command: CmdStartPage
  736. {
  737. *Order: PAGE_SETUP.1
  738. *Cmd: "<0D><19>"
  739. }
  740. }
  741. *case: Option5
  742. {
  743. *Command: CmdStartPage
  744. {
  745. *Order: PAGE_SETUP.1
  746. *Cmd: "<0D><19>"
  747. }
  748. }
  749. }
  750. *%======== EndJob ========
  751. *Command: CmdEndJob
  752. {
  753. *Order: JOB_FINISH.1
  754. *Cmd: "<1B>c8"
  755. }
  756. *%======== EndPage ========
  757. *switch: InputBin
  758. {
  759. *case: Option1
  760. {
  761. *EjectPageWithFF?: FALSE
  762. *Command: CmdEndPage
  763. {
  764. *Order: PAGE_FINISH.1
  765. *Cmd: "<1B>b"
  766. }
  767. }
  768. *case: Option2
  769. {
  770. *EjectPageWithFF?: FALSE
  771. *Command: CmdEndPage
  772. {
  773. *Order: PAGE_FINISH.1
  774. *Cmd: "<1B>b"
  775. }
  776. }
  777. *case: Option3
  778. {
  779. *EjectPageWithFF?: FALSE
  780. *Command: CmdEndPage
  781. {
  782. *Order: PAGE_FINISH.1
  783. *Cmd: "<1B>b"
  784. }
  785. }
  786. *case: Option4
  787. {
  788. *EjectPageWithFF?: TRUE
  789. }
  790. *case: Option5
  791. {
  792. *EjectPageWithFF?: TRUE
  793. }
  794. }
  795. *%======== capabilities ========
  796. *RotateCoordinate?: FALSE
  797. *RotateRaster?: FALSE
  798. *RotateFont?: FALSE
  799. *switch: Orientation
  800. {
  801. *case: PORTRAIT
  802. {
  803. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  804. }
  805. *case: LANDSCAPE_CC270
  806. {
  807. *TextCaps: LIST(TC_RA_ABLE)
  808. }
  809. }
  810. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE)
  811. *%======== Cursor Control ========
  812. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  813. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  814. *MaxLineSpacing: 396
  815. *XMoveThreshold: 0
  816. *XMoveUnit: 160
  817. *AbsXMovesRightOnly?: TRUE
  818. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2175]{max_repeat((DestX / 3) )} }
  819. *LineSpacingMoveUnit: 120
  820. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  821. *Command: CmdCR { *Cmd : "<0D>" }
  822. *Command: CmdLF { *Cmd : "<0A>" }
  823. *Command: CmdFF { *Cmd : "<0D0C>" }
  824. *Command: CmdBackSpace { *Cmd : "<08>" }
  825. *%======== Raster Data ========
  826. *OutputDataFormat: V_BYTE
  827. *OptimizeLeftBound?: FALSE
  828. *CursorXAfterSendBlockData: AT_GRXDATA_END
  829. *CursorYAfterSendBlockData: NO_MOVE
  830. *UseExpColorSelectCmd?: TRUE
  831. *MoveToX0BeforeSetColor?: TRUE
  832. *MirrorRasterByte?: TRUE
  833. *%======== Device Font ========
  834. *DefaultFont: 3
  835. *DefaultCTT: 1
  836. *%*CharPosition: BASELINE
  837. *switch: Orientation
  838. {
  839. *case: PORTRAIT
  840. {
  841. *DeviceFonts: LIST(3,7,14,16,21,22,23,24,25,26,27,28,29,30,31,32,
  842. + 33,34,35,36,37,38,39,40,41)
  843. }
  844. *case: LANDSCAPE_CC270
  845. {
  846. *DeviceFonts: LIST()
  847. }
  848. }
  849. *%======== Font Simulation ========
  850. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  851. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  852. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  853. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  854. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }