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.

953 lines
30 KiB

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