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.

965 lines
29 KiB

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