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.

1030 lines
30 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "IB4039.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "IBM 4039 LaserPrinter"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "pcl5eres.dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  14. *FontCartSlots: 1
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. *Command: CmdSelect
  23. {
  24. *Order: DOC_SETUP.2
  25. *NoPageEject?: TRUE
  26. *Cmd: "<1B>&l0O"
  27. }
  28. }
  29. *Option: LANDSCAPE_CC90
  30. {
  31. *rcNameID: =LANDSCAPE_DISPLAY
  32. *Command: CmdSelect
  33. {
  34. *Order: DOC_SETUP.2
  35. *NoPageEject?: TRUE
  36. *Cmd: "<1B>&l1O"
  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>&l1H"
  51. }
  52. }
  53. *Option: MANUAL
  54. {
  55. *rcNameID: =MANUAL_FEED_DISPLAY
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.6
  59. *Cmd: "<1B>&l2H"
  60. }
  61. }
  62. *Option: ENVMANUAL
  63. {
  64. *rcNameID: =ENV_MANUAL_DISPLAY
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.6
  68. *Cmd: "<1B>&l3H"
  69. }
  70. }
  71. *Option: LOWER
  72. {
  73. *rcNameID: =LOWER_TRAY_DISPLAY
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.6
  77. *Cmd: "<1B>&l4H"
  78. }
  79. }
  80. *Option: ENVFEED
  81. {
  82. *rcNameID: =ENV_FEED_DISPLAY
  83. *Command: CmdSelect
  84. {
  85. *Order: DOC_SETUP.6
  86. *Cmd: "<1B>&l6H"
  87. }
  88. }
  89. }
  90. *Feature: Resolution
  91. {
  92. *rcNameID: =RESOLUTION_DISPLAY
  93. *DefaultOption: Option1
  94. *Option: Option1
  95. {
  96. *Name: "300 x 300 " =DOTS_PER_INCH
  97. *DPI: PAIR(300, 300)
  98. *TextDPI: PAIR(300, 300)
  99. *MinStripBlankPixels: 32
  100. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  101. *SpotDiameter: 100
  102. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  103. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  104. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.8
  108. *Cmd: "<1B>*t300R"
  109. }
  110. }
  111. *Option: Option2
  112. {
  113. *Name: "150 x 150 " =DOTS_PER_INCH
  114. *DPI: PAIR(150, 150)
  115. *TextDPI: PAIR(300, 300)
  116. *MinStripBlankPixels: 32
  117. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  118. *SpotDiameter: 100
  119. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  120. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  121. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  122. *Command: CmdSelect
  123. {
  124. *Order: DOC_SETUP.8
  125. *Cmd: "<1B>*t150R"
  126. }
  127. }
  128. *Option: Option3
  129. {
  130. *Name: "75 x 75 " =DOTS_PER_INCH
  131. *DPI: PAIR(75, 75)
  132. *TextDPI: PAIR(300, 300)
  133. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  134. *SpotDiameter: 100
  135. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  136. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  137. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  138. *Command: CmdSelect
  139. {
  140. *Order: DOC_SETUP.8
  141. *Cmd: "<1B>*t75R"
  142. }
  143. }
  144. }
  145. *Feature: PaperSize
  146. {
  147. *rcNameID: =PAPER_SIZE_DISPLAY
  148. *DefaultOption: LETTER
  149. *Option: LETTER
  150. {
  151. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  152. *PageProtectMem: 1028
  153. *switch: Orientation
  154. {
  155. *case: PORTRAIT
  156. {
  157. *PrintableArea: PAIR(4800, 6342)
  158. *PrintableOrigin: PAIR(150, 108)
  159. *switch: Resolution
  160. {
  161. *case: Option2
  162. {
  163. *PrintableArea: PAIR(4796, 6340)
  164. *PrintableOrigin: PAIR(152, 108)
  165. }
  166. *case: Option3
  167. {
  168. *PrintableArea: PAIR(4792, 6336)
  169. *PrintableOrigin: PAIR(152, 112)
  170. }
  171. }
  172. *CursorOrigin: PAIR(150, 104)
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.7
  176. *Cmd: "<1B>&l2a8c1E"
  177. }
  178. }
  179. *case: LANDSCAPE_CC90
  180. {
  181. *PrintableArea: PAIR(4850, 6300)
  182. *PrintableOrigin: PAIR(150, 150)
  183. *switch: Resolution
  184. {
  185. *case: Option2
  186. {
  187. *PrintableArea: PAIR(4848, 6296)
  188. *PrintableOrigin: PAIR(152, 152)
  189. }
  190. *case: Option3
  191. {
  192. *PrintableArea: PAIR(4848, 6296)
  193. *PrintableOrigin: PAIR(152, 152)
  194. }
  195. }
  196. *CursorOrigin: PAIR(116, 6450)
  197. *Command: CmdSelect
  198. {
  199. *Order: DOC_SETUP.7
  200. *Cmd: "<1B>&l2a8c1E"
  201. }
  202. }
  203. }
  204. }
  205. *Option: LEGAL
  206. {
  207. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  208. *PageProtectMem: 1692
  209. *switch: Orientation
  210. {
  211. *case: PORTRAIT
  212. {
  213. *PrintableArea: PAIR(4800, 8200)
  214. *PrintableOrigin: PAIR(150, 100)
  215. *switch: Resolution
  216. {
  217. *case: Option2
  218. {
  219. *PrintableArea: PAIR(4796, 8200)
  220. *PrintableOrigin: PAIR(152, 100)
  221. }
  222. *case: Option3
  223. {
  224. *PrintableArea: PAIR(4792, 8192)
  225. *PrintableOrigin: PAIR(152, 104)
  226. }
  227. }
  228. *CursorOrigin: PAIR(150, 100)
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.7
  232. *Cmd: "<1B>&l3a8c1E"
  233. }
  234. }
  235. *case: LANDSCAPE_CC90
  236. {
  237. *PrintableArea: PAIR(4900, 8160)
  238. *PrintableOrigin: PAIR(100, 120)
  239. *switch: Resolution
  240. {
  241. *case: Option3
  242. {
  243. *PrintableArea: PAIR(4896, 8160)
  244. *PrintableOrigin: PAIR(104, 120)
  245. }
  246. }
  247. *CursorOrigin: PAIR(100, 8280)
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.7
  251. *Cmd: "<1B>&l3a8c1E"
  252. }
  253. }
  254. }
  255. }
  256. *Option: EXECUTIVE
  257. {
  258. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  259. *PageProtectMem: 1028
  260. *switch: Orientation
  261. {
  262. *case: PORTRAIT
  263. {
  264. *PrintableArea: PAIR(4050, 6100)
  265. *PrintableOrigin: PAIR(150, 100)
  266. *switch: Resolution
  267. {
  268. *case: Option2
  269. {
  270. *PrintableArea: PAIR(4048, 6100)
  271. *PrintableOrigin: PAIR(152, 100)
  272. }
  273. *case: Option3
  274. {
  275. *PrintableArea: PAIR(4048, 6096)
  276. *PrintableOrigin: PAIR(152, 104)
  277. }
  278. }
  279. *CursorOrigin: PAIR(150, 100)
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.7
  283. *Cmd: "<1B>&l1a8c1E"
  284. }
  285. }
  286. *case: LANDSCAPE_CC90
  287. {
  288. *PrintableArea: PAIR(4150, 6060)
  289. *PrintableOrigin: PAIR(100, 120)
  290. *switch: Resolution
  291. {
  292. *case: Option2
  293. {
  294. *PrintableArea: PAIR(4148, 6060)
  295. }
  296. *case: Option3
  297. {
  298. *PrintableArea: PAIR(4144, 6056)
  299. *PrintableOrigin: PAIR(104, 120)
  300. }
  301. }
  302. *CursorOrigin: PAIR(100, 6180)
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.7
  306. *Cmd: "<1B>&l1a8c1E"
  307. }
  308. }
  309. }
  310. }
  311. *Option: A4
  312. {
  313. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  314. *PageProtectMem: 1063
  315. *switch: Orientation
  316. {
  317. *case: PORTRAIT
  318. {
  319. *PrintableArea: PAIR(4716, 6814)
  320. *PrintableOrigin: PAIR(130, 100)
  321. *switch: Resolution
  322. {
  323. *case: Option2
  324. {
  325. *PrintableArea: PAIR(4712, 6812)
  326. *PrintableOrigin: PAIR(132, 100)
  327. }
  328. *case: Option3
  329. {
  330. *PrintableArea: PAIR(4704, 6808)
  331. *PrintableOrigin: PAIR(136, 104)
  332. }
  333. }
  334. *CursorOrigin: PAIR(130, 100)
  335. *Command: CmdSelect
  336. {
  337. *Order: DOC_SETUP.7
  338. *Cmd: "<1B>&l26a8c1E"
  339. }
  340. }
  341. *case: LANDSCAPE_CC90
  342. {
  343. *PrintableArea: PAIR(4762, 6790)
  344. *PrintableOrigin: PAIR(100, 108)
  345. *switch: Resolution
  346. {
  347. *case: Option2
  348. {
  349. *PrintableArea: PAIR(4760, 6788)
  350. }
  351. *case: Option3
  352. {
  353. *PrintableArea: PAIR(4752, 6784)
  354. *PrintableOrigin: PAIR(104, 112)
  355. }
  356. }
  357. *CursorOrigin: PAIR(100, 6864)
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.7
  361. *Cmd: "<1B>&l26a8c1E"
  362. }
  363. }
  364. }
  365. }
  366. *Option: A5
  367. {
  368. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  369. *PageProtectMem: 1063
  370. *switch: Orientation
  371. {
  372. *case: PORTRAIT
  373. {
  374. *PrintableArea: PAIR(3198, 4762)
  375. *PrintableOrigin: PAIR(150, 100)
  376. *switch: Resolution
  377. {
  378. *case: Option2
  379. {
  380. *PrintableArea: PAIR(3196, 4760)
  381. *PrintableOrigin: PAIR(152, 100)
  382. }
  383. *case: Option3
  384. {
  385. *PrintableArea: PAIR(3192, 4752)
  386. *PrintableOrigin: PAIR(152, 104)
  387. }
  388. }
  389. *CursorOrigin: PAIR(150, 100)
  390. *Command: CmdSelect
  391. {
  392. *Order: DOC_SETUP.7
  393. *Cmd: "<1B>&l13a8c1E"
  394. }
  395. }
  396. *case: LANDSCAPE_CC90
  397. {
  398. *PrintableArea: PAIR(3298, 4722)
  399. *PrintableOrigin: PAIR(100, 120)
  400. *switch: Resolution
  401. {
  402. *case: Option2
  403. {
  404. *PrintableArea: PAIR(3296, 4720)
  405. }
  406. *case: Option3
  407. {
  408. *PrintableArea: PAIR(3288, 4720)
  409. *PrintableOrigin: PAIR(104, 120)
  410. }
  411. }
  412. *CursorOrigin: PAIR(100, 4842)
  413. *Command: CmdSelect
  414. {
  415. *Order: DOC_SETUP.7
  416. *Cmd: "<1B>&l13a8c1E"
  417. }
  418. }
  419. }
  420. }
  421. *Option: B5
  422. {
  423. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  424. *PageProtectMem: 1063
  425. *switch: Orientation
  426. {
  427. *case: PORTRAIT
  428. {
  429. *PrintableArea: PAIR(4002, 5872)
  430. *PrintableOrigin: PAIR(150, 100)
  431. *switch: Resolution
  432. {
  433. *case: Option2
  434. {
  435. *PrintableArea: PAIR(4000, 5872)
  436. *PrintableOrigin: PAIR(152, 100)
  437. }
  438. *case: Option3
  439. {
  440. *PrintableArea: PAIR(4000, 5864)
  441. *PrintableOrigin: PAIR(152, 104)
  442. }
  443. }
  444. *CursorOrigin: PAIR(150, 100)
  445. *Command: CmdSelect
  446. {
  447. *Order: DOC_SETUP.7
  448. *Cmd: "<1B>&l12a8c1E"
  449. }
  450. }
  451. *case: LANDSCAPE_CC90
  452. {
  453. *PrintableArea: PAIR(4102, 5832)
  454. *PrintableOrigin: PAIR(100, 120)
  455. *switch: Resolution
  456. {
  457. *case: Option2
  458. {
  459. *PrintableArea: PAIR(4100, 5832)
  460. }
  461. *case: Option3
  462. {
  463. *PrintableArea: PAIR(4096, 5832)
  464. *PrintableOrigin: PAIR(104, 120)
  465. }
  466. }
  467. *CursorOrigin: PAIR(100, 5952)
  468. *Command: CmdSelect
  469. {
  470. *Order: DOC_SETUP.7
  471. *Cmd: "<1B>&l12a8c1E"
  472. }
  473. }
  474. }
  475. }
  476. *Option: ENV_9
  477. {
  478. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  479. *PageProtectMem: 1028
  480. *switch: Orientation
  481. {
  482. *case: PORTRAIT
  483. {
  484. *PrintableArea: PAIR(2028, 5128)
  485. *PrintableOrigin: PAIR(150, 100)
  486. *switch: Resolution
  487. {
  488. *case: Option2
  489. {
  490. *PrintableArea: PAIR(2024, 5128)
  491. *PrintableOrigin: PAIR(152, 100)
  492. }
  493. *case: Option3
  494. {
  495. *PrintableArea: PAIR(2024, 5120)
  496. *PrintableOrigin: PAIR(152, 104)
  497. }
  498. }
  499. *CursorOrigin: PAIR(150, 100)
  500. *Command: CmdSelect
  501. {
  502. *Order: DOC_SETUP.7
  503. *Cmd: "<1B>&l89a8c1E"
  504. }
  505. }
  506. *case: LANDSCAPE_CC90
  507. {
  508. *PrintableArea: PAIR(2128, 5088)
  509. *PrintableOrigin: PAIR(100, 120)
  510. *switch: Resolution
  511. {
  512. *case: Option3
  513. {
  514. *PrintableArea: PAIR(2120, 5088)
  515. *PrintableOrigin: PAIR(104, 120)
  516. }
  517. }
  518. *CursorOrigin: PAIR(100, 5208)
  519. *Command: CmdSelect
  520. {
  521. *Order: DOC_SETUP.7
  522. *Cmd: "<1B>&l89a8c1E"
  523. }
  524. }
  525. }
  526. }
  527. *Option: ENV_10
  528. {
  529. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  530. *PageProtectMem: 1028
  531. *switch: Orientation
  532. {
  533. *case: PORTRAIT
  534. {
  535. *PrintableArea: PAIR(2178, 5500)
  536. *PrintableOrigin: PAIR(150, 100)
  537. *switch: Resolution
  538. {
  539. *case: Option2
  540. {
  541. *PrintableArea: PAIR(2176, 5500)
  542. *PrintableOrigin: PAIR(152, 100)
  543. }
  544. *case: Option3
  545. {
  546. *PrintableArea: PAIR(2176, 5496)
  547. *PrintableOrigin: PAIR(152, 104)
  548. }
  549. }
  550. *CursorOrigin: PAIR(150, 100)
  551. *Command: CmdSelect
  552. {
  553. *Order: DOC_SETUP.7
  554. *Cmd: "<1B>&l81a1E"
  555. }
  556. }
  557. *case: LANDSCAPE_CC90
  558. {
  559. *PrintableArea: PAIR(2278, 5460)
  560. *PrintableOrigin: PAIR(100, 120)
  561. *switch: Resolution
  562. {
  563. *case: Option2
  564. {
  565. *PrintableArea: PAIR(2276, 5460)
  566. }
  567. *case: Option3
  568. {
  569. *PrintableArea: PAIR(2272, 5456)
  570. *PrintableOrigin: PAIR(104, 120)
  571. }
  572. }
  573. *CursorOrigin: PAIR(100, 5580)
  574. *Command: CmdSelect
  575. {
  576. *Order: DOC_SETUP.7
  577. *Cmd: "<1B>&l81a1E"
  578. }
  579. }
  580. }
  581. }
  582. *Option: ENV_DL
  583. {
  584. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  585. *PageProtectMem: 1028
  586. *switch: Orientation
  587. {
  588. *case: PORTRAIT
  589. {
  590. *PrintableArea: PAIR(2298, 4996)
  591. *PrintableOrigin: PAIR(150, 100)
  592. *switch: Resolution
  593. {
  594. *case: Option2
  595. {
  596. *PrintableArea: PAIR(2296, 4996)
  597. *PrintableOrigin: PAIR(152, 100)
  598. }
  599. *case: Option3
  600. {
  601. *PrintableArea: PAIR(2296, 4992)
  602. *PrintableOrigin: PAIR(152, 104)
  603. }
  604. }
  605. *CursorOrigin: PAIR(150, 100)
  606. *Command: CmdSelect
  607. {
  608. *Order: DOC_SETUP.7
  609. *Cmd: "<1B>&l90a8c1E"
  610. }
  611. }
  612. *case: LANDSCAPE_CC90
  613. {
  614. *PrintableArea: PAIR(2398, 4956)
  615. *PrintableOrigin: PAIR(100, 120)
  616. *switch: Resolution
  617. {
  618. *case: Option2
  619. {
  620. *PrintableArea: PAIR(2396, 4956)
  621. }
  622. *case: Option3
  623. {
  624. *PrintableArea: PAIR(2392, 4952)
  625. *PrintableOrigin: PAIR(104, 120)
  626. }
  627. }
  628. *CursorOrigin: PAIR(100, 5076)
  629. *Command: CmdSelect
  630. {
  631. *Order: DOC_SETUP.7
  632. *Cmd: "<1B>&l90a8c1E"
  633. }
  634. }
  635. }
  636. }
  637. *Option: ENV_C5
  638. {
  639. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  640. *PageProtectMem: 1028
  641. *switch: Orientation
  642. {
  643. *case: PORTRAIT
  644. {
  645. *PrintableArea: PAIR(3528, 5212)
  646. *PrintableOrigin: PAIR(150, 100)
  647. *switch: Resolution
  648. {
  649. *case: Option2
  650. {
  651. *PrintableArea: PAIR(3524, 5212)
  652. *PrintableOrigin: PAIR(152, 100)
  653. }
  654. *case: Option3
  655. {
  656. *PrintableArea: PAIR(3520, 5208)
  657. *PrintableOrigin: PAIR(152, 104)
  658. }
  659. }
  660. *CursorOrigin: PAIR(150, 100)
  661. *Command: CmdSelect
  662. {
  663. *Order: DOC_SETUP.7
  664. *Cmd: "<1B>&l91a8c1E"
  665. }
  666. }
  667. *case: LANDSCAPE_CC90
  668. {
  669. *PrintableArea: PAIR(3628, 5172)
  670. *PrintableOrigin: PAIR(100, 120)
  671. *switch: Resolution
  672. {
  673. *case: Option3
  674. {
  675. *PrintableArea: PAIR(3624, 5168)
  676. *PrintableOrigin: PAIR(104, 120)
  677. }
  678. }
  679. *CursorOrigin: PAIR(100, 5292)
  680. *Command: CmdSelect
  681. {
  682. *Order: DOC_SETUP.7
  683. *Cmd: "<1B>&l91a8c1E"
  684. }
  685. }
  686. }
  687. }
  688. *Option: ENV_B5
  689. {
  690. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  691. *PageProtectMem: 1028
  692. *switch: Orientation
  693. {
  694. *case: PORTRAIT
  695. {
  696. *PrintableArea: PAIR(3858, 5554)
  697. *PrintableOrigin: PAIR(150, 100)
  698. *switch: Resolution
  699. {
  700. *case: Option2
  701. {
  702. *PrintableArea: PAIR(3856, 5552)
  703. *PrintableOrigin: PAIR(152, 100)
  704. }
  705. *case: Option3
  706. {
  707. *PrintableArea: PAIR(3856, 5544)
  708. *PrintableOrigin: PAIR(152, 104)
  709. }
  710. }
  711. *CursorOrigin: PAIR(150, 100)
  712. *Command: CmdSelect
  713. {
  714. *Order: DOC_SETUP.7
  715. *Cmd: "<1B>&l99a8c1E"
  716. }
  717. }
  718. *case: LANDSCAPE_CC90
  719. {
  720. *PrintableArea: PAIR(3858, 5554)
  721. *PrintableOrigin: PAIR(150, 100)
  722. *switch: Resolution
  723. {
  724. *case: Option2
  725. {
  726. *PrintableArea: PAIR(3856, 5552)
  727. *PrintableOrigin: PAIR(152, 100)
  728. }
  729. *case: Option3
  730. {
  731. *PrintableArea: PAIR(3856, 5544)
  732. *PrintableOrigin: PAIR(152, 104)
  733. }
  734. }
  735. *CursorOrigin: PAIR(100, 5784)
  736. *Command: CmdSelect
  737. {
  738. *Order: DOC_SETUP.7
  739. *Cmd: "<1B>&l99a8c1E"
  740. }
  741. }
  742. }
  743. }
  744. *Option: ENV_MONARCH
  745. {
  746. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  747. *PageProtectMem: 1028
  748. *switch: Orientation
  749. {
  750. *case: PORTRAIT
  751. {
  752. *PrintableArea: PAIR(2028, 4300)
  753. *PrintableOrigin: PAIR(150, 100)
  754. *switch: Resolution
  755. {
  756. *case: Option2
  757. {
  758. *PrintableArea: PAIR(2024, 4300)
  759. *PrintableOrigin: PAIR(152, 100)
  760. }
  761. *case: Option3
  762. {
  763. *PrintableArea: PAIR(2024, 4296)
  764. *PrintableOrigin: PAIR(152, 104)
  765. }
  766. }
  767. *CursorOrigin: PAIR(150, 100)
  768. *Command: CmdSelect
  769. {
  770. *Order: DOC_SETUP.7
  771. *Cmd: "<1B>&l80a8c1E"
  772. }
  773. }
  774. *case: LANDSCAPE_CC90
  775. {
  776. *PrintableArea: PAIR(2128, 4260)
  777. *PrintableOrigin: PAIR(100, 120)
  778. *switch: Resolution
  779. {
  780. *case: Option3
  781. {
  782. *PrintableArea: PAIR(2120, 4256)
  783. *PrintableOrigin: PAIR(104, 120)
  784. }
  785. }
  786. *CursorOrigin: PAIR(100, 4380)
  787. *Command: CmdSelect
  788. {
  789. *Order: DOC_SETUP.7
  790. *Cmd: "<1B>&l80a8c1E"
  791. }
  792. }
  793. }
  794. }
  795. }
  796. *Feature: Halftone
  797. {
  798. *rcNameID: =HALFTONING_DISPLAY
  799. *DefaultOption: HT_PATSIZE_AUTO
  800. *Option: HT_PATSIZE_AUTO
  801. {
  802. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  803. }
  804. *Ifdef: WINNT_50
  805. *Option: HT_PATSIZE_SUPERCELL_M
  806. {
  807. *rcNameID: =HT_SUPERCELL_DISPLAY
  808. }
  809. *Endif:
  810. *Option: HT_PATSIZE_6x6_M
  811. {
  812. *rcNameID: =HT_DITHER6X6_DISPLAY
  813. }
  814. *Option: HT_PATSIZE_8x8_M
  815. {
  816. *rcNameID: =HT_DITHER8X8_DISPLAY
  817. }
  818. }
  819. *Feature: Memory
  820. {
  821. *rcNameID: =PRINTER_MEMORY_DISPLAY
  822. *DefaultOption: 2048KB
  823. *Option: 2048KB
  824. {
  825. *Name: "2MB"
  826. *MemoryConfigKB: PAIR(2048, 1645)
  827. }
  828. *Option: 4096KB
  829. {
  830. *Name: "4MB"
  831. *MemoryConfigKB: PAIR(4096, 3535)
  832. }
  833. *Option: 6144KB
  834. {
  835. *Name: "6MB"
  836. *MemoryConfigKB: PAIR(6144, 5425)
  837. }
  838. *Option: 8192KB
  839. {
  840. *Name: "8MB"
  841. *MemoryConfigKB: PAIR(8192, 7315)
  842. }
  843. *Option: 10240KB
  844. {
  845. *Name: "10MB"
  846. *MemoryConfigKB: PAIR(10240, 9205)
  847. }
  848. *Option: 12288KB
  849. {
  850. *Name: "12MB"
  851. *MemoryConfigKB: PAIR(12288, 12171)
  852. }
  853. *Option: 16384KB
  854. {
  855. *Name: "16MB"
  856. *MemoryConfigKB: PAIR(16384, 16267)
  857. }
  858. }
  859. *Feature: Duplex
  860. {
  861. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  862. *DefaultOption: NONE
  863. *Option: NONE
  864. {
  865. *rcNameID: =NONE_DISPLAY
  866. *Command: CmdSelect
  867. {
  868. *Order: DOC_SETUP.3
  869. *Cmd: "<1B>&l0S"
  870. }
  871. }
  872. *Option: VERTICAL
  873. {
  874. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  875. *Command: CmdSelect
  876. {
  877. *Order: DOC_SETUP.4
  878. *Cmd: "<1B>&l1S"
  879. }
  880. }
  881. *Option: HORIZONTAL
  882. {
  883. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  884. *Command: CmdSelect
  885. {
  886. *Order: DOC_SETUP.4
  887. *Cmd: "<1B>&l2S"
  888. }
  889. }
  890. }
  891. *Command: CmdStartDoc
  892. {
  893. *Order: DOC_SETUP.1
  894. *Cmd: "<1B>E<1B>&l0S<1B>*r0F"
  895. }
  896. *Command: CmdStartPage
  897. {
  898. *Order: PAGE_SETUP.1
  899. *Cmd: "<1B>*b0M<0D>"
  900. }
  901. *Command: CmdEndJob
  902. {
  903. *Order: JOB_FINISH.1
  904. *Cmd: "<1B>E"
  905. }
  906. *Command: CmdCopies
  907. {
  908. *Order: DOC_SETUP.9
  909. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  910. }
  911. *RotateCoordinate?: TRUE
  912. *RotateRaster?: TRUE
  913. *RotateFont?: TRUE
  914. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  915. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  916. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  917. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  918. *XMoveThreshold: 0
  919. *YMoveThreshold: 0
  920. *XMoveUnit: 300
  921. *YMoveUnit: 300
  922. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  923. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
  924. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
  925. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  926. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
  927. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
  928. *Command: CmdCR { *Cmd : "<0D>" }
  929. *Command: CmdLF { *Cmd : "<0A>" }
  930. *Command: CmdFF { *Cmd : "<0C>" }
  931. *Command: CmdBackSpace { *Cmd : "<08>" }
  932. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  933. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  934. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  935. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  936. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  937. *EjectPageWithFF?: TRUE
  938. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  939. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  940. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  941. *OutputDataFormat: H_BYTE
  942. *OptimizeLeftBound?: TRUE
  943. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  944. *CursorYAfterSendBlockData: AUTO_INCREMENT
  945. *DefaultFont: 136
  946. *DefaultCTT: 0
  947. *CharPosition: BASELINE
  948. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153)
  949. *FontCartridge: FC1
  950. {
  951. *rcCartridgeNameID: 322
  952. *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  953. }
  954. *FontCartridge: FC2
  955. {
  956. *rcCartridgeNameID: 323
  957. *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  958. + 75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  959. + 91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  960. }
  961. *FontCartridge: FC3
  962. {
  963. *rcCartridgeNameID: 324
  964. *Fonts: LIST(31,32,33,34,35,36)
  965. }
  966. *FontCartridge: FC4
  967. {
  968. *rcCartridgeNameID: 325
  969. *Fonts: LIST(37,38,39,40,41,42,43)
  970. }
  971. *FontCartridge: FC5
  972. {
  973. *rcCartridgeNameID: 326
  974. *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  975. }
  976. *FontCartridge: FC6
  977. {
  978. *rcCartridgeNameID: 327
  979. *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  980. + 144,145)
  981. }
  982. *FontCartridge: FC7
  983. {
  984. *rcCartridgeNameID: 328
  985. *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64)
  986. }
  987. *FontCartridge: FC8
  988. {
  989. *rcCartridgeNameID: 329
  990. *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  991. }
  992. *FontCartridge: FC9
  993. {
  994. *rcCartridgeNameID: 330
  995. *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  996. }
  997. *FontCartridge: FC10
  998. {
  999. *rcCartridgeNameID: 331
  1000. *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1001. + 247,248)
  1002. }
  1003. *FontCartridge: FC11
  1004. {
  1005. *rcCartridgeNameID: 332
  1006. *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1007. + 170,171,172,173,174,175,176,177,178,179,180,181,182)
  1008. }
  1009. *FontCartridge: FC12
  1010. {
  1011. *rcCartridgeNameID: 333
  1012. *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1013. + 199,200,201,202,203,204,205,206,207,208)
  1014. }
  1015. *MinFontID: 16534
  1016. *MaxFontID: 32768
  1017. *FontFormat: HPPCL
  1018. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1019. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1020. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1021. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1022. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1023. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1024. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1025. *MinGrayFill: 1
  1026. *MaxGrayFill: 100
  1027. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1028. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1029. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1030. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }