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.

1008 lines
30 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CN8IIR.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Canon LBP-8 IIR"
  10. *MasterUnits: PAIR(1200, 1200)
  11. *ResourceDLL: "cnlbpres.dll"
  12. *PrinterType: PAGE
  13. *PrintRate: 8
  14. *PrintRatePPM: 8
  15. *PrintRateUnit: PPM
  16. *MaxCopies: 99
  17. *FontCartSlots: 2
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.2
  28. *NoPageEject?: TRUE
  29. *Cmd: "<1B>[0%%r"
  30. }
  31. }
  32. *Option: LANDSCAPE_CC90
  33. {
  34. *rcNameID: =LANDSCAPE_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.2
  38. *NoPageEject?: TRUE
  39. *Cmd: "<1B>[1%%r"
  40. }
  41. }
  42. }
  43. *Feature: InputBin
  44. {
  45. *rcNameID: =PAPER_SOURCE_DISPLAY
  46. *DefaultOption: UPPER
  47. *Option: UPPER
  48. {
  49. *rcNameID: =UPPER_TRAY_DISPLAY
  50. *Command: CmdSelect
  51. {
  52. *Order: DOC_SETUP.6
  53. *Cmd: "<1B>[3q"
  54. }
  55. }
  56. *Option: LOWER
  57. {
  58. *rcNameID: =LOWER_TRAY_DISPLAY
  59. *Command: CmdSelect
  60. {
  61. *Order: DOC_SETUP.6
  62. *Cmd: "<1B>[2q"
  63. }
  64. }
  65. *Option: Option3
  66. {
  67. *rcNameID: 258
  68. *Command: CmdSelect
  69. {
  70. *Order: DOC_SETUP.6
  71. *Cmd: "<1B>[0q"
  72. }
  73. }
  74. *Option: MANUAL
  75. {
  76. *rcNameID: =MANUAL_FEED_DISPLAY
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.6
  80. *Cmd: "<1B>[1q"
  81. }
  82. }
  83. *Option: ENVFEED
  84. {
  85. *rcNameID: =ENV_FEED_DISPLAY
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.6
  89. *Cmd: "<1B>[4q"
  90. }
  91. }
  92. }
  93. *Feature: Resolution
  94. {
  95. *rcNameID: =RESOLUTION_DISPLAY
  96. *DefaultOption: Option1
  97. *Option: Option1
  98. {
  99. *Name: "300 x 300 " =DOTS_PER_INCH
  100. *DPI: PAIR(300, 300)
  101. *TextDPI: PAIR(300, 300)
  102. *MinStripBlankPixels: 32
  103. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  104. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  105. *SpotDiameter: 100
  106. *Command: CmdSendBlockData { *Cmd : "<1B>[" %d{NumOfDataBytes }";" %d{RasterDataWidthInBytes }";300.r" }
  107. }
  108. *Option: Option2
  109. {
  110. *Name: "150 x 150 " =DOTS_PER_INCH
  111. *DPI: PAIR(150, 150)
  112. *TextDPI: PAIR(300, 300)
  113. *MinStripBlankPixels: 32
  114. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  115. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  116. *SpotDiameter: 100
  117. *Command: CmdSendBlockData { *Cmd : "<1B>[" %d{NumOfDataBytes }";" %d{RasterDataWidthInBytes }";150.r" }
  118. }
  119. *Option: Option3
  120. {
  121. *Name: "75 x 75 " =DOTS_PER_INCH
  122. *DPI: PAIR(75, 75)
  123. *TextDPI: PAIR(300, 300)
  124. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  125. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  126. *SpotDiameter: 100
  127. *Command: CmdSendBlockData { *Cmd : "<1B>[" %d{NumOfDataBytes }";" %d{RasterDataWidthInBytes }";75.r" }
  128. }
  129. }
  130. *Feature: PaperSize
  131. {
  132. *rcNameID: =PAPER_SIZE_DISPLAY
  133. *DefaultOption: LETTER
  134. *Option: LETTER
  135. {
  136. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  137. *switch: Orientation
  138. {
  139. *case: PORTRAIT
  140. {
  141. *PrintableArea: PAIR(9600, 12320)
  142. *PrintableOrigin: PAIR(200, 480)
  143. *switch: Resolution
  144. {
  145. *case: Option3
  146. {
  147. *PrintableArea: PAIR(9584, 12320)
  148. *PrintableOrigin: PAIR(208, 480)
  149. }
  150. }
  151. *CursorOrigin: PAIR(200, 480)
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.7
  155. *Cmd: "<1B>[30;;p"
  156. }
  157. }
  158. *case: LANDSCAPE_CC90
  159. {
  160. *PrintableArea: PAIR(9370, 12640)
  161. *PrintableOrigin: PAIR(432, 250)
  162. *switch: Resolution
  163. {
  164. *case: Option1
  165. {
  166. *PrintableArea: PAIR(9368, 12636)
  167. *PrintableOrigin: PAIR(440, 252)
  168. }
  169. *case: Option2
  170. {
  171. *PrintableArea: PAIR(9368, 12632)
  172. *PrintableOrigin: PAIR(440, 256)
  173. }
  174. *case: Option3
  175. {
  176. *PrintableArea: PAIR(9360, 12624)
  177. *PrintableOrigin: PAIR(448, 256)
  178. }
  179. }
  180. *CursorOrigin: PAIR(432, 12970)
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.7
  184. *Cmd: "<1B>[31;;p"
  185. }
  186. }
  187. }
  188. }
  189. *Option: LEGAL
  190. {
  191. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  192. *switch: Orientation
  193. {
  194. *case: PORTRAIT
  195. {
  196. *PrintableArea: PAIR(9600, 15920)
  197. *PrintableOrigin: PAIR(200, 480)
  198. *switch: Resolution
  199. {
  200. *case: Option3
  201. {
  202. *PrintableArea: PAIR(9584, 15920)
  203. *PrintableOrigin: PAIR(208, 480)
  204. }
  205. }
  206. *CursorOrigin: PAIR(0, 0)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.7
  210. *Cmd: "<1B>[32;;p"
  211. }
  212. }
  213. *case: LANDSCAPE_CC90
  214. {
  215. *PrintableArea: PAIR(9370, 16240)
  216. *PrintableOrigin: PAIR(440, 250)
  217. *switch: Resolution
  218. {
  219. *case: Option1
  220. {
  221. *PrintableArea: PAIR(9368, 16236)
  222. *PrintableOrigin: PAIR(440, 252)
  223. }
  224. *case: Option2
  225. {
  226. *PrintableArea: PAIR(9368, 16232)
  227. *PrintableOrigin: PAIR(440, 256)
  228. }
  229. *case: Option3
  230. {
  231. *PrintableArea: PAIR(9360, 16224)
  232. *PrintableOrigin: PAIR(448, 256)
  233. }
  234. }
  235. *CursorOrigin: PAIR(0, 16800)
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.7
  239. *Cmd: "<1B>[33;;p"
  240. }
  241. }
  242. }
  243. }
  244. *Option: EXECUTIVE
  245. {
  246. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  247. *switch: Orientation
  248. {
  249. *case: PORTRAIT
  250. {
  251. *PrintableArea: PAIR(8100, 11720)
  252. *PrintableOrigin: PAIR(200, 480)
  253. *switch: Resolution
  254. {
  255. *case: Option2
  256. {
  257. *PrintableArea: PAIR(8096, 11720)
  258. }
  259. *case: Option3
  260. {
  261. *PrintableArea: PAIR(8080, 11712)
  262. *PrintableOrigin: PAIR(208, 480)
  263. }
  264. }
  265. *CursorOrigin: PAIR(0, 0)
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.7
  269. *Cmd: "<1B>[40;;p"
  270. }
  271. }
  272. *case: LANDSCAPE_CC90
  273. {
  274. *PrintableArea: PAIR(7870, 12040)
  275. *PrintableOrigin: PAIR(440, 250)
  276. *switch: Resolution
  277. {
  278. *case: Option1
  279. {
  280. *PrintableArea: PAIR(7868, 12036)
  281. *PrintableOrigin: PAIR(440, 252)
  282. }
  283. *case: Option2
  284. {
  285. *PrintableArea: PAIR(7864, 12032)
  286. *PrintableOrigin: PAIR(440, 256)
  287. }
  288. *case: Option3
  289. {
  290. *PrintableArea: PAIR(7856, 12032)
  291. *PrintableOrigin: PAIR(448, 256)
  292. }
  293. }
  294. *CursorOrigin: PAIR(0, 12600)
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.7
  298. *Cmd: "<1B>[41;;p"
  299. }
  300. }
  301. }
  302. }
  303. *Option: A4
  304. {
  305. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  306. *switch: Orientation
  307. {
  308. *case: PORTRAIT
  309. {
  310. *PrintableArea: PAIR(9264, 13128)
  311. *PrintableOrigin: PAIR(200, 480)
  312. *switch: Resolution
  313. {
  314. *case: Option3
  315. {
  316. *PrintableArea: PAIR(9248, 13120)
  317. *PrintableOrigin: PAIR(208, 480)
  318. }
  319. }
  320. *CursorOrigin: PAIR(200, 480)
  321. *Command: CmdSelect
  322. {
  323. *Order: DOC_SETUP.7
  324. *Cmd: "<1B>[14;;p"
  325. }
  326. }
  327. *case: LANDSCAPE_CC90
  328. {
  329. *PrintableArea: PAIR(9064, 13408)
  330. *PrintableOrigin: PAIR(420, 230)
  331. *switch: Resolution
  332. {
  333. *case: Option1
  334. {
  335. *PrintableArea: PAIR(9064, 13404)
  336. *PrintableOrigin: PAIR(420, 232)
  337. }
  338. *case: Option2
  339. {
  340. *PrintableArea: PAIR(9056, 13400)
  341. *PrintableOrigin: PAIR(424, 232)
  342. }
  343. *case: Option3
  344. {
  345. *PrintableArea: PAIR(9040, 13392)
  346. *PrintableOrigin: PAIR(432, 240)
  347. }
  348. }
  349. *CursorOrigin: PAIR(420, 13734)
  350. *Command: CmdSelect
  351. {
  352. *Order: DOC_SETUP.7
  353. *Cmd: "<1B>[15;;p"
  354. }
  355. }
  356. }
  357. }
  358. *Option: A5
  359. {
  360. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  361. *switch: Orientation
  362. {
  363. *case: PORTRAIT
  364. {
  365. *PrintableArea: PAIR(6396, 9044)
  366. *PrintableOrigin: PAIR(200, 480)
  367. *switch: Resolution
  368. {
  369. *case: Option2
  370. {
  371. *PrintableArea: PAIR(6392, 9040)
  372. }
  373. *case: Option3
  374. {
  375. *PrintableArea: PAIR(6384, 9040)
  376. *PrintableOrigin: PAIR(208, 480)
  377. }
  378. }
  379. *CursorOrigin: PAIR(0, 0)
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.7
  383. *Cmd: "<1B>[16;;p"
  384. }
  385. }
  386. *case: LANDSCAPE_CC90
  387. {
  388. *PrintableArea: PAIR(6166, 9364)
  389. *PrintableOrigin: PAIR(440, 250)
  390. *switch: Resolution
  391. {
  392. *case: Option1
  393. {
  394. *PrintableArea: PAIR(6164, 9360)
  395. *PrintableOrigin: PAIR(440, 252)
  396. }
  397. *case: Option2
  398. {
  399. *PrintableArea: PAIR(6160, 9352)
  400. *PrintableOrigin: PAIR(440, 256)
  401. }
  402. *case: Option3
  403. {
  404. *PrintableArea: PAIR(6144, 9344)
  405. *PrintableOrigin: PAIR(448, 256)
  406. }
  407. }
  408. *CursorOrigin: PAIR(0, 9924)
  409. *Command: CmdSelect
  410. {
  411. *Order: DOC_SETUP.7
  412. *Cmd: "<1B>[17;;p"
  413. }
  414. }
  415. }
  416. }
  417. *Option: B5
  418. {
  419. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  420. *switch: Orientation
  421. {
  422. *case: PORTRAIT
  423. {
  424. *PrintableArea: PAIR(8004, 11264)
  425. *PrintableOrigin: PAIR(200, 480)
  426. *switch: Resolution
  427. {
  428. *case: Option2
  429. {
  430. *PrintableArea: PAIR(8000, 11264)
  431. }
  432. *case: Option3
  433. {
  434. *PrintableArea: PAIR(7984, 11264)
  435. *PrintableOrigin: PAIR(208, 480)
  436. }
  437. }
  438. *CursorOrigin: PAIR(0, 0)
  439. *Command: CmdSelect
  440. {
  441. *Order: DOC_SETUP.7
  442. *Cmd: "<1B>[26;;p"
  443. }
  444. }
  445. *case: LANDSCAPE_CC90
  446. {
  447. *PrintableArea: PAIR(7774, 11584)
  448. *PrintableOrigin: PAIR(440, 250)
  449. *switch: Resolution
  450. {
  451. *case: Option1
  452. {
  453. *PrintableArea: PAIR(7772, 11580)
  454. *PrintableOrigin: PAIR(440, 252)
  455. }
  456. *case: Option2
  457. {
  458. *PrintableArea: PAIR(7768, 11576)
  459. *PrintableOrigin: PAIR(440, 256)
  460. }
  461. *case: Option3
  462. {
  463. *PrintableArea: PAIR(7760, 11568)
  464. *PrintableOrigin: PAIR(448, 256)
  465. }
  466. }
  467. *CursorOrigin: PAIR(0, 12144)
  468. *Command: CmdSelect
  469. {
  470. *Order: DOC_SETUP.7
  471. *Cmd: "<1B>[27;;p"
  472. }
  473. }
  474. }
  475. }
  476. *Option: ENV_MONARCH
  477. {
  478. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  479. *switch: Orientation
  480. {
  481. *case: PORTRAIT
  482. {
  483. *PrintableArea: PAIR(4056, 8120)
  484. *PrintableOrigin: PAIR(200, 480)
  485. *switch: Resolution
  486. {
  487. *case: Option3
  488. {
  489. *PrintableArea: PAIR(4048, 8112)
  490. *PrintableOrigin: PAIR(208, 480)
  491. }
  492. }
  493. *CursorOrigin: PAIR(0, 0)
  494. *Command: CmdSelect
  495. {
  496. *Order: DOC_SETUP.7
  497. *Cmd: "<1B>[80;2250;1162p"
  498. }
  499. }
  500. *case: LANDSCAPE_CC90
  501. {
  502. *PrintableArea: PAIR(3816, 8440)
  503. *PrintableOrigin: PAIR(390, 250)
  504. *switch: Resolution
  505. {
  506. *case: Option1
  507. {
  508. *PrintableArea: PAIR(3812, 8436)
  509. *PrintableOrigin: PAIR(392, 252)
  510. }
  511. *case: Option2
  512. {
  513. *PrintableArea: PAIR(3808, 8432)
  514. *PrintableOrigin: PAIR(392, 256)
  515. }
  516. *case: Option3
  517. {
  518. *PrintableArea: PAIR(3792, 8432)
  519. *PrintableOrigin: PAIR(400, 256)
  520. }
  521. }
  522. *CursorOrigin: PAIR(0, 9000)
  523. *Command: CmdSelect
  524. {
  525. *Order: DOC_SETUP.7
  526. *Cmd: "<1B>[81;2250;1162p"
  527. }
  528. }
  529. }
  530. }
  531. *Option: ENV_B5
  532. {
  533. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  534. *switch: Orientation
  535. {
  536. *case: PORTRAIT
  537. {
  538. *PrintableArea: PAIR(7716, 10928)
  539. *PrintableOrigin: PAIR(200, 480)
  540. *switch: Resolution
  541. {
  542. *case: Option2
  543. {
  544. *PrintableArea: PAIR(7712, 10928)
  545. }
  546. *case: Option3
  547. {
  548. *PrintableArea: PAIR(7696, 10928)
  549. *PrintableOrigin: PAIR(208, 480)
  550. }
  551. }
  552. *CursorOrigin: PAIR(0, 0)
  553. *Command: CmdSelect
  554. {
  555. *Order: DOC_SETUP.7
  556. *Cmd: "<1B>[82;2953;2079p"
  557. }
  558. }
  559. *case: LANDSCAPE_CC90
  560. {
  561. *PrintableArea: PAIR(7476, 11248)
  562. *PrintableOrigin: PAIR(390, 250)
  563. *switch: Resolution
  564. {
  565. *case: Option1
  566. {
  567. *PrintableArea: PAIR(7472, 11244)
  568. *PrintableOrigin: PAIR(392, 252)
  569. }
  570. *case: Option2
  571. {
  572. *PrintableArea: PAIR(7472, 11240)
  573. *PrintableOrigin: PAIR(392, 256)
  574. }
  575. *case: Option3
  576. {
  577. *PrintableArea: PAIR(7456, 11232)
  578. *PrintableOrigin: PAIR(400, 256)
  579. }
  580. }
  581. *CursorOrigin: PAIR(0, 11808)
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.7
  585. *Cmd: "<1B>[83;2953;2079p"
  586. }
  587. }
  588. }
  589. }
  590. *Option: ENV_DL
  591. {
  592. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  593. *switch: Orientation
  594. {
  595. *case: PORTRAIT
  596. {
  597. *PrintableArea: PAIR(4596, 9512)
  598. *PrintableOrigin: PAIR(200, 480)
  599. *switch: Resolution
  600. {
  601. *case: Option2
  602. {
  603. *PrintableArea: PAIR(4592, 9512)
  604. }
  605. *case: Option3
  606. {
  607. *PrintableArea: PAIR(4576, 9504)
  608. *PrintableOrigin: PAIR(208, 480)
  609. }
  610. }
  611. *CursorOrigin: PAIR(0, 0)
  612. *Command: CmdSelect
  613. {
  614. *Order: DOC_SETUP.7
  615. *Cmd: "<1B>[84;2594;1299p"
  616. }
  617. }
  618. *case: LANDSCAPE_CC90
  619. {
  620. *PrintableArea: PAIR(4356, 9832)
  621. *PrintableOrigin: PAIR(390, 250)
  622. *switch: Resolution
  623. {
  624. *case: Option1
  625. {
  626. *PrintableArea: PAIR(4352, 9828)
  627. *PrintableOrigin: PAIR(392, 252)
  628. }
  629. *case: Option2
  630. {
  631. *PrintableArea: PAIR(4352, 9824)
  632. *PrintableOrigin: PAIR(392, 256)
  633. }
  634. *case: Option3
  635. {
  636. *PrintableArea: PAIR(4336, 9824)
  637. *PrintableOrigin: PAIR(400, 256)
  638. }
  639. }
  640. *CursorOrigin: PAIR(0, 10392)
  641. *Command: CmdSelect
  642. {
  643. *Order: DOC_SETUP.7
  644. *Cmd: "<1B>[85;2594;1299p"
  645. }
  646. }
  647. }
  648. }
  649. *Option: ENV_C5
  650. {
  651. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  652. *switch: Orientation
  653. {
  654. *case: PORTRAIT
  655. {
  656. *PrintableArea: PAIR(7056, 9944)
  657. *PrintableOrigin: PAIR(200, 480)
  658. *switch: Resolution
  659. {
  660. *case: Option3
  661. {
  662. *PrintableArea: PAIR(7040, 9936)
  663. *PrintableOrigin: PAIR(208, 480)
  664. }
  665. }
  666. *CursorOrigin: PAIR(0, 0)
  667. *Command: CmdSelect
  668. {
  669. *Order: DOC_SETUP.7
  670. *Cmd: "<1B>[86;2704;1913p"
  671. }
  672. }
  673. *case: LANDSCAPE_CC90
  674. {
  675. *PrintableArea: PAIR(6816, 10264)
  676. *PrintableOrigin: PAIR(390, 250)
  677. *switch: Resolution
  678. {
  679. *case: Option1
  680. {
  681. *PrintableArea: PAIR(6812, 10260)
  682. *PrintableOrigin: PAIR(392, 252)
  683. }
  684. *case: Option2
  685. {
  686. *PrintableArea: PAIR(6808, 10256)
  687. *PrintableOrigin: PAIR(392, 256)
  688. }
  689. *case: Option3
  690. {
  691. *PrintableArea: PAIR(6800, 10256)
  692. *PrintableOrigin: PAIR(400, 256)
  693. }
  694. }
  695. *CursorOrigin: PAIR(0, 10824)
  696. *Command: CmdSelect
  697. {
  698. *Order: DOC_SETUP.7
  699. *Cmd: "<1B>[87;2704;1913p"
  700. }
  701. }
  702. }
  703. }
  704. *Option: ENV_9
  705. {
  706. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  707. *switch: Orientation
  708. {
  709. *case: PORTRAIT
  710. {
  711. *PrintableArea: PAIR(4056, 9776)
  712. *PrintableOrigin: PAIR(200, 480)
  713. *switch: Resolution
  714. {
  715. *case: Option3
  716. {
  717. *PrintableArea: PAIR(4048, 9776)
  718. *PrintableOrigin: PAIR(208, 480)
  719. }
  720. }
  721. *CursorOrigin: PAIR(0, 0)
  722. *Command: CmdSelect
  723. {
  724. *Order: DOC_SETUP.7
  725. *Cmd: "<1B>[88;2663;1163p"
  726. }
  727. }
  728. *case: LANDSCAPE_CC90
  729. {
  730. *PrintableArea: PAIR(3816, 10096)
  731. *PrintableOrigin: PAIR(390, 250)
  732. *switch: Resolution
  733. {
  734. *case: Option1
  735. {
  736. *PrintableArea: PAIR(3812, 10092)
  737. *PrintableOrigin: PAIR(392, 252)
  738. }
  739. *case: Option2
  740. {
  741. *PrintableArea: PAIR(3808, 10088)
  742. *PrintableOrigin: PAIR(392, 256)
  743. }
  744. *case: Option3
  745. {
  746. *PrintableArea: PAIR(3792, 10080)
  747. *PrintableOrigin: PAIR(400, 256)
  748. }
  749. }
  750. *CursorOrigin: PAIR(0, 10656)
  751. *Command: CmdSelect
  752. {
  753. *Order: DOC_SETUP.7
  754. *Cmd: "<1B>[89;2663;1163p"
  755. }
  756. }
  757. }
  758. }
  759. *Option: ENV_10
  760. {
  761. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  762. *switch: Orientation
  763. {
  764. *case: PORTRAIT
  765. {
  766. *PrintableArea: PAIR(4356, 10620)
  767. *PrintableOrigin: PAIR(200, 380)
  768. *switch: Resolution
  769. {
  770. *case: Option2
  771. {
  772. *PrintableArea: PAIR(4352, 10616)
  773. *PrintableOrigin: PAIR(200, 384)
  774. }
  775. *case: Option3
  776. {
  777. *PrintableArea: PAIR(4336, 10608)
  778. *PrintableOrigin: PAIR(208, 384)
  779. }
  780. }
  781. *CursorOrigin: PAIR(0, 0)
  782. *Command: CmdSelect
  783. {
  784. *Order: DOC_SETUP.7
  785. *Cmd: "<1B>[90;2850;1237p"
  786. }
  787. }
  788. *case: LANDSCAPE_CC90
  789. {
  790. *PrintableArea: PAIR(4116, 10840)
  791. *PrintableOrigin: PAIR(390, 250)
  792. *switch: Resolution
  793. {
  794. *case: Option1
  795. {
  796. *PrintableArea: PAIR(4112, 10836)
  797. *PrintableOrigin: PAIR(392, 252)
  798. }
  799. *case: Option2
  800. {
  801. *PrintableArea: PAIR(4112, 10832)
  802. *PrintableOrigin: PAIR(392, 256)
  803. }
  804. *case: Option3
  805. {
  806. *PrintableArea: PAIR(4096, 10832)
  807. *PrintableOrigin: PAIR(400, 256)
  808. }
  809. }
  810. *CursorOrigin: PAIR(0, 11400)
  811. *Command: CmdSelect
  812. {
  813. *Order: DOC_SETUP.7
  814. *Cmd: "<1B>[91;2850;1237p"
  815. }
  816. }
  817. }
  818. }
  819. *Option: CUSTOMSIZE
  820. {
  821. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  822. *MinSize: PAIR(2400, 2400)
  823. *MaxSize: PAIR(20400, 32767)
  824. *MaxPrintableWidth: 20400
  825. *MinLeftMargin: 200
  826. *CenterPrintable?: FALSE
  827. *switch: Orientation
  828. {
  829. *case: PORTRAIT
  830. {
  831. *Command: CmdSelect
  832. {
  833. *Order: DOC_SETUP.7
  834. *Cmd: "<1B>[98;" %d{(PhysPaperLength / 4) }";2550p"
  835. }
  836. }
  837. *case: LANDSCAPE_CC90
  838. {
  839. *Command: CmdSelect
  840. {
  841. *Order: DOC_SETUP.7
  842. *Cmd: "<1B>[99;" %d{(PhysPaperLength / 4) }";2550p"
  843. }
  844. }
  845. }
  846. }
  847. }
  848. *Feature: Halftone
  849. {
  850. *rcNameID: =HALFTONING_DISPLAY
  851. *DefaultOption: HT_PATSIZE_AUTO
  852. *Option: HT_PATSIZE_AUTO
  853. {
  854. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  855. }
  856. *Ifdef: WINNT_50
  857. *Option: HT_PATSIZE_SUPERCELL_M
  858. {
  859. *rcNameID: =HT_SUPERCELL_DISPLAY
  860. }
  861. *Endif:
  862. *Option: HT_PATSIZE_6x6_M
  863. {
  864. *rcNameID: =HT_DITHER6X6_DISPLAY
  865. }
  866. *Option: HT_PATSIZE_8x8_M
  867. {
  868. *rcNameID: =HT_DITHER8X8_DISPLAY
  869. }
  870. }
  871. *Feature: Memory
  872. {
  873. *rcNameID: =PRINTER_MEMORY_DISPLAY
  874. *DefaultOption: 512KB
  875. *Option: 512KB
  876. {
  877. *Name: "512KB"
  878. *MemoryConfigKB: PAIR(512, 368)
  879. }
  880. *Option: 1536KB
  881. {
  882. *Name: "1536KB"
  883. *MemoryConfigKB: PAIR(1536, 1392)
  884. }
  885. *Option: 2560KB
  886. {
  887. *Name: "2560KB"
  888. *MemoryConfigKB: PAIR(2560, 2415)
  889. }
  890. *Option: 3584KB
  891. {
  892. *Name: "3584KB"
  893. *MemoryConfigKB: PAIR(3584, 3440)
  894. }
  895. }
  896. *Feature: Duplex
  897. {
  898. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  899. *DefaultOption: NONE
  900. *Option: NONE
  901. {
  902. *rcNameID: =NONE_DISPLAY
  903. *Command: CmdSelect
  904. {
  905. *Order: DOC_SETUP.4
  906. *Cmd: "<1B>[0#x"
  907. }
  908. }
  909. *Option: VERTICAL
  910. {
  911. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  912. *Command: CmdSelect
  913. {
  914. *Order: DOC_SETUP.5
  915. *Cmd: "<1B>[1;0;#x"
  916. }
  917. }
  918. *Option: HORIZONTAL
  919. {
  920. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  921. *Command: CmdSelect
  922. {
  923. *Order: DOC_SETUP.5
  924. *Cmd: "<1B>[1;2;#x"
  925. }
  926. }
  927. }
  928. *Command: CmdStartDoc
  929. {
  930. *Order: DOC_SETUP.1
  931. *Cmd: "<1B>;<1B>%<<1B>[11h<1B>[7 I<1B>[?32h<1B>[?1l<1B>[?2h<1B>[?8l"
  932. }
  933. *Command: CmdStartPage
  934. {
  935. *Order: PAGE_SETUP.1
  936. *Cmd: "<0D>"
  937. }
  938. *Command: CmdEndJob
  939. {
  940. *Order: JOB_FINISH.1
  941. *Cmd: "<1B>[1v<1B>[0#x<1B>;<1B>%<"
  942. }
  943. *Command: CmdCopies
  944. {
  945. *Order: DOC_SETUP.3
  946. *Cmd: "<1B>[" %d[1,99]{NumOfCopies }"v"
  947. }
  948. *RotateCoordinate?: TRUE
  949. *RotateRaster?: TRUE
  950. *RotateFont?: TRUE
  951. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  952. *MemoryUsage: LIST(FONT)
  953. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  954. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  955. *YMoveAttributes: LIST(SEND_CR_FIRST)
  956. *XMoveThreshold: *
  957. *YMoveThreshold: 0
  958. *XMoveUnit: 300
  959. *YMoveUnit: 300
  960. *Command: CmdXMoveRelRight { *Cmd : "<1B>[" %d[0,9600]{max_repeat((DestXRel / 4) )}"a" }
  961. *Command: CmdYMoveAbsolute { *Cmd : "<1B>[" %d{(DestY / 4) }"d" }
  962. *Command: CmdYMoveRelDown { *Cmd : "<1B>[" %d{(DestYRel / 4) }"e" }
  963. *Command: CmdYMoveRelUp { *Cmd : "<1B>[" %d{(DestYRel / 4) }"k" }
  964. *Command: CmdCR { *Cmd : "<0D>" }
  965. *Command: CmdLF { *Cmd : "<0A>" }
  966. *Command: CmdFF { *Cmd : "<0C>" }
  967. *Command: CmdBackSpace { *Cmd : "<08>" }
  968. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  969. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  970. *Command: CmdPushCursor { *Cmd : "<1B>[1;1x" }
  971. *Command: CmdPopCursor { *Cmd : "<1B>[0;1;0x" }
  972. *EjectPageWithFF?: TRUE
  973. *OutputDataFormat: H_BYTE
  974. *OptimizeLeftBound?: TRUE
  975. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  976. *CursorYAfterSendBlockData: NO_MOVE
  977. *DefaultFont: 3
  978. *DefaultCTT: 0
  979. *CharPosition: BASELINE
  980. *DeviceFonts: LIST(1,2,3,4)
  981. *FontCartridge: FC1
  982. {
  983. *rcCartridgeNameID: 259
  984. *Fonts: LIST(20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,
  985. + 36,37,38,39,40,41)
  986. }
  987. *FontCartridge: FC2
  988. {
  989. *rcCartridgeNameID: 260
  990. *Fonts: LIST(56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,
  991. + 72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,
  992. + 88,89,90,91,92,93,94,95,96,97)
  993. }
  994. *FontCartridge: FC3
  995. {
  996. *rcCartridgeNameID: 261
  997. *Fonts: LIST(56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,
  998. + 72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,
  999. + 88,89,90,91,92,93,94,95,96,97)
  1000. }
  1001. *FontCartridge: FC4
  1002. {
  1003. *rcCartridgeNameID: 262
  1004. *Fonts: LIST(5,6,7,8,42,43,44,45,46,47,48,49,50,51,52,53,
  1005. + 54,55)
  1006. }
  1007. *Command: CmdUnderlineOn { *Cmd : "<1B>[4m" }
  1008. *Command: CmdUnderlineOff { *Cmd : "<1B>[24m" }