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.

817 lines
21 KiB

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