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.

1003 lines
31 KiB

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