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.

1391 lines
36 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.00"
  3. *GPDFileName: "CSN5J.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *CodePage: 1252
  6. *ModelName: "CASIO N5"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "CSN5RES.DLL"
  9. *PrinterType: PAGE
  10. *MaxCopies: 9999
  11. *PrintRate: 29
  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: 267
  70. *Command: CmdSelect
  71. {
  72. *Order: DOC_SETUP.1
  73. *CallbackID: 103
  74. }
  75. }
  76. *Option: Option5
  77. {
  78. *rcNameID: 268
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.1
  82. *CallbackID: 104
  83. }
  84. }
  85. *Option: Option6
  86. {
  87. *rcNameID: 269
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.1
  91. *CallbackID: 105
  92. }
  93. }
  94. *Option: Option7
  95. {
  96. *rcNameID: 271
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.1
  100. *CallbackID: 106
  101. }
  102. }
  103. *Option: Option8
  104. {
  105. *rcNameID: 272
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.1
  109. *CallbackID: 107
  110. }
  111. }
  112. }
  113. *Feature: Resolution
  114. {
  115. *rcNameID: =RESOLUTION_DISPLAY
  116. *DefaultOption: Option2
  117. *Option: Option1
  118. {
  119. *Name: "300 x 300 dots per inch"
  120. *DPI: PAIR(300, 300)
  121. *TextDPI: PAIR(300, 300)
  122. EXTERN_GLOBAL: *XMoveUnit: 300
  123. EXTERN_GLOBAL: *YMoveUnit: 300
  124. *MinStripBlankPixels: 32
  125. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  126. *SpotDiameter: 100
  127. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  128. + ";0bi{I" }
  129. *% *Command: CmdSelect
  130. *% {
  131. *% *Order: DOC_SETUP.3
  132. *% }
  133. *Constraints: ColorMode.Color_Many2
  134. *Constraints: Dithering.Detail
  135. *Constraints: Dithering.Empty
  136. }
  137. *Option: Option2
  138. {
  139. *Name: "600 x 600 dots per inch"
  140. *DPI: PAIR(600, 600)
  141. *TextDPI: PAIR(600, 600)
  142. EXTERN_GLOBAL: *XMoveUnit: 600
  143. EXTERN_GLOBAL: *YMoveUnit: 600
  144. *MinStripBlankPixels: 32
  145. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  146. *SpotDiameter: 100
  147. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  148. + ";0bi{I" }
  149. *% *Command: CmdSelect
  150. *% {
  151. *% *Order: DOC_SETUP.3
  152. *% }
  153. }
  154. }
  155. *Feature: PaperSize
  156. {
  157. *rcNameID: =PAPER_SIZE_DISPLAY
  158. *DefaultOption: A4
  159. *Option: A3
  160. {
  161. *rcNameID: =A3_DISPLAY
  162. *switch: Orientation
  163. {
  164. *case: PORTRAIT
  165. {
  166. *PrintableArea: PAIR(13552, 19360)
  167. *PrintableOrigin: PAIR(240, 240)
  168. *CursorOrigin: PAIR(240, 240)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.21
  172. *Cmd: "<1D>13psE"
  173. }
  174. }
  175. *case: LANDSCAPE_CC90
  176. {
  177. *PrintableArea: PAIR(13552, 19360)
  178. *PrintableOrigin: PAIR(240, 240)
  179. *CursorOrigin: PAIR(240, 19600)
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.21
  183. *Cmd: "<1D>13psE<1D>1poE"
  184. }
  185. }
  186. }
  187. }
  188. *Option: A4
  189. {
  190. *rcNameID: =A4_DISPLAY
  191. *switch: Orientation
  192. {
  193. *case: PORTRAIT
  194. {
  195. *PrintableArea: PAIR(9440, 13552)
  196. *PrintableOrigin: PAIR(240, 240)
  197. *CursorOrigin: PAIR(240, 240)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.21
  201. *Cmd: "<1D>14psE"
  202. }
  203. }
  204. *case: LANDSCAPE_CC90
  205. {
  206. *PrintableArea: PAIR(9440, 13552)
  207. *PrintableOrigin: PAIR(240, 240)
  208. *CursorOrigin: PAIR(240, 13792)
  209. *Command: CmdSelect
  210. {
  211. *Order: DOC_SETUP.21
  212. *Cmd: "<1D>14psE<1D>1poE"
  213. }
  214. }
  215. }
  216. }
  217. *Option: A5
  218. {
  219. *rcNameID: =A5_DISPLAY
  220. *switch: Orientation
  221. {
  222. *case: PORTRAIT
  223. {
  224. *PrintableArea: PAIR(6512, 9440)
  225. *PrintableOrigin: PAIR(240, 240)
  226. *CursorOrigin: PAIR(240, 240)
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.21
  230. *Cmd: "<1D>15psE"
  231. }
  232. }
  233. *case: LANDSCAPE_CC90
  234. {
  235. *PrintableArea: PAIR(6512, 9440)
  236. *PrintableOrigin: PAIR(240, 240)
  237. *CursorOrigin: PAIR(240, 9680)
  238. *Command: CmdSelect
  239. {
  240. *Order: DOC_SETUP.21
  241. *Cmd: "<1D>15psE<1D>1poE"
  242. }
  243. }
  244. }
  245. }
  246. *Option: B5
  247. {
  248. *rcNameID: =B5_DISPLAY
  249. *switch: Orientation
  250. {
  251. *case: PORTRAIT
  252. {
  253. *PrintableArea: PAIR(8120, 11664)
  254. *PrintableOrigin: PAIR(240, 240)
  255. *CursorOrigin: PAIR(240, 240)
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.21
  259. *Cmd: "<1D>25psE"
  260. }
  261. }
  262. *case: LANDSCAPE_CC90
  263. {
  264. *PrintableArea: PAIR(8120, 11664)
  265. *PrintableOrigin: PAIR(240, 240)
  266. *CursorOrigin: PAIR(240, 11904)
  267. *Command: CmdSelect
  268. {
  269. *Order: DOC_SETUP.21
  270. *Cmd: "<1D>25psE<1D>1poE"
  271. }
  272. }
  273. }
  274. }
  275. *Option: LETTER
  276. {
  277. *rcNameID: =LETTER_DISPLAY
  278. *switch: Orientation
  279. {
  280. *case: PORTRAIT
  281. {
  282. *PrintableArea: PAIR(9720, 12720)
  283. *PrintableOrigin: PAIR(240, 240)
  284. *CursorOrigin: PAIR(240, 240)
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.21
  288. *Cmd: "<1D>30psE"
  289. }
  290. }
  291. *case: LANDSCAPE_CC90
  292. {
  293. *PrintableArea: PAIR(9720, 12720)
  294. *PrintableOrigin: PAIR(240, 240)
  295. *CursorOrigin: PAIR(240, 12960)
  296. *Command: CmdSelect
  297. {
  298. *Order: DOC_SETUP.21
  299. *Cmd: "<1D>30psE<1D>1poE"
  300. }
  301. }
  302. }
  303. }
  304. *Option: JAPANESE_POSTCARD
  305. {
  306. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  307. *switch: Orientation
  308. {
  309. *case: PORTRAIT
  310. {
  311. *PrintableArea: PAIR(4244, 6512)
  312. *PrintableOrigin: PAIR(240, 240)
  313. *CursorOrigin: PAIR(240, 240)
  314. *Command: CmdSelect
  315. {
  316. *Order: DOC_SETUP.21
  317. *Cmd: "<1D>38psE"
  318. }
  319. }
  320. *case: LANDSCAPE_CC90
  321. {
  322. *PrintableArea: PAIR(4244, 6512)
  323. *PrintableOrigin: PAIR(240, 240)
  324. *CursorOrigin: PAIR(240, 6752)
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.21
  328. *Cmd: "<1D>38psE<1D>1poE"
  329. }
  330. }
  331. }
  332. }
  333. *Option: B4
  334. {
  335. *rcNameID: =B4_DISPLAY
  336. *switch: Orientation
  337. {
  338. *case: PORTRAIT
  339. {
  340. *PrintableArea: PAIR(11664, 16720)
  341. *PrintableOrigin: PAIR(240, 240)
  342. *CursorOrigin: PAIR(240, 240)
  343. *Command: CmdSelect
  344. {
  345. *Order: DOC_SETUP.21
  346. *Cmd: "<1D>24psE"
  347. }
  348. }
  349. *case: LANDSCAPE_CC90
  350. {
  351. *PrintableArea: PAIR(11664, 16720)
  352. *PrintableOrigin: PAIR(240, 240)
  353. *CursorOrigin: PAIR(240, 16960)
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.21
  357. *Cmd: "<1D>24psE<1D>1poE"
  358. }
  359. }
  360. }
  361. }
  362. *% 2001.03.30 >>>
  363. *Option: DBL_JAPANESE_POSTCARD
  364. {
  365. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  366. *switch: Orientation
  367. {
  368. *case: PORTRAIT
  369. {
  370. *PrintableArea: PAIR(8968, 6512)
  371. *PrintableOrigin: PAIR(240, 240)
  372. *CursorOrigin: PAIR(240, 240)
  373. *switch: Resolution
  374. {
  375. *case: Option1 *% 300dpi
  376. {
  377. *Command: CmdSelect
  378. {
  379. *Order: DOC_SETUP.21
  380. *Cmd: "<1D>-1;2362;1748psE"
  381. }
  382. }
  383. *case: Option2 *% 600dpi
  384. {
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.21
  388. *Cmd: "<1D>-1;4724;3496psE"
  389. }
  390. }
  391. }
  392. }
  393. *case: LANDSCAPE_CC90
  394. {
  395. *PrintableArea: PAIR(8968, 6512)
  396. *PrintableOrigin: PAIR(240, 240)
  397. *CursorOrigin: PAIR(240, 6752)
  398. *switch: Resolution
  399. {
  400. *case: Option1 *% 300dpi
  401. {
  402. *Command: CmdSelect
  403. {
  404. *Order: DOC_SETUP.21
  405. *Cmd: "<1D>-1;2362;1748psE<1D>1poE"
  406. }
  407. }
  408. *case: Option2 *% 600dpi
  409. {
  410. *Command: CmdSelect
  411. {
  412. *Order: DOC_SETUP.21
  413. *Cmd: "<1D>-1;4724;3496psE<1D>1poE"
  414. }
  415. }
  416. }
  417. }
  418. }
  419. }
  420. *Option: JENV_CHOU3
  421. {
  422. *rcNameID: =JENV_CHOU3_DISPLAY
  423. *switch: Orientation
  424. {
  425. *case: PORTRAIT
  426. {
  427. *PrintableArea: PAIR(5188, 10620)
  428. *PrintableOrigin: PAIR(240, 240)
  429. *CursorOrigin: PAIR(240, 240)
  430. *switch: Resolution
  431. {
  432. *case: Option1 *% 300dpi
  433. {
  434. *Command: CmdSelect
  435. {
  436. *Order: DOC_SETUP.21
  437. *Cmd: "<1D>-1;1417;2775psE"
  438. }
  439. }
  440. *case: Option2 *% 600dpi
  441. {
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.21
  445. *Cmd: "<1D>-1;2843;5550psE"
  446. }
  447. }
  448. }
  449. }
  450. *case: LANDSCAPE_CC90
  451. {
  452. *PrintableArea: PAIR(5188, 10620)
  453. *PrintableOrigin: PAIR(240, 240)
  454. *CursorOrigin: PAIR(240, 10860)
  455. *switch: Resolution
  456. {
  457. *case: Option1 *% 300dpi
  458. {
  459. *Command: CmdSelect
  460. {
  461. *Order: DOC_SETUP.21
  462. *Cmd: "<1D>-1;1417;2775psE<1D>1poE"
  463. }
  464. }
  465. *case: Option2 *% 600dpi
  466. {
  467. *Command: CmdSelect
  468. {
  469. *Order: DOC_SETUP.21
  470. *Cmd: "<1D>-1;2843;5550psE<1D>1poE"
  471. }
  472. }
  473. }
  474. }
  475. }
  476. }
  477. *Option: JENV_CHOU4
  478. {
  479. *rcNameID: =JENV_CHOU4_DISPLAY
  480. *switch: Orientation
  481. {
  482. *case: PORTRAIT
  483. {
  484. *PrintableArea: PAIR(3768, 9204)
  485. *PrintableOrigin: PAIR(240, 240)
  486. *CursorOrigin: PAIR(240, 240)
  487. *switch: Resolution
  488. {
  489. *case: Option1 *% 300dpi
  490. {
  491. *Command: CmdSelect
  492. {
  493. *Order: DOC_SETUP.21
  494. *Cmd: "<1D>-1;1062;2421psE"
  495. }
  496. }
  497. *case: Option2 *% 600dpi
  498. {
  499. *Command: CmdSelect
  500. {
  501. *Order: DOC_SETUP.21
  502. *Cmd: "<1D>-1;2124;4842psE"
  503. }
  504. }
  505. }
  506. }
  507. *case: LANDSCAPE_CC90
  508. {
  509. *PrintableArea: PAIR(3768, 9204)
  510. *PrintableOrigin: PAIR(240, 240)
  511. *CursorOrigin: PAIR(240, 9444)
  512. *switch: Resolution
  513. {
  514. *case: Option1 *% 300dpi
  515. {
  516. *Command: CmdSelect
  517. {
  518. *Order: DOC_SETUP.21
  519. *Cmd: "<1D>-1;1062;2421psE<1D>1poE"
  520. }
  521. }
  522. *case: Option2 *% 600dpi
  523. {
  524. *Command: CmdSelect
  525. {
  526. *Order: DOC_SETUP.21
  527. *Cmd: "<1D>-1;2124;4842psE<1D>1poE"
  528. }
  529. }
  530. }
  531. }
  532. }
  533. }
  534. *Option: ENV_YOUKEI1
  535. {
  536. *rcNameID: 420
  537. *PageDimensions: PAIR(5664, 8312)
  538. *switch: Orientation
  539. {
  540. *case: PORTRAIT
  541. {
  542. *PrintableArea: PAIR(5184, 7832)
  543. *PrintableOrigin: PAIR(240, 240)
  544. *CursorOrigin: PAIR(240, 240)
  545. *switch: Resolution
  546. {
  547. *case: Option1 *% 300dpi
  548. {
  549. *Command: CmdSelect
  550. {
  551. *Order: DOC_SETUP.21
  552. *Cmd: "<1D>-1;1416;2078psE"
  553. }
  554. }
  555. *case: Option2 *% 600dpi
  556. {
  557. *Command: CmdSelect
  558. {
  559. *Order: DOC_SETUP.21
  560. *Cmd: "<1D>-1;2832;4156psE"
  561. }
  562. }
  563. }
  564. }
  565. *case: LANDSCAPE_CC90
  566. {
  567. *PrintableArea: PAIR(5184, 7832)
  568. *PrintableOrigin: PAIR(240, 240)
  569. *CursorOrigin: PAIR(240, 8072)
  570. *switch: Resolution
  571. {
  572. *case: Option1 *% 300dpi
  573. {
  574. *Command: CmdSelect
  575. {
  576. *Order: DOC_SETUP.21
  577. *Cmd: "<1D>-1;1416;2078psE<1D>1poE"
  578. }
  579. }
  580. *case: Option2 *% 600dpi
  581. {
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.21
  585. *Cmd: "<1D>-1;2832;4156psE<1D>1poE"
  586. }
  587. }
  588. }
  589. }
  590. }
  591. }
  592. *% 2001.03.30 <<<
  593. *Option: CUSTOMSIZE
  594. {
  595. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  596. *MinSize: PAIR(4724,6992)
  597. *MaxSize: PAIR(14032,19840)
  598. *MaxPrintableWidth: 13552
  599. *MinLeftMargin: 240
  600. *CenterPrintable?: FALSE
  601. *switch: Orientation
  602. {
  603. *case: PORTRAIT
  604. {
  605. *CustCursorOriginX: %d{240}
  606. *CustCursorOriginY: %d{240}
  607. *CustPrintableOriginX: %d{240}
  608. *CustPrintableOriginY: %d{240}
  609. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  610. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  611. *switch: Resolution
  612. {
  613. *case: Option1 *% 300dpi
  614. {
  615. *Command: CmdSelect
  616. {
  617. *Order: DOC_SETUP.21
  618. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 4)}";" %d{(PhysPaperLength / 4)}"psE"
  619. }
  620. }
  621. *case: Option2 *% 600dpi
  622. {
  623. *Command: CmdSelect
  624. {
  625. *Order: DOC_SETUP.21
  626. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2)}";" %d{(PhysPaperLength / 2)}"psE"
  627. }
  628. }
  629. }
  630. }
  631. *case: LANDSCAPE_CC90
  632. {
  633. *CustCursorOriginX: %d{240}
  634. *CustCursorOriginY: %d{PhysPaperLength - 240}
  635. *CustPrintableOriginX: %d{240}
  636. *CustPrintableOriginY: %d{240}
  637. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  638. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  639. *switch: Resolution
  640. {
  641. *case: Option1 *% 300dpi
  642. {
  643. *Command: CmdSelect
  644. {
  645. *Order: DOC_SETUP.21
  646. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 4)}";" %d{(PhysPaperLength / 4)}"psE<1D>1poE"
  647. }
  648. }
  649. *case: Option2 *% 600dpi
  650. {
  651. *Command: CmdSelect
  652. {
  653. *Order: DOC_SETUP.21
  654. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2)}";" %d{(PhysPaperLength / 2)}"psE<1D>1poE"
  655. }
  656. }
  657. }
  658. }
  659. }
  660. }
  661. }
  662. *BlockMacro: UnidrvIPConstraints
  663. {
  664. *Constraints: LIST(Dithering.Normal, Dithering.Detail)
  665. *Constraints: LIST(ColorMatching.ForBright, ColorMatching.ForVivid,
  666. + ColorMatching.ForIro)
  667. *Constraints: BitFont.Option1
  668. *Constraints: CmyBlack.Option1
  669. *Constraints: LIST(Compress.Raster, Compress.PressOff)
  670. }
  671. *Feature: ColorMode
  672. {
  673. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  674. *% 2001/03/13 ->
  675. *% *DefaultOption: Color_Many
  676. *DefaultOption: Color_Single
  677. *% 2001/03/13 <-
  678. *Option: Mono
  679. {
  680. *rcNameID: =MONO_DISPLAY
  681. *DevNumOfPlanes: 1
  682. *DevBPP: 1
  683. *Color? : FALSE
  684. *Command: CmdSelect
  685. {
  686. *Order: PAGE_SETUP.2
  687. *Cmd: "<1B>z<D001>Cc,0,0,0,255*<1B>z<0001><1D>0owE<1D>0tsE"
  688. }
  689. *% *InsertBlock: =UnidrvIPConstraints
  690. }
  691. *Option: Color
  692. {
  693. *rcNameID: =COLOR_DISPLAY
  694. *DevNumOfPlanes: 4
  695. *DevBPP: 1
  696. *DrvBPP: 4
  697. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  698. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW, BLACK)
  699. *Command: CmdSendCyanData { *Cmd : "<1B>z<D001>Cc,255,0,0,0*<1B>z<0001><1D>0owE<1D>0tsE" }
  700. *Command: CmdSendMagentaData { *Cmd : "<1B>z<D001>Cc,0,255,0,0*<1B>z<0001><1D>0owE<1D>0tsE" }
  701. *Command: CmdSendYellowData { *Cmd : "<1B>z<D001>Cc,0,0,255,0*<1B>z<0001><1D>0owE<1D>0tsE" }
  702. *Command: CmdSendBlackData { *Cmd : "<1B>z<D001>Cc,0,0,0,255*<1B>z<0001><1D>0owE<1D>0tsE" }
  703. *Command: CmdSelectBlackColor { *Cmd: "<1B>z<D001>Cc,0,0,0,255*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  704. *Command: CmdSelectRedColor { *Cmd: "<1B>z<D001>Cb,255,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  705. *Command: CmdSelectGreenColor { *Cmd: "<1B>z<D001>Cb,0,255,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  706. *Command: CmdSelectBlueColor { *Cmd: "<1B>z<D001>Cb,0,0,255*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  707. *Command: CmdSelectYellowColor { *Cmd: "<1B>z<D001>Cc,0,0,255,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  708. *Command: CmdSelectMagentaColor { *Cmd: "<1B>z<D001>Cc,0,255,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  709. *Command: CmdSelectCyanColor { *Cmd: "<1B>z<D001>Cc,255,0,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  710. *Command: CmdSelectWhiteColor { *Cmd: "<1B>z<D001>Cc,0,0,0,0*<1B>z<0001><1D>1owE<1D>1tsE<1D>1;0;100spE" }
  711. *Command: CmdSelect
  712. {
  713. *Order: PAGE_SETUP.2
  714. *Cmd: ""
  715. }
  716. *% *InsertBlock: =UnidrvIPConstraints
  717. }
  718. *Option: Color_Single
  719. {
  720. *rcNameID: 381
  721. *DevNumOfPlanes: 0
  722. *DevBPP: 0
  723. *DrvBPP: 24
  724. *PaletteSize: 1
  725. *PaletteProgrammable? : TRUE
  726. *Command: CmdBeginPaletteDef
  727. {
  728. *CallbackID: 301
  729. }
  730. *Command: CmdEndPaletteDef
  731. {
  732. *CallbackID: 302
  733. }
  734. *Command: CmdDefinePaletteEntry
  735. {
  736. *CallbackID: 300
  737. *Params: LIST(PaletteIndexToProgram, RedValue, GreenValue, BlueValue)
  738. }
  739. *Command: CmdSelectPaletteEntry
  740. {
  741. *CallbackID: 303
  742. *Params: LIST(CurrentPaletteIndex)
  743. }
  744. *IPCallbackID: 500
  745. *% 500 = ImageProcessing()
  746. *Constraints: Dithering.Detail
  747. *Constraints: Dithering.Empty
  748. }
  749. *Option: Color_Many
  750. {
  751. *rcNameID: 382
  752. *DevNumOfPlanes: 0
  753. *DevBPP: 0
  754. *DrvBPP: 24
  755. *PaletteSize: 1
  756. *PaletteProgrammable? : TRUE
  757. *Command: CmdBeginPaletteDef
  758. {
  759. *CallbackID: 301
  760. }
  761. *Command: CmdEndPaletteDef
  762. {
  763. *CallbackID: 302
  764. }
  765. *Command: CmdDefinePaletteEntry
  766. {
  767. *CallbackID: 300
  768. *Params: LIST(PaletteIndexToProgram, RedValue, GreenValue, BlueValue)
  769. }
  770. *Command: CmdSelectPaletteEntry
  771. {
  772. *CallbackID: 303
  773. *Params: LIST(CurrentPaletteIndex)
  774. }
  775. *IPCallbackID: 500
  776. *% 500 = ImageProcessing()
  777. *Constraints: Compress.Raster
  778. }
  779. *Option: Color_Many2
  780. {
  781. *rcNameID: 383
  782. *DevNumOfPlanes: 0
  783. *DevBPP: 0
  784. *DrvBPP: 24
  785. *PaletteSize: 1
  786. *PaletteProgrammable? : TRUE
  787. *Command: CmdBeginPaletteDef
  788. {
  789. *CallbackID: 301
  790. }
  791. *Command: CmdEndPaletteDef
  792. {
  793. *CallbackID: 302
  794. }
  795. *Command: CmdDefinePaletteEntry
  796. {
  797. *CallbackID: 300
  798. *Params: LIST(PaletteIndexToProgram, RedValue, GreenValue, BlueValue)
  799. }
  800. *Command: CmdSelectPaletteEntry
  801. {
  802. *CallbackID: 303
  803. *Params: LIST(CurrentPaletteIndex)
  804. }
  805. *IPCallbackID: 500
  806. *% 500 = ImageProcessing()
  807. *Constraints: Compress.Raster
  808. }
  809. }
  810. *Feature: OutputBin
  811. {
  812. *rcNameID: 280
  813. *DefaultOption: Option1
  814. *Option: Option1
  815. {
  816. *rcNameID: 281
  817. *Command: CmdSelect
  818. {
  819. *Order: DOC_SETUP.9
  820. *CallbackID: 190
  821. }
  822. }
  823. *Option: Option2
  824. {
  825. *rcNameID: 282
  826. *Command: CmdSelect
  827. {
  828. *Order: DOC_SETUP.9
  829. *CallbackID: 191
  830. }
  831. }
  832. }
  833. *Feature: Halftone
  834. {
  835. *rcNameID: =HALFTONING_DISPLAY
  836. *DefaultOption: HT_PATSIZE_AUTO
  837. *Option: HT_PATSIZE_AUTO
  838. {
  839. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  840. }
  841. *Option: HT_PATSIZE_SUPERCELL_M
  842. {
  843. *rcNameID: =HT_SUPERCELL_DISPLAY
  844. }
  845. *Option: HT_PATSIZE_6x6_M
  846. {
  847. *rcNameID: =HT_DITHER6X6_DISPLAY
  848. }
  849. *Option: HT_PATSIZE_8x8_M
  850. {
  851. *rcNameID: =HT_DITHER8X8_DISPLAY
  852. }
  853. }
  854. *Feature: Memory
  855. {
  856. *rcNameID: =PRINTER_MEMORY_DISPLAY
  857. *DefaultOption: 65536KB
  858. *Option: 65536KB
  859. {
  860. *Name: "64MB"
  861. *MemoryConfigKB: PAIR(65536, 65536)
  862. }
  863. *Option: 131072KB
  864. {
  865. *Name: "128MB"
  866. *MemoryConfigKB: PAIR(131072, 131072)
  867. }
  868. *Option: 196608KB
  869. {
  870. *Name: "192MB"
  871. *MemoryConfigKB: PAIR(196608, 196608)
  872. }
  873. *Option: 262144KB
  874. {
  875. *Name: "256MB"
  876. *MemoryConfigKB: PAIR(262144, 262144)
  877. }
  878. *Option: 327680KB
  879. {
  880. *Name: "320MB"
  881. *MemoryConfigKB: PAIR(327680, 327680)
  882. }
  883. *Option: 393216KB
  884. {
  885. *Name: "384MB"
  886. *MemoryConfigKB: PAIR(393216, 393216)
  887. }
  888. }
  889. *% 2001.03.30 >>>
  890. *Feature: DuplexUnit
  891. {
  892. *FeatureType: PRINTER_PROPERTY
  893. *rcNameID: 410
  894. *DefaultOption: NotInstalled
  895. *Option: NotInstalled
  896. {
  897. *rcNameID: 411
  898. *DisabledFeatures: LIST(Duplex)
  899. *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  900. }
  901. *Option: Installed
  902. {
  903. *rcNameID: 412
  904. }
  905. }
  906. *% 2001.03.30 <<<
  907. *Feature: Duplex
  908. {
  909. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  910. *DefaultOption: NONE
  911. *Option: NONE
  912. {
  913. *rcNameID: =NONE_DISPLAY
  914. }
  915. *Option: VERTICAL
  916. {
  917. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  918. *Command: CmdSelect
  919. {
  920. *Order: DOC_SETUP.4
  921. *CallbackID: 91
  922. }
  923. }
  924. *Option: HORIZONTAL
  925. {
  926. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  927. *Command: CmdSelect
  928. {
  929. *Order: DOC_SETUP.4
  930. *CallbackID: 92
  931. }
  932. }
  933. }
  934. *Feature: MediaType
  935. {
  936. *rcNameID: =MEDIA_TYPE_DISPLAY
  937. *DefaultOption: Option1
  938. *Option: Option1
  939. {
  940. *rcNameID: =PLAIN_PAPER_DISPLAY
  941. *Command: CmdSelect
  942. {
  943. *Order: DOC_SETUP.8
  944. *CallbackID: 140
  945. }
  946. }
  947. *Option: Option2
  948. {
  949. *rcNameID: =TRANSPARENCY_DISPLAY
  950. *Command: CmdSelect
  951. {
  952. *Order: DOC_SETUP.8
  953. *CallbackID: 141
  954. }
  955. }
  956. *Option: Option3
  957. {
  958. *rcNameID: 400
  959. *Command: CmdSelect
  960. {
  961. *Order: DOC_SETUP.8
  962. *CallbackID: 142
  963. }
  964. }
  965. }
  966. *Feature: Smoothing
  967. {
  968. *rcNameID: 310
  969. *DefaultOption: Option1
  970. *Option: Option1
  971. {
  972. *rcNameID: 290
  973. *Command: CmdSelect
  974. {
  975. *Order: DOC_SETUP.5
  976. *CallbackID: 120
  977. }
  978. }
  979. *Option: Option2
  980. {
  981. *rcNameID: 291
  982. *Command: CmdSelect
  983. {
  984. *Order: DOC_SETUP.5
  985. *CallbackID: 121
  986. }
  987. }
  988. }
  989. *Feature: JamRecovery
  990. {
  991. *rcNameID: 320
  992. *DefaultOption: Option1
  993. *Option: Option1
  994. {
  995. *rcNameID: 290
  996. *Command: CmdSelect
  997. {
  998. *Order: DOC_SETUP.6
  999. *CallbackID: 130
  1000. }
  1001. }
  1002. *Option: Option2
  1003. {
  1004. *rcNameID: 291
  1005. *Command: CmdSelect
  1006. {
  1007. *Order: DOC_SETUP.6
  1008. *CallbackID: 131
  1009. }
  1010. }
  1011. }
  1012. *Feature: TonerSave
  1013. {
  1014. *rcNameID: 330
  1015. *DefaultOption: Option1
  1016. *Option: Option1
  1017. {
  1018. *rcNameID: 331
  1019. *Command: CmdSelect
  1020. {
  1021. *Order: DOC_SETUP.7
  1022. *CallbackID: 110
  1023. }
  1024. }
  1025. *Option: Option2
  1026. {
  1027. *rcNameID: 332
  1028. *Command: CmdSelect
  1029. {
  1030. *Order: DOC_SETUP.7
  1031. *CallbackID: 111
  1032. }
  1033. }
  1034. *Option: Option3
  1035. {
  1036. *rcNameID: 333
  1037. *Command: CmdSelect
  1038. {
  1039. *Order: DOC_SETUP.7
  1040. *CallbackID: 112
  1041. }
  1042. }
  1043. }
  1044. *Feature: Dithering
  1045. {
  1046. *rcNameID: 340
  1047. *DefaultOption: Normal
  1048. *Option: Normal
  1049. {
  1050. *rcNameID: 341
  1051. }
  1052. *Option: Detail
  1053. {
  1054. *rcNameID: 342
  1055. }
  1056. *Option: Empty
  1057. {
  1058. *rcNameID: 343
  1059. }
  1060. *Option: Spread
  1061. {
  1062. *rcNameID: 344
  1063. }
  1064. *Option: Diz_Off
  1065. {
  1066. *rcNameID: 345
  1067. }
  1068. }
  1069. *Feature: ColorMatching
  1070. {
  1071. *rcNameID: 350
  1072. *DefaultOption: ForBright
  1073. *Option: ForBright
  1074. {
  1075. *rcNameID: 351
  1076. }
  1077. *Option: ForTint
  1078. {
  1079. *rcNameID: 352
  1080. }
  1081. *Option: ForVivid
  1082. {
  1083. *rcNameID: 353
  1084. }
  1085. *Option: Mch_Off
  1086. {
  1087. *rcNameID: 354
  1088. }
  1089. }
  1090. *Feature: BitFont
  1091. {
  1092. *rcNameID: 360
  1093. *DefaultOption: Option2
  1094. *Option: Option1
  1095. {
  1096. *rcNameID: 361
  1097. }
  1098. *Option: Option2
  1099. {
  1100. *rcNameID: 362
  1101. }
  1102. }
  1103. *Feature: CmyBlack
  1104. {
  1105. *rcNameID: 370
  1106. *DefaultOption: BlackType2
  1107. *Option: GrayBlack
  1108. {
  1109. *rcNameID: 371
  1110. }
  1111. *Option: BlackType1
  1112. {
  1113. *rcNameID: 372
  1114. }
  1115. *Option: BlackType2
  1116. {
  1117. *rcNameID: 373
  1118. }
  1119. *Option: Black
  1120. {
  1121. *rcNameID: 374
  1122. }
  1123. *Option: Type1
  1124. {
  1125. *rcNameID: 375
  1126. }
  1127. *Option: Type2
  1128. {
  1129. *rcNameID: 376
  1130. }
  1131. *Option: Non
  1132. {
  1133. *rcNameID: 377
  1134. }
  1135. }
  1136. *Feature: Compress
  1137. {
  1138. *rcNameID: 390
  1139. *DefaultOption: Auto
  1140. *Option: Auto
  1141. {
  1142. *rcNameID: 391
  1143. }
  1144. *Option: Raster
  1145. {
  1146. *rcNameID: 393
  1147. }
  1148. *Option: PressOff
  1149. {
  1150. *rcNameID: 394
  1151. }
  1152. }
  1153. *Command: CmdStartDoc
  1154. {
  1155. *Order: DOC_SETUP.19
  1156. *CallbackID: 82
  1157. }
  1158. *Command: CmdStartPage
  1159. {
  1160. *Order: PAGE_SETUP.1
  1161. *CallbackID: 160
  1162. *% *Cmd: "<1B>z<D001>Ca*<1B>z<0001><1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  1163. }
  1164. *Command: CmdEndJob
  1165. {
  1166. *Order: JOB_FINISH.1
  1167. *CallbackID: 83
  1168. }
  1169. *Command: CmdCopies
  1170. {
  1171. *Order: DOC_SETUP.20
  1172. *Cmd: "<1D>" %d[1,9999]{NumOfCopies }"coO"
  1173. }
  1174. *RotateCoordinate?: TRUE
  1175. *RotateRaster?: TRUE
  1176. *RotateFont?: TRUE
  1177. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  1178. *MemoryUsage: LIST(FONT)
  1179. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1180. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1181. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1182. *XMoveThreshold: 0
  1183. *YMoveThreshold: 0
  1184. *switch: Resolution
  1185. {
  1186. *case: Option1 *% 300dpi
  1187. {
  1188. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 4) }"X" }
  1189. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 4) }"H"}
  1190. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 4) }"H" }
  1191. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 4) }"Y" }
  1192. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 4) }"V" }
  1193. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 4) }"V" }
  1194. }
  1195. *case: Option2 *% 600dpi
  1196. {
  1197. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  1198. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H"}
  1199. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  1200. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  1201. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  1202. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  1203. }
  1204. }
  1205. *Command: CmdCR { *Cmd : "<0D>" }
  1206. *Command: CmdLF { *Cmd : "<0A>" }
  1207. *Command: CmdFF { *Cmd : "<0C>" }
  1208. *Command: CmdBackSpace { *Cmd : "<08>" }
  1209. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  1210. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  1211. *EjectPageWithFF?: TRUE
  1212. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  1213. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  1214. *OutputDataFormat: H_BYTE
  1215. *OptimizeLeftBound?: TRUE
  1216. *SendMultipleRows?: TRUE
  1217. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1218. *CursorYAfterSendBlockData: NO_MOVE
  1219. *BlockMacro: FontDefines
  1220. {
  1221. *DefaultFont: 3
  1222. *DefaultCTT: 0
  1223. *CharPosition: BASELINE
  1224. *DeviceFonts: LIST(1,2,3,4,5,6)
  1225. *MinFontID: 512
  1226. *MaxFontID: 535
  1227. *MaxNumDownFonts: 24
  1228. *MinGlyphID: 32
  1229. *MaxGlyphID: 255
  1230. *Command: CmdSetFontID
  1231. {
  1232. *CallbackID: 23
  1233. *Params: LIST( NextFontID )
  1234. }
  1235. *Command: CmdSelectFontID
  1236. {
  1237. *CallbackID: 24
  1238. *Params: LIST( CurrentFontID )
  1239. }
  1240. *Command: CmdSetCharCode
  1241. {
  1242. *CallbackID: 25
  1243. *Params: LIST( NextGlyph )
  1244. }
  1245. *Command: CmdDeleteFont
  1246. {
  1247. *CallbackID: 26
  1248. *Params: LIST( CurrentFontID )
  1249. }
  1250. *FontFormat: OEM_CALLBACK
  1251. *Command: CmdBoldOn {
  1252. *CallbackID: 27
  1253. *Params: LIST(FontBold)
  1254. }
  1255. *Command: CmdBoldOff {
  1256. *CallbackID: 28
  1257. *Params: LIST(FontBold)
  1258. }
  1259. *Command: CmdItalicOn {
  1260. *CallbackID: 29
  1261. *Params: LIST(FontItalic)
  1262. }
  1263. *Command: CmdItalicOff {
  1264. *CallbackID: 30
  1265. *Params: LIST(FontItalic)
  1266. }
  1267. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  1268. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  1269. *Command: CmdWhiteTextOn { *Cmd : "<1D>1owE<1D>1tsE<1D>1;0;0spE" }
  1270. *Command: CmdWhiteTextOff { *Cmd : "<1D>0owE<1D>0tsE" }
  1271. *%*Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  1272. *%*Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  1273. *Command: CmdSelectSingleByteMode { *CallbackID: 21 }
  1274. *Command: CmdSelectDoubleByteMode { *CallbackID: 22 }
  1275. *Command: CmdVerticalPrintingOn { *Cmd : "<1D>1vpC" }
  1276. *Command: CmdVerticalPrintingOff { *Cmd : "<1D>0vpC" }
  1277. *TTFSEnabled?: TRUE
  1278. } *% FontDefines
  1279. *TTFS: MINCHOUH
  1280. {
  1281. *rcTTFontNameID: 141
  1282. *rcDevFontNameID:142
  1283. }
  1284. *TTFS: MINCHOUV
  1285. {
  1286. *rcTTFontNameID: 143
  1287. *rcDevFontNameID:144
  1288. }
  1289. *TTFS: KGOTHIC
  1290. {
  1291. *rcTTFontNameID: 145
  1292. *rcDevFontNameID:146
  1293. }
  1294. *TTFS: KGOTHICV
  1295. {
  1296. *rcTTFontNameID: 147
  1297. *rcDevFontNameID:148
  1298. }
  1299. *TTFS: MINCHOUH_E
  1300. {
  1301. *rcTTFontNameID: 160
  1302. *rcDevFontNameID:142
  1303. }
  1304. *TTFS: MINCHOUV_E
  1305. {
  1306. *rcTTFontNameID: 161
  1307. *rcDevFontNameID:144
  1308. }
  1309. *TTFS: KGOTHIC_E
  1310. {
  1311. *rcTTFontNameID: 162
  1312. *rcDevFontNameID:146
  1313. }
  1314. *TTFS: KGOTHICV_E
  1315. {
  1316. *rcTTFontNameID: 163
  1317. *rcDevFontNameID:148
  1318. }
  1319. *MinGrayFill: 0
  1320. *Command: CmdSetRectWidth {
  1321. *CallbackID: 150
  1322. *Params: LIST(RectXSize)
  1323. }
  1324. *Command: CmdSetRectHeight {
  1325. *CallbackID: 151
  1326. *Params: LIST(RectYSize)
  1327. }
  1328. *BlockMacro: BlackRectFillDefines
  1329. {
  1330. *Command: CmdRectBlackFill
  1331. {
  1332. *CallbackID: 154
  1333. *Params: LIST(DestX,DestY)
  1334. }
  1335. } *% BlackRectFillDefines
  1336. *BlockMacro: GrayRectFillDefines
  1337. {
  1338. *Command: CmdRectGrayFill
  1339. {
  1340. *CallbackID: 152
  1341. *Params: LIST(DestX,DestY,GrayPercentage)
  1342. }
  1343. } *% GrayRectFillDefines
  1344. *BlockMacro: WhiteRectFillDefines
  1345. {
  1346. *Command: CmdRectWhiteFill
  1347. {
  1348. *CallbackID: 153
  1349. *Params: LIST(DestX,DestY)
  1350. }
  1351. } *% WhiteRectFillDefines
  1352. *switch: ColorMode
  1353. {
  1354. *case: Mono
  1355. {
  1356. *InsertBlock: =FontDefines
  1357. *InsertBlock: =BlackRectFillDefines
  1358. *InsertBlock: =GrayRectFillDefines
  1359. *InsertBlock: =WhiteRectFillDefines
  1360. *MaxGrayFill: 100
  1361. }
  1362. *case: Color
  1363. {
  1364. *InsertBlock: =FontDefines
  1365. *InsertBlock: =WhiteRectFillDefines
  1366. *MaxGrayFill: 0
  1367. }
  1368. *case: Color_Single
  1369. {
  1370. *MaxGrayFill: 0
  1371. }
  1372. *case: Color_Many
  1373. {
  1374. *MaxGrayFill: 0
  1375. }
  1376. *case: Color_Many2
  1377. {
  1378. *MaxGrayFill: 0
  1379. }
  1380. }