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.

982 lines
25 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.00"
  3. *GPDFileName: "CSN46J.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *CodePage: 1252
  6. *ModelName: "CASIO N4-612"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "CSN46RES.DLL"
  9. *PrinterType: PAGE
  10. *MaxCopies: 255
  11. *PrintRate: 12
  12. *PrintRateUnit: PPM
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. *Command: CmdSelect
  21. {
  22. *Order: DOC_SETUP.2
  23. *CallbackID: 93
  24. }
  25. }
  26. *Option: LANDSCAPE_CC90
  27. {
  28. *rcNameID: =LANDSCAPE_DISPLAY
  29. *Command: CmdSelect
  30. {
  31. *Order: DOC_SETUP.2
  32. *CallbackID: 94
  33. }
  34. }
  35. }
  36. *Feature: InputBin
  37. {
  38. *rcNameID: =PAPER_SOURCE_DISPLAY
  39. *DefaultOption: Option1
  40. *Option: Option1
  41. {
  42. *rcNameID: 264
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.1
  46. *CallbackID: 100
  47. }
  48. }
  49. *Option: Option2
  50. {
  51. *rcNameID: 265
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.1
  55. *CallbackID: 101
  56. }
  57. }
  58. *Option: Option3
  59. {
  60. *rcNameID: 266
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.1
  64. *CallbackID: 102
  65. }
  66. }
  67. *Option: Option4
  68. {
  69. *rcNameID: 271
  70. *Command: CmdSelect
  71. {
  72. *Order: DOC_SETUP.1
  73. *CallbackID: 103
  74. }
  75. }
  76. *Option: Option5
  77. {
  78. *rcNameID: 272
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.1
  82. *CallbackID: 104
  83. }
  84. }
  85. }
  86. *Feature: Resolution
  87. {
  88. *rcNameID: =RESOLUTION_DISPLAY
  89. *DefaultOption: Option2
  90. *Option: Option1
  91. {
  92. *Name: "300 x 300 dots per inch"
  93. *DPI: PAIR(300, 300)
  94. *TextDPI: PAIR(300, 300)
  95. EXTERN_GLOBAL: *XMoveUnit: 300
  96. EXTERN_GLOBAL: *YMoveUnit: 300
  97. *MinStripBlankPixels: 32
  98. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  99. *SpotDiameter: 100
  100. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  101. + ";0bi{I" }
  102. *% *Command: CmdSelect
  103. *% {
  104. *% *Order: DOC_SETUP.3
  105. *% }
  106. }
  107. *Option: Option2
  108. {
  109. *Name: "600 x 600 dots per inch"
  110. *DPI: PAIR(600, 600)
  111. *TextDPI: PAIR(600, 600)
  112. EXTERN_GLOBAL: *XMoveUnit: 600
  113. EXTERN_GLOBAL: *YMoveUnit: 600
  114. *MinStripBlankPixels: 32
  115. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  116. *SpotDiameter: 100
  117. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  118. + ";0bi{I" }
  119. *% *Command: CmdSelect
  120. *% {
  121. *% *Order: DOC_SETUP.3
  122. *% }
  123. }
  124. }
  125. *Feature: PaperSize
  126. {
  127. *rcNameID: =PAPER_SIZE_DISPLAY
  128. *DefaultOption: A4
  129. *Option: A3
  130. {
  131. *rcNameID: =A3_DISPLAY
  132. *switch: Orientation
  133. {
  134. *case: PORTRAIT
  135. {
  136. *PrintableArea: PAIR(13552, 19360)
  137. *PrintableOrigin: PAIR(240, 240)
  138. *CursorOrigin: PAIR(240, 240)
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.11
  142. *Cmd: "<1D>13psE"
  143. }
  144. }
  145. *case: LANDSCAPE_CC90
  146. {
  147. *PrintableArea: PAIR(13552, 19360)
  148. *PrintableOrigin: PAIR(240, 240)
  149. *CursorOrigin: PAIR(240, 19600)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.11
  153. *Cmd: "<1D>13psE<1D>1poE"
  154. }
  155. }
  156. }
  157. }
  158. *Option: A4
  159. {
  160. *rcNameID: =A4_DISPLAY
  161. *switch: Orientation
  162. {
  163. *case: PORTRAIT
  164. {
  165. *PrintableArea: PAIR(9440, 13552)
  166. *PrintableOrigin: PAIR(240, 240)
  167. *CursorOrigin: PAIR(240, 240)
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.11
  171. *Cmd: "<1D>14psE"
  172. }
  173. }
  174. *case: LANDSCAPE_CC90
  175. {
  176. *PrintableArea: PAIR(9440, 13552)
  177. *PrintableOrigin: PAIR(240, 240)
  178. *CursorOrigin: PAIR(240, 13792)
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.11
  182. *Cmd: "<1D>14psE<1D>1poE"
  183. }
  184. }
  185. }
  186. }
  187. *Option: A5
  188. {
  189. *rcNameID: =A5_DISPLAY
  190. *switch: Orientation
  191. {
  192. *case: PORTRAIT
  193. {
  194. *PrintableArea: PAIR(6512, 9440)
  195. *PrintableOrigin: PAIR(240, 240)
  196. *CursorOrigin: PAIR(240, 240)
  197. *Command: CmdSelect
  198. {
  199. *Order: DOC_SETUP.11
  200. *Cmd: "<1D>15psE"
  201. }
  202. }
  203. *case: LANDSCAPE_CC90
  204. {
  205. *PrintableArea: PAIR(6512, 9440)
  206. *PrintableOrigin: PAIR(240, 240)
  207. *CursorOrigin: PAIR(240, 9680)
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.11
  211. *Cmd: "<1D>15psE<1D>1poE"
  212. }
  213. }
  214. }
  215. }
  216. *Option: B5
  217. {
  218. *rcNameID: =B5_DISPLAY
  219. *switch: Orientation
  220. {
  221. *case: PORTRAIT
  222. {
  223. *PrintableArea: PAIR(8120, 11664)
  224. *PrintableOrigin: PAIR(240, 240)
  225. *CursorOrigin: PAIR(240, 240)
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.11
  229. *Cmd: "<1D>25psE"
  230. }
  231. }
  232. *case: LANDSCAPE_CC90
  233. {
  234. *PrintableArea: PAIR(8120, 11664)
  235. *PrintableOrigin: PAIR(240, 240)
  236. *CursorOrigin: PAIR(240, 11904)
  237. *Command: CmdSelect
  238. {
  239. *Order: DOC_SETUP.11
  240. *Cmd: "<1D>25psE<1D>1poE"
  241. }
  242. }
  243. }
  244. }
  245. *Option: LETTER
  246. {
  247. *rcNameID: =LETTER_DISPLAY
  248. *switch: Orientation
  249. {
  250. *case: PORTRAIT
  251. {
  252. *PrintableArea: PAIR(9720, 12720)
  253. *PrintableOrigin: PAIR(240, 240)
  254. *CursorOrigin: PAIR(240, 240)
  255. *Command: CmdSelect
  256. {
  257. *Order: DOC_SETUP.11
  258. *Cmd: "<1D>30psE"
  259. }
  260. }
  261. *case: LANDSCAPE_CC90
  262. {
  263. *PrintableArea: PAIR(9720, 12720)
  264. *PrintableOrigin: PAIR(240, 240)
  265. *CursorOrigin: PAIR(240, 12960)
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.11
  269. *Cmd: "<1D>30psE<1D>1poE"
  270. }
  271. }
  272. }
  273. }
  274. *Option: JAPANESE_POSTCARD
  275. {
  276. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  277. *switch: Orientation
  278. {
  279. *case: PORTRAIT
  280. {
  281. *PrintableArea: PAIR(4244, 6512)
  282. *PrintableOrigin: PAIR(240, 240)
  283. *CursorOrigin: PAIR(240, 240)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.11
  287. *Cmd: "<1D>38psE"
  288. }
  289. }
  290. *case: LANDSCAPE_CC90
  291. {
  292. *PrintableArea: PAIR(4244, 6512)
  293. *PrintableOrigin: PAIR(240, 240)
  294. *CursorOrigin: PAIR(240, 6752)
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.11
  298. *Cmd: "<1D>38psE<1D>1poE"
  299. }
  300. }
  301. }
  302. }
  303. *Option: B4
  304. {
  305. *rcNameID: =B4_DISPLAY
  306. *switch: Orientation
  307. {
  308. *case: PORTRAIT
  309. {
  310. *PrintableArea: PAIR(11664, 16720)
  311. *PrintableOrigin: PAIR(240, 240)
  312. *CursorOrigin: PAIR(240, 240)
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.11
  316. *Cmd: "<1D>24psE"
  317. }
  318. }
  319. *case: LANDSCAPE_CC90
  320. {
  321. *PrintableArea: PAIR(11664, 16720)
  322. *PrintableOrigin: PAIR(240, 240)
  323. *CursorOrigin: PAIR(240, 16960)
  324. *Command: CmdSelect
  325. {
  326. *Order: DOC_SETUP.11
  327. *Cmd: "<1D>24psE<1D>1poE"
  328. }
  329. }
  330. }
  331. }
  332. *Option: CUSTOMSIZE
  333. {
  334. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  335. *MinSize: PAIR(4724,6992)
  336. *MaxSize: PAIR(14032,19840)
  337. *MaxPrintableWidth: 13552
  338. *MinLeftMargin: 240
  339. *CenterPrintable?: FALSE
  340. *switch: Orientation
  341. {
  342. *case: PORTRAIT
  343. {
  344. *CustCursorOriginX: %d{240}
  345. *CustCursorOriginY: %d{240}
  346. *CustPrintableOriginX: %d{240}
  347. *CustPrintableOriginY: %d{240}
  348. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  349. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  350. *switch: Resolution
  351. {
  352. *case: Option1 *% 300dpi
  353. {
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.11
  357. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 4)}";" %d{(PhysPaperLength / 4)}"psE"
  358. }
  359. }
  360. *case: Option2 *% 600dpi
  361. {
  362. *Command: CmdSelect
  363. {
  364. *Order: DOC_SETUP.11
  365. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2)}";" %d{(PhysPaperLength / 2)}"psE"
  366. }
  367. }
  368. }
  369. }
  370. *case: LANDSCAPE_CC90
  371. {
  372. *CustCursorOriginX: %d{240}
  373. *CustCursorOriginY: %d{PhysPaperLength - 240}
  374. *CustPrintableOriginX: %d{240}
  375. *CustPrintableOriginY: %d{240}
  376. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  377. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  378. *switch: Resolution
  379. {
  380. *case: Option1 *% 300dpi
  381. {
  382. *Command: CmdSelect
  383. {
  384. *Order: DOC_SETUP.11
  385. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 4)}";" %d{(PhysPaperLength / 4)}"psE<1D>1poE"
  386. }
  387. }
  388. *case: Option2 *% 600dpi
  389. {
  390. *Command: CmdSelect
  391. {
  392. *Order: DOC_SETUP.11
  393. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2)}";" %d{(PhysPaperLength / 2)}"psE<1D>1poE"
  394. }
  395. }
  396. }
  397. }
  398. }
  399. }
  400. }
  401. *BlockMacro: UnidrvIPConstraints
  402. {
  403. *Constraints: LIST(Dithering.Normal, Dithering.Detail)
  404. *Constraints: LIST(ColorMatching.ForBright, ColorMatching.ForVivid,
  405. + ColorMatching.ForIro)
  406. *Constraints: BitFont.Option1
  407. *Constraints: CmyBlack.Option1
  408. *Constraints: LIST(Compress.Raster, Compress.PressOff)
  409. }
  410. *Feature: ColorMode
  411. {
  412. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  413. *DefaultOption: Color_Single
  414. *Option: Mono
  415. {
  416. *rcNameID: =MONO_DISPLAY
  417. *DevNumOfPlanes: 1
  418. *DevBPP: 1
  419. *Color? : FALSE
  420. *Command: CmdSelect
  421. {
  422. *Order: PAGE_SETUP.2
  423. *Cmd: "<1B>z<D001>Cc,0,0,0,255*<1B>z<0001><1D>0owE<1D>0tsE"
  424. }
  425. *% *InsertBlock: =UnidrvIPConstraints
  426. }
  427. *Option: Color
  428. {
  429. *rcNameID: =COLOR_DISPLAY
  430. *DevNumOfPlanes: 4
  431. *DevBPP: 1
  432. *DrvBPP: 4
  433. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  434. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW, BLACK)
  435. *Command: CmdSendCyanData { *Cmd : "<1B>z<D001>Cc,255,0,0,0*<1B>z<0001><1D>0owE<1D>0tsE" }
  436. *Command: CmdSendMagentaData { *Cmd : "<1B>z<D001>Cc,0,255,0,0*<1B>z<0001><1D>0owE<1D>0tsE" }
  437. *Command: CmdSendYellowData { *Cmd : "<1B>z<D001>Cc,0,0,255,0*<1B>z<0001><1D>0owE<1D>0tsE" }
  438. *Command: CmdSendBlackData { *Cmd : "<1B>z<D001>Cc,0,0,0,255*<1B>z<0001><1D>0owE<1D>0tsE" }
  439. *Command: CmdSelectBlackColor { *Cmd: "<1B>z<D001>Cc,0,0,0,255*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  440. *Command: CmdSelectRedColor { *Cmd: "<1B>z<D001>Cb,255,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  441. *Command: CmdSelectGreenColor { *Cmd: "<1B>z<D001>Cb,0,255,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  442. *Command: CmdSelectBlueColor { *Cmd: "<1B>z<D001>Cb,0,0,255*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  443. *Command: CmdSelectYellowColor { *Cmd: "<1B>z<D001>Cc,0,0,255,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  444. *Command: CmdSelectMagentaColor { *Cmd: "<1B>z<D001>Cc,0,255,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  445. *Command: CmdSelectCyanColor { *Cmd: "<1B>z<D001>Cc,255,0,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  446. *Command: CmdSelectWhiteColor { *Cmd: "<1B>z<D001>Cc,0,0,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  447. *Command: CmdSelect
  448. {
  449. *Order: PAGE_SETUP.2
  450. *Cmd: ""
  451. }
  452. *% *InsertBlock: =UnidrvIPConstraints
  453. }
  454. *Option: Color_Single
  455. {
  456. *rcNameID: 381
  457. *DevNumOfPlanes: 0
  458. *DevBPP: 0
  459. *DrvBPP: 24
  460. *PaletteSize: 1
  461. *PaletteProgrammable? : TRUE
  462. *Command: CmdBeginPaletteDef
  463. {
  464. *CallbackID: 301
  465. }
  466. *Command: CmdEndPaletteDef
  467. {
  468. *CallbackID: 302
  469. }
  470. *Command: CmdDefinePaletteEntry
  471. {
  472. *CallbackID: 300
  473. *Params: LIST(PaletteIndexToProgram, RedValue, GreenValue, BlueValue)
  474. }
  475. *Command: CmdSelectPaletteEntry
  476. {
  477. *CallbackID: 303
  478. *Params: LIST(CurrentPaletteIndex)
  479. }
  480. *IPCallbackID: 500
  481. }
  482. *Option: Color_Many
  483. {
  484. *rcNameID: 382
  485. *DevNumOfPlanes: 0
  486. *DevBPP: 0
  487. *DrvBPP: 24
  488. *PaletteSize: 1
  489. *PaletteProgrammable? : TRUE
  490. *Command: CmdBeginPaletteDef
  491. {
  492. *CallbackID: 301
  493. }
  494. *Command: CmdEndPaletteDef
  495. {
  496. *CallbackID: 302
  497. }
  498. *Command: CmdDefinePaletteEntry
  499. {
  500. *CallbackID: 300
  501. *Params: LIST(PaletteIndexToProgram, RedValue, GreenValue, BlueValue)
  502. }
  503. *Command: CmdSelectPaletteEntry
  504. {
  505. *CallbackID: 303
  506. *Params: LIST(CurrentPaletteIndex)
  507. }
  508. *IPCallbackID: 500
  509. *Constraints: Compress.Raster
  510. }
  511. }
  512. *Feature: Halftone
  513. {
  514. *rcNameID: =HALFTONING_DISPLAY
  515. *DefaultOption: HT_PATSIZE_AUTO
  516. *Option: HT_PATSIZE_AUTO
  517. {
  518. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  519. }
  520. *Option: HT_PATSIZE_SUPERCELL_M
  521. {
  522. *rcNameID: =HT_SUPERCELL_DISPLAY
  523. }
  524. *Option: HT_PATSIZE_6x6_M
  525. {
  526. *rcNameID: =HT_DITHER6X6_DISPLAY
  527. }
  528. *Option: HT_PATSIZE_8x8_M
  529. {
  530. *rcNameID: =HT_DITHER8X8_DISPLAY
  531. }
  532. }
  533. *Feature: Memory
  534. {
  535. *rcNameID: =PRINTER_MEMORY_DISPLAY
  536. *DefaultOption: 40960KB
  537. *Option: 40960KB
  538. {
  539. *Name: "40MB"
  540. *MemoryConfigKB: PAIR(40960, 40960)
  541. }
  542. *Option: 57344KB
  543. {
  544. *Name: "56MB"
  545. *MemoryConfigKB: PAIR(57344, 57344)
  546. }
  547. *Option: 73728KB
  548. {
  549. *Name: "72MB"
  550. *MemoryConfigKB: PAIR(73728, 73728)
  551. }
  552. *Option: 90112KB
  553. {
  554. *Name: "88MB"
  555. *MemoryConfigKB: PAIR(90112, 90112)
  556. }
  557. *Option: 106496KB
  558. {
  559. *Name: "104MB"
  560. *MemoryConfigKB: PAIR(106496, 106496)
  561. }
  562. *Option: 131072KB
  563. {
  564. *Name: "128MB"
  565. *MemoryConfigKB: PAIR(131072, 131072)
  566. }
  567. }
  568. *Feature: MediaType
  569. {
  570. *rcNameID: =MEDIA_TYPE_DISPLAY
  571. *DefaultOption: STANDARD
  572. *Option: STANDARD
  573. {
  574. *rcNameID: =PLAIN_PAPER_DISPLAY
  575. *Command: CmdSelect
  576. {
  577. *Order: DOC_SETUP.8
  578. *CallbackID: 140
  579. }
  580. }
  581. *Option: TRANSPARENCY
  582. {
  583. *rcNameID: =TRANSPARENCY_DISPLAY
  584. *Command: CmdSelect
  585. {
  586. *Order: DOC_SETUP.8
  587. *CallbackID: 141
  588. }
  589. }
  590. }
  591. *Feature: Smoothing
  592. {
  593. *rcNameID: 310
  594. *DefaultOption: Option1
  595. *Option: Option1
  596. {
  597. *rcNameID: 290
  598. *Command: CmdSelect
  599. {
  600. *Order: DOC_SETUP.5
  601. *CallbackID: 120
  602. }
  603. }
  604. *Option: Option2
  605. {
  606. *rcNameID: 291
  607. *Command: CmdSelect
  608. {
  609. *Order: DOC_SETUP.5
  610. *CallbackID: 121
  611. }
  612. }
  613. }
  614. *Feature: JamRecovery
  615. {
  616. *rcNameID: 320
  617. *DefaultOption: Option1
  618. *Option: Option1
  619. {
  620. *rcNameID: 290
  621. *Command: CmdSelect
  622. {
  623. *Order: DOC_SETUP.6
  624. *CallbackID: 130
  625. }
  626. }
  627. *Option: Option2
  628. {
  629. *rcNameID: 291
  630. *Command: CmdSelect
  631. {
  632. *Order: DOC_SETUP.6
  633. *CallbackID: 131
  634. }
  635. }
  636. }
  637. *Feature: TonerSave
  638. {
  639. *rcNameID: 330
  640. *DefaultOption: Option1
  641. *Option: Option1
  642. {
  643. *rcNameID: 331
  644. *Command: CmdSelect
  645. {
  646. *Order: DOC_SETUP.7
  647. *CallbackID: 110
  648. }
  649. }
  650. *Option: Option2
  651. {
  652. *rcNameID: 332
  653. *Command: CmdSelect
  654. {
  655. *Order: DOC_SETUP.7
  656. *CallbackID: 111
  657. }
  658. }
  659. *Option: Option3
  660. {
  661. *rcNameID: 333
  662. *Command: CmdSelect
  663. {
  664. *Order: DOC_SETUP.7
  665. *CallbackID: 112
  666. }
  667. }
  668. }
  669. *Feature: Dithering
  670. {
  671. *rcNameID: 340
  672. *DefaultOption: Normal
  673. *Option: Normal
  674. {
  675. *rcNameID: 341
  676. }
  677. *Option: Detail
  678. {
  679. *rcNameID: 342
  680. *Constraints: ColorMode.Color_Single
  681. }
  682. *Option: Diz_Off
  683. {
  684. *rcNameID: 343
  685. }
  686. }
  687. *Feature: ColorMatching
  688. {
  689. *rcNameID: 350
  690. *DefaultOption: ForBright
  691. *Option: ForBright
  692. {
  693. *rcNameID: 351
  694. }
  695. *Option: ForVivid
  696. {
  697. *rcNameID: 352
  698. }
  699. *Option: ForIro
  700. {
  701. *rcNameID: 353
  702. }
  703. *Option: N4-612_Off
  704. {
  705. *rcNameID: 354
  706. }
  707. }
  708. *Feature: BitFont
  709. {
  710. *rcNameID: 360
  711. *DefaultOption: Option1
  712. *Option: Option1
  713. {
  714. *rcNameID: 361
  715. }
  716. *Option: Option2
  717. {
  718. *rcNameID: 362
  719. }
  720. }
  721. *Feature: CmyBlack
  722. {
  723. *rcNameID: 370
  724. *DefaultOption: Option2
  725. *Option: Option1
  726. {
  727. *rcNameID: 361
  728. }
  729. *Option: Option2
  730. {
  731. *rcNameID: 362
  732. }
  733. }
  734. *Feature: Compress
  735. {
  736. *rcNameID: 390
  737. *DefaultOption: Auto
  738. *Option: Auto
  739. {
  740. *rcNameID: 391
  741. }
  742. *Option: Raster
  743. {
  744. *rcNameID: 393
  745. }
  746. *Option: PressOff
  747. {
  748. *rcNameID: 394
  749. }
  750. }
  751. *Command: CmdStartDoc
  752. {
  753. *Order: DOC_SETUP.9
  754. *CallbackID: 82
  755. }
  756. *Command: CmdStartPage
  757. {
  758. *Order: PAGE_SETUP.1
  759. *CallbackID: 160
  760. *% *Cmd: "<1B>z<D001>Ca*<1B>z<0001><1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  761. }
  762. *Command: CmdEndJob
  763. {
  764. *Order: JOB_FINISH.1
  765. *CallbackID: 83
  766. }
  767. *Command: CmdCopies
  768. {
  769. *Order: DOC_SETUP.10
  770. *Cmd: "<1D>" %d[1,255]{NumOfCopies }"coO"
  771. }
  772. *RotateCoordinate?: TRUE
  773. *RotateRaster?: TRUE
  774. *RotateFont?: TRUE
  775. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  776. *MemoryUsage: LIST(FONT)
  777. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  778. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  779. *YMoveAttributes: LIST(SEND_CR_FIRST)
  780. *XMoveThreshold: 0
  781. *YMoveThreshold: 0
  782. *switch: Resolution
  783. {
  784. *case: Option1 *% 300dpi
  785. {
  786. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 4) }"X" }
  787. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 4) }"H"}
  788. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 4) }"H" }
  789. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 4) }"Y" }
  790. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 4) }"V" }
  791. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 4) }"V" }
  792. }
  793. *case: Option2 *% 600dpi
  794. {
  795. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  796. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H"}
  797. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  798. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  799. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  800. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  801. }
  802. }
  803. *Command: CmdCR { *Cmd : "<0D>" }
  804. *Command: CmdLF { *Cmd : "<0A>" }
  805. *Command: CmdFF { *Cmd : "<0C>" }
  806. *Command: CmdBackSpace { *Cmd : "<08>" }
  807. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  808. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  809. *EjectPageWithFF?: TRUE
  810. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  811. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  812. *OutputDataFormat: H_BYTE
  813. *OptimizeLeftBound?: TRUE
  814. *SendMultipleRows?: TRUE
  815. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  816. *CursorYAfterSendBlockData: NO_MOVE
  817. *BlockMacro: FontDefines
  818. {
  819. *DefaultFont: 3
  820. *DefaultCTT: 0
  821. *CharPosition: BASELINE
  822. *DeviceFonts: LIST(1,2,3,4,5,6)
  823. *MinFontID: 512
  824. *MaxFontID: 535
  825. *MaxNumDownFonts: 24
  826. *MinGlyphID: 32
  827. *MaxGlyphID: 255
  828. *Command: CmdSetFontID
  829. {
  830. *CallbackID: 23
  831. *Params: LIST( NextFontID )
  832. }
  833. *Command: CmdSelectFontID
  834. {
  835. *CallbackID: 24
  836. *Params: LIST( CurrentFontID )
  837. }
  838. *Command: CmdSetCharCode
  839. {
  840. *CallbackID: 25
  841. *Params: LIST( NextGlyph )
  842. }
  843. *Command: CmdDeleteFont
  844. {
  845. *CallbackID: 26
  846. *Params: LIST( CurrentFontID )
  847. }
  848. *FontFormat: OEM_CALLBACK
  849. *Command: CmdBoldOn {
  850. *CallbackID: 27
  851. *Params: LIST(FontBold)
  852. }
  853. *Command: CmdBoldOff {
  854. *CallbackID: 28
  855. *Params: LIST(FontBold)
  856. }
  857. *Command: CmdItalicOn {
  858. *CallbackID: 29
  859. *Params: LIST(FontItalic)
  860. }
  861. *Command: CmdItalicOff {
  862. *CallbackID: 30
  863. *Params: LIST(FontItalic)
  864. }
  865. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  866. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  867. *Command: CmdWhiteTextOn { *Cmd : "<1D>1owE<1D>1tsE<1D>1;0;0spE" }
  868. *Command: CmdWhiteTextOff { *Cmd : "<1D>0owE<1D>0tsE" }
  869. *%*Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  870. *%*Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  871. *Command: CmdSelectSingleByteMode { *CallbackID: 21 }
  872. *Command: CmdSelectDoubleByteMode { *CallbackID: 22 }
  873. *Command: CmdVerticalPrintingOn { *Cmd : "<1D>1vpC" }
  874. *Command: CmdVerticalPrintingOff { *Cmd : "<1D>0vpC" }
  875. *TTFSEnabled?: TRUE
  876. } *% FontDefines
  877. *TTFS: MINCHOUH
  878. {
  879. *rcTTFontNameID: 141
  880. *rcDevFontNameID:142
  881. }
  882. *TTFS: MINCHOUV
  883. {
  884. *rcTTFontNameID: 143
  885. *rcDevFontNameID:144
  886. }
  887. *TTFS: KGOTHIC
  888. {
  889. *rcTTFontNameID: 145
  890. *rcDevFontNameID:146
  891. }
  892. *TTFS: KGOTHICV
  893. {
  894. *rcTTFontNameID: 147
  895. *rcDevFontNameID:148
  896. }
  897. *TTFS: MINCHOUH_E
  898. {
  899. *rcTTFontNameID: 160
  900. *rcDevFontNameID:142
  901. }
  902. *TTFS: MINCHOUV_E
  903. {
  904. *rcTTFontNameID: 161
  905. *rcDevFontNameID:144
  906. }
  907. *TTFS: KGOTHIC_E
  908. {
  909. *rcTTFontNameID: 162
  910. *rcDevFontNameID:146
  911. }
  912. *TTFS: KGOTHICV_E
  913. {
  914. *rcTTFontNameID: 163
  915. *rcDevFontNameID:148
  916. }
  917. *InvalidCombination: LIST(Dithering.Detail, Resolution.Option1, ColorMode.Color_Many)
  918. *MinGrayFill: 0
  919. *Command: CmdSetRectWidth {
  920. *CallbackID: 150
  921. *Params: LIST(RectXSize)
  922. }
  923. *Command: CmdSetRectHeight {
  924. *CallbackID: 151
  925. *Params: LIST(RectYSize)
  926. }
  927. *BlockMacro: BlackRectFillDefines
  928. {
  929. *Command: CmdRectBlackFill
  930. {
  931. *CallbackID: 154
  932. *Params: LIST(DestX,DestY)
  933. }
  934. } *% BlackRectFillDefines
  935. *BlockMacro: GrayRectFillDefines
  936. {
  937. *Command: CmdRectGrayFill
  938. {
  939. *CallbackID: 152
  940. *Params: LIST(DestX,DestY,GrayPercentage)
  941. }
  942. } *% GrayRectFillDefines
  943. *BlockMacro: WhiteRectFillDefines
  944. {
  945. *Command: CmdRectWhiteFill
  946. {
  947. *CallbackID: 153
  948. *Params: LIST(DestX,DestY)
  949. }
  950. } *% WhiteRectFillDefines
  951. *switch: ColorMode
  952. {
  953. *case: Mono
  954. {
  955. *InsertBlock: =FontDefines
  956. *InsertBlock: =BlackRectFillDefines
  957. *InsertBlock: =GrayRectFillDefines
  958. *InsertBlock: =WhiteRectFillDefines
  959. *MaxGrayFill: 100
  960. }
  961. *case: Color
  962. {
  963. *InsertBlock: =FontDefines
  964. *InsertBlock: =WhiteRectFillDefines
  965. *MaxGrayFill: 0
  966. }
  967. *case: Color_Single
  968. {
  969. *MaxGrayFill: 0
  970. }
  971. *case: Color_Many
  972. {
  973. *MaxGrayFill: 0
  974. }
  975. }