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.

1046 lines
32 KiB

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