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.

1081 lines
32 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *% This is based on HP DJ600 in the DDK samples
  6. *GPDSpecVersion: "1.0"
  7. *GPDFileName: "HPDJ600.GPD"
  8. *GPDFileVersion: "1.0"
  9. *Include: "StdNames.gpd"
  10. *ModelName: "HP DeskJet 600"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "hpdjres.dll"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. *Command: CmdSelect
  22. {
  23. *Order: DOC_SETUP.2
  24. *Cmd: "<1B>&l0O"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.2
  33. *Cmd: "<1B>&l1O"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: AUTO
  41. *Option: AUTO
  42. {
  43. *rcNameID: =AUTO_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.3
  47. *Cmd: "<1B>&l1H"
  48. }
  49. }
  50. *Option: ENVFEED
  51. {
  52. *rcNameID: =ENV_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.3
  56. *Cmd: "<1B>&l3H"
  57. }
  58. }
  59. }
  60. *Feature: Resolution
  61. {
  62. *rcNameID: =RESOLUTION_DISPLAY
  63. *DefaultOption: Option1
  64. *Option: Option1
  65. {
  66. *Name: "300 x 300 " =DOTS_PER_INCH
  67. *DPI: PAIR(300, 300)
  68. *TextDPI: PAIR(300, 300)
  69. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  70. *SpotDiameter: 170
  71. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  72. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  73. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.6
  77. *Cmd: "<1B>*t300R"
  78. }
  79. }
  80. *Option: Option2
  81. {
  82. *Name: "150 x 150 " =DOTS_PER_INCH
  83. *DPI: PAIR(150, 150)
  84. *TextDPI: PAIR(150, 150)
  85. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  86. *SpotDiameter: 140
  87. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  88. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  89. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  90. *Command: CmdSelect
  91. {
  92. *Order: DOC_SETUP.6
  93. *Cmd: "<1B>*t150R"
  94. }
  95. }
  96. *Option: Option3
  97. {
  98. *Name: "75 x 75 " =DOTS_PER_INCH
  99. *DPI: PAIR(75, 75)
  100. *TextDPI: PAIR(75, 75)
  101. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  102. *SpotDiameter: 120
  103. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  104. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  105. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.6
  109. *Cmd: "<1B>*t75R"
  110. }
  111. }
  112. }
  113. *Feature: PaperSize
  114. {
  115. *rcNameID: =PAPER_SIZE_DISPLAY
  116. *DefaultOption: LETTER
  117. *Option: LETTER
  118. {
  119. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  120. *switch: Orientation
  121. {
  122. *case: PORTRAIT
  123. {
  124. *PrintableArea: PAIR(4800, 6156)
  125. *PrintableOrigin: PAIR(150, 100)
  126. *switch: Resolution
  127. {
  128. *case: Option2
  129. {
  130. *PrintableArea: PAIR(4796, 6156)
  131. *PrintableOrigin: PAIR(152, 100)
  132. }
  133. *case: Option3
  134. {
  135. *PrintableArea: PAIR(4792, 6152)
  136. *PrintableOrigin: PAIR(152, 104)
  137. }
  138. }
  139. *CursorOrigin: PAIR(150, 100)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.5
  143. *Cmd: "<1B>&l2A"
  144. }
  145. }
  146. *case: LANDSCAPE_CC90
  147. {
  148. *PrintableArea: PAIR(4720, 6106)
  149. *PrintableOrigin: PAIR(210, 150)
  150. *switch: Resolution
  151. {
  152. *case: Option2
  153. {
  154. *PrintableArea: PAIR(4716, 6104)
  155. *PrintableOrigin: PAIR(212, 152)
  156. }
  157. *case: Option3
  158. {
  159. *PrintableArea: PAIR(4712, 6104)
  160. *PrintableOrigin: PAIR(216, 152)
  161. }
  162. }
  163. *CursorOrigin: PAIR(210, 6256)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.5
  167. *Cmd: "<1B>&l2A"
  168. }
  169. }
  170. }
  171. }
  172. *Option: LEGAL
  173. {
  174. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  175. *switch: Orientation
  176. {
  177. *case: PORTRAIT
  178. {
  179. *PrintableArea: PAIR(4800, 7956)
  180. *PrintableOrigin: PAIR(150, 100)
  181. *switch: Resolution
  182. {
  183. *case: Option2
  184. {
  185. *PrintableArea: PAIR(4796, 7956)
  186. *PrintableOrigin: PAIR(152, 100)
  187. }
  188. *case: Option3
  189. {
  190. *PrintableArea: PAIR(4792, 7952)
  191. *PrintableOrigin: PAIR(152, 104)
  192. }
  193. }
  194. *CursorOrigin: PAIR(150, 100)
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.5
  198. *Cmd: "<1B>&l3A"
  199. }
  200. }
  201. *case: LANDSCAPE_CC90
  202. {
  203. *PrintableArea: PAIR(4720, 7906)
  204. *PrintableOrigin: PAIR(210, 150)
  205. *switch: Resolution
  206. {
  207. *case: Option2
  208. {
  209. *PrintableArea: PAIR(4716, 7904)
  210. *PrintableOrigin: PAIR(212, 152)
  211. }
  212. *case: Option3
  213. {
  214. *PrintableArea: PAIR(4712, 7904)
  215. *PrintableOrigin: PAIR(216, 152)
  216. }
  217. }
  218. *CursorOrigin: PAIR(210, 8056)
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.5
  222. *Cmd: "<1B>&l3A"
  223. }
  224. }
  225. }
  226. }
  227. *Option: A4
  228. {
  229. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  230. *switch: Orientation
  231. {
  232. *case: PORTRAIT
  233. {
  234. *PrintableArea: PAIR(4800, 6570)
  235. *PrintableOrigin: PAIR(70, 100)
  236. *switch: Resolution
  237. {
  238. *case: Option2
  239. {
  240. *PrintableArea: PAIR(4796, 6568)
  241. *PrintableOrigin: PAIR(72, 100)
  242. }
  243. *case: Option3
  244. {
  245. *PrintableArea: PAIR(4792, 6560)
  246. *PrintableOrigin: PAIR(72, 104)
  247. }
  248. }
  249. *CursorOrigin: PAIR(70, 100)
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.5
  253. *Cmd: "<1B>&l26A"
  254. }
  255. }
  256. *case: LANDSCAPE_CC90
  257. {
  258. *PrintableArea: PAIR(4702, 6498)
  259. *PrintableOrigin: PAIR(150, 150)
  260. *switch: Resolution
  261. {
  262. *case: Option2
  263. {
  264. *PrintableArea: PAIR(4700, 6496)
  265. *PrintableOrigin: PAIR(152, 152)
  266. }
  267. *case: Option3
  268. {
  269. *PrintableArea: PAIR(4696, 6496)
  270. *PrintableOrigin: PAIR(152, 152)
  271. }
  272. }
  273. *CursorOrigin: PAIR(150, 6648)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.5
  277. *Cmd: "<1B>&l26A"
  278. }
  279. }
  280. }
  281. }
  282. *Option: A5
  283. {
  284. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  285. *switch: Orientation
  286. {
  287. *case: PORTRAIT
  288. {
  289. *PrintableArea: PAIR(3338, 4418)
  290. *PrintableOrigin: PAIR(70, 200)
  291. *switch: Resolution
  292. {
  293. *case: Option2
  294. {
  295. *PrintableArea: PAIR(3336, 4416)
  296. *PrintableOrigin: PAIR(72, 200)
  297. }
  298. *case: Option3
  299. {
  300. *PrintableArea: PAIR(3336, 4416)
  301. *PrintableOrigin: PAIR(72, 200)
  302. }
  303. }
  304. *CursorOrigin: PAIR(70, 200)
  305. *Command: CmdSelect
  306. {
  307. *Order: DOC_SETUP.5
  308. *Cmd: "<1B>&l25A"
  309. }
  310. }
  311. *case: LANDSCAPE_CC90
  312. {
  313. *PrintableArea: PAIR(3198, 4446)
  314. *PrintableOrigin: PAIR(190, 150)
  315. *switch: Resolution
  316. {
  317. *case: Option2
  318. {
  319. *PrintableArea: PAIR(3196, 4444)
  320. *PrintableOrigin: PAIR(192, 152)
  321. }
  322. *case: Option3
  323. {
  324. *PrintableArea: PAIR(3192, 4440)
  325. *PrintableOrigin: PAIR(192, 152)
  326. }
  327. }
  328. *CursorOrigin: PAIR(190, 4596)
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.5
  332. *Cmd: "<1B>&l25A"
  333. }
  334. }
  335. }
  336. }
  337. *Option: Option5
  338. {
  339. *rcNameID: 357
  340. *PageDimensions: PAIR(2480, 3496)
  341. *switch: Orientation
  342. {
  343. *case: PORTRAIT
  344. {
  345. *PrintableArea: PAIR(2320, 3052)
  346. *PrintableOrigin: PAIR(70, 100)
  347. *switch: Resolution
  348. {
  349. *case: Option2
  350. {
  351. *PrintableArea: PAIR(2316, 3052)
  352. *PrintableOrigin: PAIR(72, 100)
  353. }
  354. *case: Option3
  355. {
  356. *PrintableArea: PAIR(2312, 3048)
  357. *PrintableOrigin: PAIR(72, 104)
  358. }
  359. }
  360. *CursorOrigin: PAIR(70, 100)
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.5
  364. *Cmd: "<1B>&l24A"
  365. }
  366. }
  367. *case: LANDSCAPE_CC90
  368. {
  369. *PrintableArea: PAIR(2220, 2980)
  370. *PrintableOrigin: PAIR(150, 150)
  371. *switch: Resolution
  372. {
  373. *case: Option2
  374. {
  375. *PrintableArea: PAIR(2216, 2976)
  376. *PrintableOrigin: PAIR(152, 152)
  377. }
  378. *case: Option3
  379. {
  380. *PrintableArea: PAIR(2216, 2976)
  381. *PrintableOrigin: PAIR(152, 152)
  382. }
  383. }
  384. *CursorOrigin: PAIR(150, 3130)
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.5
  388. *Cmd: "<1B>&l24A"
  389. }
  390. }
  391. }
  392. }
  393. *Option: B5
  394. {
  395. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  396. *switch: Orientation
  397. {
  398. *case: PORTRAIT
  399. {
  400. *PrintableArea: PAIR(4112, 5628)
  401. *PrintableOrigin: PAIR(70, 100)
  402. *switch: Resolution
  403. {
  404. *case: Option2
  405. {
  406. *PrintableArea: PAIR(4108, 5628)
  407. *PrintableOrigin: PAIR(72, 100)
  408. }
  409. *case: Option3
  410. {
  411. *PrintableArea: PAIR(4104, 5624)
  412. *PrintableOrigin: PAIR(72, 104)
  413. }
  414. }
  415. *CursorOrigin: PAIR(70, 100)
  416. *Command: CmdSelect
  417. {
  418. *Order: DOC_SETUP.5
  419. *Cmd: "<1B>&l45A"
  420. }
  421. }
  422. *case: LANDSCAPE_CC90
  423. {
  424. *PrintableArea: PAIR(3952, 5556)
  425. *PrintableOrigin: PAIR(220, 150)
  426. *switch: Resolution
  427. {
  428. *case: Option2
  429. {
  430. *PrintableArea: PAIR(3952, 5552)
  431. *PrintableOrigin: PAIR(220, 152)
  432. }
  433. *case: Option3
  434. {
  435. *PrintableArea: PAIR(3944, 5552)
  436. *PrintableOrigin: PAIR(224, 152)
  437. }
  438. }
  439. *CursorOrigin: PAIR(220, 5706)
  440. *Command: CmdSelect
  441. {
  442. *Order: DOC_SETUP.5
  443. *Cmd: "<1B>&l45A"
  444. }
  445. }
  446. }
  447. }
  448. *Option: EXECUTIVE
  449. {
  450. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  451. *switch: Orientation
  452. {
  453. *case: PORTRAIT
  454. {
  455. *PrintableArea: PAIR(4050, 5950)
  456. *PrintableOrigin: PAIR(150, 150)
  457. *switch: Resolution
  458. {
  459. *case: Option2
  460. {
  461. *PrintableArea: PAIR(4048, 5948)
  462. *PrintableOrigin: PAIR(152, 152)
  463. }
  464. *case: Option3
  465. {
  466. *PrintableArea: PAIR(4048, 5944)
  467. *PrintableOrigin: PAIR(152, 152)
  468. }
  469. }
  470. *CursorOrigin: PAIR(150, 150)
  471. *Command: CmdSelect
  472. {
  473. *Order: DOC_SETUP.5
  474. *Cmd: "<1B>&l1A"
  475. }
  476. }
  477. *case: LANDSCAPE_CC90
  478. {
  479. *PrintableArea: PAIR(4050, 5950)
  480. *PrintableOrigin: PAIR(150, 150)
  481. *switch: Resolution
  482. {
  483. *case: Option2
  484. {
  485. *PrintableArea: PAIR(4048, 5948)
  486. *PrintableOrigin: PAIR(152, 152)
  487. }
  488. *case: Option3
  489. {
  490. *PrintableArea: PAIR(4048, 5944)
  491. *PrintableOrigin: PAIR(152, 152)
  492. }
  493. }
  494. *CursorOrigin: PAIR(150, 6100)
  495. *Command: CmdSelect
  496. {
  497. *Order: DOC_SETUP.5
  498. *Cmd: "<1B>&l1A"
  499. }
  500. }
  501. }
  502. }
  503. *Option: Option8
  504. {
  505. *rcNameID: 358
  506. *PageDimensions: PAIR(2400, 3600)
  507. *switch: Orientation
  508. {
  509. *case: PORTRAIT
  510. {
  511. *PrintableArea: PAIR(2240, 3056)
  512. *PrintableOrigin: PAIR(70, 200)
  513. *switch: Resolution
  514. {
  515. *case: Option2
  516. {
  517. *PrintableArea: PAIR(2236, 3056)
  518. *PrintableOrigin: PAIR(72, 200)
  519. }
  520. *case: Option3
  521. {
  522. *PrintableArea: PAIR(2232, 3056)
  523. *PrintableOrigin: PAIR(72, 200)
  524. }
  525. }
  526. *CursorOrigin: PAIR(70, 200)
  527. *Command: CmdSelect
  528. {
  529. *Order: DOC_SETUP.5
  530. *Cmd: "<1B>&l74A"
  531. }
  532. }
  533. *case: LANDSCAPE_CC90
  534. {
  535. *PrintableArea: PAIR(2100, 3084)
  536. *PrintableOrigin: PAIR(190, 150)
  537. *switch: Resolution
  538. {
  539. *case: Option2
  540. {
  541. *PrintableArea: PAIR(2096, 3080)
  542. *PrintableOrigin: PAIR(192, 152)
  543. }
  544. *case: Option3
  545. {
  546. *PrintableArea: PAIR(2096, 3080)
  547. *PrintableOrigin: PAIR(192, 152)
  548. }
  549. }
  550. *CursorOrigin: PAIR(190, 3234)
  551. *Command: CmdSelect
  552. {
  553. *Order: DOC_SETUP.5
  554. *Cmd: "<1B>&l74A"
  555. }
  556. }
  557. }
  558. }
  559. *Option: Option9
  560. {
  561. *rcNameID: 359
  562. *PageDimensions: PAIR(3000, 5000)
  563. *switch: Orientation
  564. {
  565. *case: PORTRAIT
  566. {
  567. *PrintableArea: PAIR(2840, 4300)
  568. *PrintableOrigin: PAIR(70, 300)
  569. *switch: Resolution
  570. {
  571. *case: Option2
  572. {
  573. *PrintableArea: PAIR(2836, 4300)
  574. *PrintableOrigin: PAIR(72, 300)
  575. }
  576. *case: Option3
  577. {
  578. *PrintableArea: PAIR(2832, 4296)
  579. *PrintableOrigin: PAIR(72, 304)
  580. }
  581. }
  582. *CursorOrigin: PAIR(70, 300)
  583. *Command: CmdSelect
  584. {
  585. *Order: DOC_SETUP.5
  586. *Cmd: "<1B>&l75A"
  587. }
  588. }
  589. *case: LANDSCAPE_CC90
  590. {
  591. *PrintableArea: PAIR(2670, 4300)
  592. *PrintableOrigin: PAIR(180, 300)
  593. *switch: Resolution
  594. {
  595. *case: Option2
  596. {
  597. *PrintableArea: PAIR(2668, 4300)
  598. }
  599. *case: Option3
  600. {
  601. *PrintableArea: PAIR(2664, 4296)
  602. *PrintableOrigin: PAIR(184, 304)
  603. }
  604. }
  605. *CursorOrigin: PAIR(180, 4600)
  606. *Command: CmdSelect
  607. {
  608. *Order: DOC_SETUP.5
  609. *Cmd: "<1B>&l75A"
  610. }
  611. }
  612. }
  613. }
  614. *Option: Option10
  615. {
  616. *rcNameID: 614
  617. *PageDimensions: PAIR(2362, 3496)
  618. *switch: Orientation
  619. {
  620. *case: PORTRAIT
  621. {
  622. *PrintableArea: PAIR(2202, 3052)
  623. *PrintableOrigin: PAIR(70, 100)
  624. *switch: Resolution
  625. {
  626. *case: Option2
  627. {
  628. *PrintableArea: PAIR(2200, 3052)
  629. *PrintableOrigin: PAIR(72, 100)
  630. }
  631. *case: Option3
  632. {
  633. *PrintableArea: PAIR(2200, 3048)
  634. *PrintableOrigin: PAIR(72, 104)
  635. }
  636. }
  637. *CursorOrigin: PAIR(70, 100)
  638. *Command: CmdSelect
  639. {
  640. *Order: DOC_SETUP.5
  641. *Cmd: "<1B>&l75A"
  642. }
  643. }
  644. *case: LANDSCAPE_CC90
  645. {
  646. *PrintableArea: PAIR(2102, 2980)
  647. *PrintableOrigin: PAIR(150, 150)
  648. *switch: Resolution
  649. {
  650. *case: Option2
  651. {
  652. *PrintableArea: PAIR(2100, 2976)
  653. *PrintableOrigin: PAIR(152, 152)
  654. }
  655. *case: Option3
  656. {
  657. *PrintableArea: PAIR(2096, 2976)
  658. *PrintableOrigin: PAIR(152, 152)
  659. }
  660. }
  661. *CursorOrigin: PAIR(150, 3130)
  662. *Command: CmdSelect
  663. {
  664. *Order: DOC_SETUP.5
  665. *Cmd: "<1B>&l75A"
  666. }
  667. }
  668. }
  669. }
  670. *Option: ENV_10
  671. {
  672. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  673. *switch: Orientation
  674. {
  675. *case: PORTRAIT
  676. {
  677. *PrintableArea: PAIR(2318, 5100)
  678. *PrintableOrigin: PAIR(70, 100)
  679. *switch: Resolution
  680. {
  681. *case: Option2
  682. {
  683. *PrintableArea: PAIR(2316, 5100)
  684. *PrintableOrigin: PAIR(72, 100)
  685. }
  686. *case: Option3
  687. {
  688. *PrintableArea: PAIR(2312, 5096)
  689. *PrintableOrigin: PAIR(72, 104)
  690. }
  691. }
  692. *CursorOrigin: PAIR(70, 100)
  693. *Command: CmdSelect
  694. {
  695. *Order: DOC_SETUP.5
  696. *Cmd: "<1B>&l-81A"
  697. }
  698. }
  699. *case: LANDSCAPE_CC90
  700. {
  701. *PrintableArea: PAIR(2158, 5050)
  702. *PrintableOrigin: PAIR(150, 150)
  703. *switch: Resolution
  704. {
  705. *case: Option2
  706. {
  707. *PrintableArea: PAIR(2156, 5048)
  708. *PrintableOrigin: PAIR(152, 152)
  709. }
  710. *case: Option3
  711. {
  712. *PrintableArea: PAIR(2152, 5048)
  713. *PrintableOrigin: PAIR(152, 152)
  714. }
  715. }
  716. *CursorOrigin: PAIR(150, 5200)
  717. *Command: CmdSelect
  718. {
  719. *Order: DOC_SETUP.5
  720. *Cmd: "<1B>&l-81A"
  721. }
  722. }
  723. }
  724. }
  725. *Option: ENV_DL
  726. {
  727. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  728. *switch: Orientation
  729. {
  730. *case: PORTRAIT
  731. {
  732. *PrintableArea: PAIR(2438, 4606)
  733. *PrintableOrigin: PAIR(70, 90)
  734. *switch: Resolution
  735. {
  736. *case: Option2
  737. {
  738. *PrintableArea: PAIR(2436, 4604)
  739. *PrintableOrigin: PAIR(72, 92)
  740. }
  741. *case: Option3
  742. {
  743. *PrintableArea: PAIR(2432, 4600)
  744. *PrintableOrigin: PAIR(72, 96)
  745. }
  746. }
  747. *CursorOrigin: PAIR(70, 90)
  748. *Command: CmdSelect
  749. {
  750. *Order: DOC_SETUP.5
  751. *Cmd: "<1B>&l-90A"
  752. }
  753. }
  754. *case: LANDSCAPE_CC90
  755. {
  756. *PrintableArea: PAIR(2338, 4546)
  757. *PrintableOrigin: PAIR(150, 150)
  758. *switch: Resolution
  759. {
  760. *case: Option2
  761. {
  762. *PrintableArea: PAIR(2336, 4544)
  763. *PrintableOrigin: PAIR(152, 152)
  764. }
  765. *case: Option3
  766. {
  767. *PrintableArea: PAIR(2336, 4544)
  768. *PrintableOrigin: PAIR(152, 152)
  769. }
  770. }
  771. *CursorOrigin: PAIR(150, 4696)
  772. *Command: CmdSelect
  773. {
  774. *Order: DOC_SETUP.5
  775. *Cmd: "<1B>&l-90A"
  776. }
  777. }
  778. }
  779. }
  780. *Option: ENV_C6
  781. {
  782. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  783. *switch: Orientation
  784. {
  785. *case: PORTRAIT
  786. {
  787. *PrintableArea: PAIR(2534, 3238)
  788. *PrintableOrigin: PAIR(70, 90)
  789. *switch: Resolution
  790. {
  791. *case: Option2
  792. {
  793. *PrintableArea: PAIR(2532, 3236)
  794. *PrintableOrigin: PAIR(72, 92)
  795. }
  796. *case: Option3
  797. {
  798. *PrintableArea: PAIR(2528, 3232)
  799. *PrintableOrigin: PAIR(72, 96)
  800. }
  801. }
  802. *CursorOrigin: PAIR(70, 90)
  803. *Command: CmdSelect
  804. {
  805. *Order: DOC_SETUP.5
  806. *Cmd: "<1B>&l92A"
  807. }
  808. }
  809. *case: LANDSCAPE_CC90
  810. {
  811. *PrintableArea: PAIR(2434, 3178)
  812. *PrintableOrigin: PAIR(150, 150)
  813. *switch: Resolution
  814. {
  815. *case: Option2
  816. {
  817. *PrintableArea: PAIR(2432, 3176)
  818. *PrintableOrigin: PAIR(152, 152)
  819. }
  820. *case: Option3
  821. {
  822. *PrintableArea: PAIR(2432, 3176)
  823. *PrintableOrigin: PAIR(152, 152)
  824. }
  825. }
  826. *CursorOrigin: PAIR(150, 3328)
  827. *Command: CmdSelect
  828. {
  829. *Order: DOC_SETUP.5
  830. *Cmd: "<1B>&l92A"
  831. }
  832. }
  833. }
  834. }
  835. *Option: CUSTOMSIZE
  836. {
  837. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  838. *MinSize: PAIR(600, 600)
  839. *MaxSize: PAIR(5100, 8400)
  840. *MaxPrintableWidth: 4800
  841. *MinLeftMargin: 0
  842. *CenterPrintable?: FALSE
  843. *switch: Orientation
  844. {
  845. *case: PORTRAIT
  846. {
  847. *Command: CmdSelect
  848. {
  849. *Order: DOC_SETUP.5
  850. *Cmd: "<1B>&l101a12d0e" %d{(PhysPaperLength / 25) }"P"
  851. }
  852. }
  853. *case: LANDSCAPE_CC90
  854. {
  855. *Command: CmdSelect
  856. {
  857. *Order: DOC_SETUP.5
  858. *Cmd: "<1B>&l101a12d0e" %d{(PhysPaperLength / 25) }"P"
  859. }
  860. }
  861. }
  862. }
  863. }
  864. *Feature: MediaType
  865. {
  866. *rcNameID: =MEDIA_TYPE_DISPLAY
  867. *DefaultOption: STANDARD
  868. *Option: STANDARD
  869. {
  870. *rcNameID: =PLAIN_PAPER_DISPLAY
  871. *Command: CmdSelect
  872. {
  873. *Order: PAGE_SETUP.8
  874. *Cmd: "<1B>&l0M"
  875. }
  876. }
  877. *Option: Option2
  878. {
  879. *rcNameID: 269
  880. *Command: CmdSelect
  881. {
  882. *Order: PAGE_SETUP.8
  883. *Cmd: "<1B>&l1M"
  884. }
  885. }
  886. *Option: Option3
  887. {
  888. *rcNameID: 270
  889. *Command: CmdSelect
  890. {
  891. *Order: PAGE_SETUP.8
  892. *Cmd: "<1B>&l2M"
  893. }
  894. }
  895. *Option: GLOSSY
  896. {
  897. *rcNameID: =GLOSSY_PAPER_DISPLAY
  898. *Command: CmdSelect
  899. {
  900. *Order: PAGE_SETUP.8
  901. *Cmd: "<1B>&l3M"
  902. }
  903. }
  904. *Option: TRANSPARENCY
  905. {
  906. *rcNameID: =TRANSPARENCY_DISPLAY
  907. *Command: CmdSelect
  908. {
  909. *Order: PAGE_SETUP.8
  910. *Cmd: "<1B>&l4M"
  911. }
  912. }
  913. }
  914. *Feature: PrintQuality
  915. {
  916. *rcNameID: =TEXT_QUALITY_DISPLAY
  917. *DefaultOption: Option1
  918. *Option: Option1
  919. {
  920. *rcNameID: 317
  921. *Command: CmdSelect
  922. {
  923. *Order: DOC_SETUP.4
  924. *Cmd: "<1B>*o0M"
  925. }
  926. }
  927. *Option: Option2
  928. {
  929. *rcNameID: 367
  930. *Command: CmdSelect
  931. {
  932. *Order: DOC_SETUP.4
  933. *Cmd: "<1B>*o-1M"
  934. }
  935. }
  936. *Option: Option3
  937. {
  938. *rcNameID: 319
  939. *Command: CmdSelect
  940. {
  941. *Order: DOC_SETUP.4
  942. *Cmd: "<1B>*o1M"
  943. }
  944. }
  945. }
  946. *Feature: ColorMode
  947. {
  948. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  949. *DefaultOption: Color
  950. *Option: Mono
  951. {
  952. *rcNameID: =MONO_DISPLAY
  953. *DevNumOfPlanes: 1
  954. *DevBPP: 1
  955. *Color? : FALSE
  956. }
  957. *Option: Color
  958. {
  959. *rcNameID: =COLOR_DISPLAY
  960. *DevNumOfPlanes: 4
  961. *DevBPP: 1
  962. *DrvBPP: 4
  963. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  964. *ColorPlaneOrder: LIST(BLACK, CYAN, MAGENTA, YELLOW)
  965. *Command: CmdSendBlackData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  966. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  967. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  968. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  969. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v15S" }
  970. *Command: CmdSelectRedColor { *Cmd : "<1B>*v12S" }
  971. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v10S" }
  972. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v8S" }
  973. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v6S" }
  974. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v4S" }
  975. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v2S" }
  976. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  977. *Command: CmdSelect
  978. {
  979. *Order: PAGE_SETUP.9
  980. *Cmd: "<1B>*r-4U"
  981. }
  982. }
  983. }
  984. *Feature: Halftone
  985. {
  986. *rcNameID: =HALFTONING_DISPLAY
  987. *DefaultOption: HT_PATSIZE_AUTO
  988. *Option: HT_PATSIZE_AUTO
  989. {
  990. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  991. }
  992. *Ifdef: WINNT_50
  993. *Option: HT_PATSIZE_SUPERCELL_M
  994. {
  995. *rcNameID: =HT_SUPERCELL_DISPLAY
  996. }
  997. *Endif:
  998. *Option: HT_PATSIZE_6x6_M
  999. {
  1000. *rcNameID: =HT_DITHER6X6_DISPLAY
  1001. }
  1002. *Option: HT_PATSIZE_8x8_M
  1003. {
  1004. *rcNameID: =HT_DITHER8X8_DISPLAY
  1005. }
  1006. }
  1007. *Command: CmdStartDoc
  1008. {
  1009. *Order: DOC_SETUP.1
  1010. *Cmd: "<1B>E<1B>&l0L<1B>*r1U"
  1011. }
  1012. *Command: CmdStartPage
  1013. {
  1014. *Order: PAGE_SETUP.1
  1015. *Cmd: "<0D>"
  1016. }
  1017. *Command: CmdEndJob
  1018. {
  1019. *Order: JOB_FINISH.1
  1020. *Cmd: "<1B>E"
  1021. }
  1022. *Command: CmdEndPage
  1023. {
  1024. *Order: PAGE_FINISH.1
  1025. *Cmd: "<0D>"
  1026. }
  1027. *RotateCoordinate?: TRUE
  1028. *RotateRaster?: FALSE
  1029. *RotateFont?: FALSE
  1030. *switch: Orientation
  1031. {
  1032. *case: PORTRAIT
  1033. {
  1034. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  1035. }
  1036. *case: LANDSCAPE_CC90
  1037. {
  1038. *TextCaps: LIST()
  1039. }
  1040. }
  1041. *ChangeColorModeOnDoc?: FALSE
  1042. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1043. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  1044. *XMoveThreshold: 0
  1045. *YMoveThreshold: *
  1046. *XMoveUnit: 300
  1047. *YMoveUnit: 300
  1048. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1049. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  1050. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  1051. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1052. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1053. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1054. *Command: CmdCR { *Cmd : "<0D>" }
  1055. *Command: CmdLF { *Cmd : "<0A>" }
  1056. *Command: CmdFF { *Cmd : "<0C>" }
  1057. *EjectPageWithFF?: TRUE
  1058. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1059. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1060. *OutputDataFormat: H_BYTE
  1061. *OptimizeLeftBound?: FALSE
  1062. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1063. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1064. *LookAheadRegion: 360
  1065. *DefaultFont: 1
  1066. *DefaultCTT: 0
  1067. *CharPosition: BASELINE
  1068. *switch: Orientation
  1069. {
  1070. *case: PORTRAIT
  1071. {
  1072. *DeviceFonts: LIST()
  1073. }
  1074. *case: LANDSCAPE_CC90
  1075. {
  1076. *DeviceFonts: LIST()
  1077. }
  1078. }
  1079. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  1080. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }