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.

995 lines
30 KiB

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