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.

1371 lines
40 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "BRHJ770.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Brother HJ-770"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "brhjres.dll"
  12. *PrintRate: 300
  13. *PrintRateUnit: CPS
  14. *PrinterType: SERIAL
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. }
  23. *Option: LANDSCAPE_CC270
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. }
  27. }
  28. *Feature: InputBin
  29. {
  30. *rcNameID: =PAPER_SOURCE_DISPLAY
  31. *DefaultOption: TRACTOR
  32. *Option: TRACTOR
  33. {
  34. *rcNameID: =TRACTOR_DISPLAY
  35. }
  36. *Option: MANUAL
  37. {
  38. *rcNameID: =MANUAL_FEED_DISPLAY
  39. *Command: CmdSelect
  40. {
  41. *Order: DOC_SETUP.4
  42. *Cmd: "<1B>&l2H"
  43. }
  44. }
  45. *Option: Option3
  46. {
  47. *rcNameID: 265
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.4
  51. *Cmd: "<1B>&l1H"
  52. }
  53. }
  54. *Option: Option4
  55. {
  56. *rcNameID: 266
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.4
  60. *Cmd: "<1B>&l4H"
  61. }
  62. }
  63. }
  64. *Feature: Resolution
  65. {
  66. *rcNameID: =RESOLUTION_DISPLAY
  67. *DefaultOption: Option1
  68. *Option: Option1
  69. {
  70. *Name: "360 x 360 " =DOTS_PER_INCH
  71. *DPI: PAIR(360, 360)
  72. *TextDPI: PAIR(360, 360)
  73. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  74. *SpotDiameter: 100
  75. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  76. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  78. *Command: CmdSelect
  79. {
  80. *Order: DOC_SETUP.5
  81. *Cmd: "<1B>*t360R"
  82. }
  83. }
  84. *Option: Option2
  85. {
  86. *Name: "180 x 180 " =DOTS_PER_INCH
  87. *DPI: PAIR(180, 180)
  88. *TextDPI: PAIR(180, 180)
  89. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  90. *SpotDiameter: 100
  91. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  92. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  93. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.5
  97. *Cmd: "<1B>*t180R"
  98. }
  99. }
  100. *Option: Option3
  101. {
  102. *Name: "120 x 120 " =DOTS_PER_INCH
  103. *DPI: PAIR(120, 120)
  104. *TextDPI: PAIR(120, 120)
  105. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  106. *SpotDiameter: 100
  107. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  108. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  109. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  110. *Command: CmdSelect
  111. {
  112. *Order: DOC_SETUP.5
  113. *Cmd: "<1B>*t120R"
  114. }
  115. }
  116. *Option: Option4
  117. {
  118. *Name: "90 x 90 " =DOTS_PER_INCH
  119. *DPI: PAIR(90, 90)
  120. *TextDPI: PAIR(90, 90)
  121. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  122. *SpotDiameter: 100
  123. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  124. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  125. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  126. *Command: CmdSelect
  127. {
  128. *Order: DOC_SETUP.5
  129. *Cmd: "<1B>*t90R"
  130. }
  131. }
  132. }
  133. *Feature: PaperSize
  134. {
  135. *rcNameID: =PAPER_SIZE_DISPLAY
  136. *DefaultOption: LETTER
  137. *Option: LETTER
  138. {
  139. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  140. *Command: CmdSelect
  141. {
  142. *Order: PAGE_SETUP.7
  143. *Cmd: "<1B>&l2A<1B>&a0v0H<1B>&l0E"
  144. }
  145. *switch: InputBin
  146. {
  147. *case: TRACTOR
  148. {
  149. *PrintableArea: PAIR(5760, 7920)
  150. *PrintableOrigin: PAIR(0, 0)
  151. }
  152. *case: MANUAL
  153. {
  154. *PrintableArea: PAIR(5760, 7500)
  155. *PrintableOrigin: PAIR(0, 60)
  156. *switch: Resolution
  157. {
  158. *case: Option4
  159. {
  160. *PrintableArea: PAIR(5760, 7496)
  161. *PrintableOrigin: PAIR(0, 64)
  162. }
  163. }
  164. }
  165. *case: Option3
  166. {
  167. *PrintableArea: PAIR(5760, 7500)
  168. *PrintableOrigin: PAIR(0, 60)
  169. *switch: Resolution
  170. {
  171. *case: Option4
  172. {
  173. *PrintableArea: PAIR(5760, 7496)
  174. *PrintableOrigin: PAIR(0, 64)
  175. }
  176. }
  177. }
  178. *case: Option4
  179. {
  180. *PrintableArea: PAIR(5760, 7500)
  181. *PrintableOrigin: PAIR(0, 60)
  182. *switch: Resolution
  183. {
  184. *case: Option4
  185. {
  186. *PrintableArea: PAIR(5760, 7496)
  187. *PrintableOrigin: PAIR(0, 64)
  188. }
  189. }
  190. }
  191. }
  192. }
  193. *Option: EXECUTIVE
  194. {
  195. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  196. *Command: CmdSelect
  197. {
  198. *Order: PAGE_SETUP.7
  199. *Cmd: "<1B>&l1A<1B>*r4896S<1B>&a0v0H<1B>&l0E"
  200. }
  201. *switch: InputBin
  202. {
  203. *case: TRACTOR
  204. {
  205. *PrintableArea: PAIR(4896, 7560)
  206. *PrintableOrigin: PAIR(0, 0)
  207. }
  208. *case: MANUAL
  209. {
  210. *PrintableArea: PAIR(4896, 7140)
  211. *PrintableOrigin: PAIR(0, 60)
  212. *switch: Resolution
  213. {
  214. *case: Option4
  215. {
  216. *PrintableArea: PAIR(4896, 7136)
  217. *PrintableOrigin: PAIR(0, 64)
  218. }
  219. }
  220. }
  221. *case: Option3
  222. {
  223. *PrintableArea: PAIR(4896, 7140)
  224. *PrintableOrigin: PAIR(0, 60)
  225. *switch: Resolution
  226. {
  227. *case: Option4
  228. {
  229. *PrintableArea: PAIR(4896, 7136)
  230. *PrintableOrigin: PAIR(0, 64)
  231. }
  232. }
  233. }
  234. *case: Option4
  235. {
  236. *PrintableArea: PAIR(4896, 7140)
  237. *PrintableOrigin: PAIR(0, 60)
  238. *switch: Resolution
  239. {
  240. *case: Option4
  241. {
  242. *PrintableArea: PAIR(4896, 7136)
  243. *PrintableOrigin: PAIR(0, 64)
  244. }
  245. }
  246. }
  247. }
  248. }
  249. *Option: Option3
  250. {
  251. *rcNameID: 258
  252. *PageDimensions: PAIR(7920, 6120)
  253. *Command: CmdSelect
  254. {
  255. *Order: PAGE_SETUP.7
  256. *Cmd: "<1B>&l32A<1B>*r7416S<1B>&a0v0H<1B>&l0E"
  257. }
  258. *switch: InputBin
  259. {
  260. *case: TRACTOR
  261. {
  262. *PrintableArea: PAIR(7344, 6120)
  263. *PrintableOrigin: PAIR(0, 0)
  264. }
  265. *case: MANUAL
  266. {
  267. *PrintableArea: PAIR(7344, 5700)
  268. *PrintableOrigin: PAIR(0, 60)
  269. *switch: Resolution
  270. {
  271. *case: Option4
  272. {
  273. *PrintableArea: PAIR(7344, 5696)
  274. *PrintableOrigin: PAIR(0, 64)
  275. }
  276. }
  277. }
  278. *case: Option3
  279. {
  280. *PrintableArea: PAIR(7344, 5700)
  281. *PrintableOrigin: PAIR(0, 60)
  282. *switch: Resolution
  283. {
  284. *case: Option4
  285. {
  286. *PrintableArea: PAIR(7344, 5696)
  287. *PrintableOrigin: PAIR(0, 64)
  288. }
  289. }
  290. }
  291. *case: Option4
  292. {
  293. *PrintableArea: PAIR(7344, 5700)
  294. *PrintableOrigin: PAIR(0, 60)
  295. *switch: Resolution
  296. {
  297. *case: Option4
  298. {
  299. *PrintableArea: PAIR(7344, 5696)
  300. *PrintableOrigin: PAIR(0, 64)
  301. }
  302. }
  303. }
  304. }
  305. }
  306. *Option: LEGAL
  307. {
  308. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  309. *Command: CmdSelect
  310. {
  311. *Order: PAGE_SETUP.7
  312. *Cmd: "<1B>&l3A<1B>*r5760S<1B>&a0v0H<1B>&l0E"
  313. }
  314. *switch: InputBin
  315. {
  316. *case: TRACTOR
  317. {
  318. *PrintableArea: PAIR(5760, 10080)
  319. *PrintableOrigin: PAIR(0, 0)
  320. }
  321. *case: MANUAL
  322. {
  323. *PrintableArea: PAIR(5760, 9660)
  324. *PrintableOrigin: PAIR(0, 60)
  325. *switch: Resolution
  326. {
  327. *case: Option4
  328. {
  329. *PrintableArea: PAIR(5760, 9656)
  330. *PrintableOrigin: PAIR(0, 64)
  331. }
  332. }
  333. }
  334. *case: Option3
  335. {
  336. *PrintableArea: PAIR(5760, 9660)
  337. *PrintableOrigin: PAIR(0, 60)
  338. *switch: Resolution
  339. {
  340. *case: Option4
  341. {
  342. *PrintableArea: PAIR(5760, 9656)
  343. *PrintableOrigin: PAIR(0, 64)
  344. }
  345. }
  346. }
  347. *case: Option4
  348. {
  349. *PrintableArea: PAIR(5760, 9660)
  350. *PrintableOrigin: PAIR(0, 60)
  351. *switch: Resolution
  352. {
  353. *case: Option4
  354. {
  355. *PrintableArea: PAIR(5760, 9656)
  356. *PrintableOrigin: PAIR(0, 64)
  357. }
  358. }
  359. }
  360. }
  361. }
  362. *Option: TABLOID
  363. {
  364. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  365. *Command: CmdSelect
  366. {
  367. *Order: PAGE_SETUP.7
  368. *Cmd: "<1B>&l6A<1B>*r7416S<1B>&a0v0H<1B>&l0E"
  369. }
  370. *switch: InputBin
  371. {
  372. *case: TRACTOR
  373. {
  374. *PrintableArea: PAIR(7416, 12240)
  375. *PrintableOrigin: PAIR(0, 0)
  376. }
  377. *case: MANUAL
  378. {
  379. *PrintableArea: PAIR(7416, 11820)
  380. *PrintableOrigin: PAIR(0, 60)
  381. *switch: Resolution
  382. {
  383. *case: Option4
  384. {
  385. *PrintableArea: PAIR(7416, 11816)
  386. *PrintableOrigin: PAIR(0, 64)
  387. }
  388. }
  389. }
  390. *case: Option3
  391. {
  392. *PrintableArea: PAIR(7416, 11820)
  393. *PrintableOrigin: PAIR(0, 60)
  394. *switch: Resolution
  395. {
  396. *case: Option4
  397. {
  398. *PrintableArea: PAIR(7416, 11816)
  399. *PrintableOrigin: PAIR(0, 64)
  400. }
  401. }
  402. }
  403. *case: Option4
  404. {
  405. *PrintableArea: PAIR(7416, 11820)
  406. *PrintableOrigin: PAIR(0, 60)
  407. *switch: Resolution
  408. {
  409. *case: Option4
  410. {
  411. *PrintableArea: PAIR(7416, 11816)
  412. *PrintableOrigin: PAIR(0, 64)
  413. }
  414. }
  415. }
  416. }
  417. }
  418. *Option: Option6
  419. {
  420. *rcNameID: 259
  421. *PageDimensions: PAIR(11909, 16834)
  422. *Command: CmdSelect
  423. {
  424. *Order: PAGE_SETUP.7
  425. *Cmd: "<1B>&l132F<1B>*r9792S<1B>&a0v0H<1B>&l0E"
  426. }
  427. *switch: InputBin
  428. {
  429. *case: TRACTOR
  430. {
  431. *PrintableArea: PAIR(9785, 16834)
  432. *PrintableOrigin: PAIR(0, 0)
  433. *switch: Resolution
  434. {
  435. *case: Option1
  436. {
  437. *PrintableArea: PAIR(9784, 16834)
  438. }
  439. *case: Option2
  440. {
  441. *PrintableArea: PAIR(9784, 16832)
  442. }
  443. *case: Option3
  444. {
  445. *PrintableArea: PAIR(9780, 16830)
  446. }
  447. *case: Option4
  448. {
  449. *PrintableArea: PAIR(9784, 16832)
  450. }
  451. }
  452. }
  453. *case: MANUAL
  454. {
  455. *PrintableArea: PAIR(9785, 16414)
  456. *PrintableOrigin: PAIR(0, 60)
  457. *switch: Resolution
  458. {
  459. *case: Option1
  460. {
  461. *PrintableArea: PAIR(9784, 16414)
  462. }
  463. *case: Option2
  464. {
  465. *PrintableArea: PAIR(9784, 16412)
  466. }
  467. *case: Option3
  468. {
  469. *PrintableArea: PAIR(9780, 16410)
  470. }
  471. *case: Option4
  472. {
  473. *PrintableArea: PAIR(9784, 16408)
  474. *PrintableOrigin: PAIR(0, 64)
  475. }
  476. }
  477. }
  478. *case: Option3
  479. {
  480. *PrintableArea: PAIR(9785, 16414)
  481. *PrintableOrigin: PAIR(0, 60)
  482. *switch: Resolution
  483. {
  484. *case: Option1
  485. {
  486. *PrintableArea: PAIR(9784, 16414)
  487. }
  488. *case: Option2
  489. {
  490. *PrintableArea: PAIR(9784, 16412)
  491. }
  492. *case: Option3
  493. {
  494. *PrintableArea: PAIR(9780, 16410)
  495. }
  496. *case: Option4
  497. {
  498. *PrintableArea: PAIR(9784, 16408)
  499. *PrintableOrigin: PAIR(0, 64)
  500. }
  501. }
  502. }
  503. *case: Option4
  504. {
  505. *PrintableArea: PAIR(9785, 16414)
  506. *PrintableOrigin: PAIR(0, 60)
  507. *switch: Resolution
  508. {
  509. *case: Option1
  510. {
  511. *PrintableArea: PAIR(9784, 16414)
  512. }
  513. *case: Option2
  514. {
  515. *PrintableArea: PAIR(9784, 16412)
  516. }
  517. *case: Option3
  518. {
  519. *PrintableArea: PAIR(9780, 16410)
  520. }
  521. *case: Option4
  522. {
  523. *PrintableArea: PAIR(9784, 16408)
  524. *PrintableOrigin: PAIR(0, 64)
  525. }
  526. }
  527. }
  528. }
  529. }
  530. *Option: A3
  531. {
  532. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  533. *Command: CmdSelect
  534. {
  535. *Order: PAGE_SETUP.7
  536. *Cmd: "<1B>&l27A<1B>*r7920S<1B>&a0v0H<1B>&l0E"
  537. }
  538. *switch: InputBin
  539. {
  540. *case: TRACTOR
  541. {
  542. *PrintableArea: PAIR(7920, 11909)
  543. *PrintableOrigin: PAIR(0, 0)
  544. *switch: Resolution
  545. {
  546. *case: Option1
  547. {
  548. *PrintableArea: PAIR(7920, 11908)
  549. }
  550. *case: Option2
  551. {
  552. *PrintableArea: PAIR(7920, 11908)
  553. }
  554. *case: Option3
  555. {
  556. *PrintableArea: PAIR(7920, 11904)
  557. }
  558. *case: Option4
  559. {
  560. *PrintableArea: PAIR(7920, 11904)
  561. }
  562. }
  563. }
  564. *case: MANUAL
  565. {
  566. *PrintableArea: PAIR(7920, 11489)
  567. *PrintableOrigin: PAIR(0, 60)
  568. *switch: Resolution
  569. {
  570. *case: Option1
  571. {
  572. *PrintableArea: PAIR(7920, 11488)
  573. }
  574. *case: Option2
  575. {
  576. *PrintableArea: PAIR(7920, 11488)
  577. }
  578. *case: Option3
  579. {
  580. *PrintableArea: PAIR(7920, 11484)
  581. }
  582. *case: Option4
  583. {
  584. *PrintableArea: PAIR(7920, 11480)
  585. *PrintableOrigin: PAIR(0, 64)
  586. }
  587. }
  588. }
  589. *case: Option3
  590. {
  591. *PrintableArea: PAIR(7920, 11489)
  592. *PrintableOrigin: PAIR(0, 60)
  593. *switch: Resolution
  594. {
  595. *case: Option1
  596. {
  597. *PrintableArea: PAIR(7920, 11488)
  598. }
  599. *case: Option2
  600. {
  601. *PrintableArea: PAIR(7920, 11488)
  602. }
  603. *case: Option3
  604. {
  605. *PrintableArea: PAIR(7920, 11484)
  606. }
  607. *case: Option4
  608. {
  609. *PrintableArea: PAIR(7920, 11480)
  610. *PrintableOrigin: PAIR(0, 64)
  611. }
  612. }
  613. }
  614. *case: Option4
  615. {
  616. *PrintableArea: PAIR(7920, 11489)
  617. *PrintableOrigin: PAIR(0, 60)
  618. *switch: Resolution
  619. {
  620. *case: Option1
  621. {
  622. *PrintableArea: PAIR(7920, 11488)
  623. }
  624. *case: Option2
  625. {
  626. *PrintableArea: PAIR(7920, 11488)
  627. }
  628. *case: Option3
  629. {
  630. *PrintableArea: PAIR(7920, 11484)
  631. }
  632. *case: Option4
  633. {
  634. *PrintableArea: PAIR(7920, 11480)
  635. *PrintableOrigin: PAIR(0, 64)
  636. }
  637. }
  638. }
  639. }
  640. }
  641. *Option: A4
  642. {
  643. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  644. *Command: CmdSelect
  645. {
  646. *Order: PAGE_SETUP.7
  647. *Cmd: "<1B>&l26A<1B>*r5760S<1B>&a0v0H<1B>&l0E"
  648. }
  649. *switch: InputBin
  650. {
  651. *case: TRACTOR
  652. {
  653. *PrintableArea: PAIR(5760, 8417)
  654. *PrintableOrigin: PAIR(0, 0)
  655. *switch: Resolution
  656. {
  657. *case: Option1
  658. {
  659. *PrintableArea: PAIR(5760, 8416)
  660. }
  661. *case: Option2
  662. {
  663. *PrintableArea: PAIR(5760, 8416)
  664. }
  665. *case: Option3
  666. {
  667. *PrintableArea: PAIR(5760, 8412)
  668. }
  669. *case: Option4
  670. {
  671. *PrintableArea: PAIR(5760, 8416)
  672. }
  673. }
  674. }
  675. *case: MANUAL
  676. {
  677. *PrintableArea: PAIR(5760, 7997)
  678. *PrintableOrigin: PAIR(0, 60)
  679. *switch: Resolution
  680. {
  681. *case: Option1
  682. {
  683. *PrintableArea: PAIR(5760, 7996)
  684. }
  685. *case: Option2
  686. {
  687. *PrintableArea: PAIR(5760, 7996)
  688. }
  689. *case: Option3
  690. {
  691. *PrintableArea: PAIR(5760, 7992)
  692. }
  693. *case: Option4
  694. {
  695. *PrintableArea: PAIR(5760, 7992)
  696. *PrintableOrigin: PAIR(0, 64)
  697. }
  698. }
  699. }
  700. *case: Option3
  701. {
  702. *PrintableArea: PAIR(5760, 7997)
  703. *PrintableOrigin: PAIR(0, 60)
  704. *switch: Resolution
  705. {
  706. *case: Option1
  707. {
  708. *PrintableArea: PAIR(5760, 7996)
  709. }
  710. *case: Option2
  711. {
  712. *PrintableArea: PAIR(5760, 7996)
  713. }
  714. *case: Option3
  715. {
  716. *PrintableArea: PAIR(5760, 7992)
  717. }
  718. *case: Option4
  719. {
  720. *PrintableArea: PAIR(5760, 7992)
  721. *PrintableOrigin: PAIR(0, 64)
  722. }
  723. }
  724. }
  725. *case: Option4
  726. {
  727. *PrintableArea: PAIR(5760, 7997)
  728. *PrintableOrigin: PAIR(0, 60)
  729. *switch: Resolution
  730. {
  731. *case: Option1
  732. {
  733. *PrintableArea: PAIR(5760, 7996)
  734. }
  735. *case: Option2
  736. {
  737. *PrintableArea: PAIR(5760, 7996)
  738. }
  739. *case: Option3
  740. {
  741. *PrintableArea: PAIR(5760, 7992)
  742. }
  743. *case: Option4
  744. {
  745. *PrintableArea: PAIR(5760, 7992)
  746. *PrintableOrigin: PAIR(0, 64)
  747. }
  748. }
  749. }
  750. }
  751. }
  752. *Option: Option9
  753. {
  754. *rcNameID: 260
  755. *PageDimensions: PAIR(8417, 5954)
  756. *Command: CmdSelect
  757. {
  758. *Order: PAGE_SETUP.7
  759. *Cmd: "<1B>&l36A<1B>*r7920S<1B>&a0v0H<1B>&l0E"
  760. }
  761. *switch: InputBin
  762. {
  763. *case: TRACTOR
  764. {
  765. *PrintableArea: PAIR(7920, 5954)
  766. *PrintableOrigin: PAIR(0, 0)
  767. *switch: Resolution
  768. {
  769. *case: Option2
  770. {
  771. *PrintableArea: PAIR(7920, 5952)
  772. }
  773. *case: Option3
  774. {
  775. *PrintableArea: PAIR(7920, 5952)
  776. }
  777. *case: Option4
  778. {
  779. *PrintableArea: PAIR(7920, 5952)
  780. }
  781. }
  782. }
  783. *case: MANUAL
  784. {
  785. *PrintableArea: PAIR(7920, 5534)
  786. *PrintableOrigin: PAIR(0, 60)
  787. *switch: Resolution
  788. {
  789. *case: Option2
  790. {
  791. *PrintableArea: PAIR(7920, 5532)
  792. }
  793. *case: Option3
  794. {
  795. *PrintableArea: PAIR(7920, 5532)
  796. }
  797. *case: Option4
  798. {
  799. *PrintableArea: PAIR(7920, 5528)
  800. *PrintableOrigin: PAIR(0, 64)
  801. }
  802. }
  803. }
  804. *case: Option3
  805. {
  806. *PrintableArea: PAIR(7920, 5534)
  807. *PrintableOrigin: PAIR(0, 60)
  808. *switch: Resolution
  809. {
  810. *case: Option2
  811. {
  812. *PrintableArea: PAIR(7920, 5532)
  813. }
  814. *case: Option3
  815. {
  816. *PrintableArea: PAIR(7920, 5532)
  817. }
  818. *case: Option4
  819. {
  820. *PrintableArea: PAIR(7920, 5528)
  821. *PrintableOrigin: PAIR(0, 64)
  822. }
  823. }
  824. }
  825. *case: Option4
  826. {
  827. *PrintableArea: PAIR(7920, 5534)
  828. *PrintableOrigin: PAIR(0, 60)
  829. *switch: Resolution
  830. {
  831. *case: Option2
  832. {
  833. *PrintableArea: PAIR(7920, 5532)
  834. }
  835. *case: Option3
  836. {
  837. *PrintableArea: PAIR(7920, 5532)
  838. }
  839. *case: Option4
  840. {
  841. *PrintableArea: PAIR(7920, 5528)
  842. *PrintableOrigin: PAIR(0, 64)
  843. }
  844. }
  845. }
  846. }
  847. }
  848. *Option: Option10
  849. {
  850. *rcNameID: 261
  851. *PageDimensions: PAIR(6480, 7920)
  852. *Command: CmdSelect
  853. {
  854. *Order: PAGE_SETUP.7
  855. *Cmd: "<1B>&l56A<1B>*r5760S<1B>&a0v0H<1B>&l0E"
  856. }
  857. *switch: InputBin
  858. {
  859. *case: TRACTOR
  860. {
  861. *PrintableArea: PAIR(5760, 7920)
  862. *PrintableOrigin: PAIR(0, 0)
  863. }
  864. *case: MANUAL
  865. {
  866. *PrintableArea: PAIR(5760, 7500)
  867. *PrintableOrigin: PAIR(0, 60)
  868. *switch: Resolution
  869. {
  870. *case: Option4
  871. {
  872. *PrintableArea: PAIR(5760, 7496)
  873. *PrintableOrigin: PAIR(0, 64)
  874. }
  875. }
  876. }
  877. *case: Option3
  878. {
  879. *PrintableArea: PAIR(5760, 7500)
  880. *PrintableOrigin: PAIR(0, 60)
  881. *switch: Resolution
  882. {
  883. *case: Option4
  884. {
  885. *PrintableArea: PAIR(5760, 7496)
  886. *PrintableOrigin: PAIR(0, 64)
  887. }
  888. }
  889. }
  890. *case: Option4
  891. {
  892. *PrintableArea: PAIR(5760, 7500)
  893. *PrintableOrigin: PAIR(0, 60)
  894. *switch: Resolution
  895. {
  896. *case: Option4
  897. {
  898. *PrintableArea: PAIR(5760, 7496)
  899. *PrintableOrigin: PAIR(0, 64)
  900. }
  901. }
  902. }
  903. }
  904. }
  905. *Option: Option11
  906. {
  907. *rcNameID: 262
  908. *PageDimensions: PAIR(6480, 8640)
  909. *Command: CmdSelect
  910. {
  911. *Order: PAGE_SETUP.7
  912. *Cmd: "<1B>&l58A<1B>*r5760S<1B>&a0v0H<1B>&l0E"
  913. }
  914. *switch: InputBin
  915. {
  916. *case: TRACTOR
  917. {
  918. *PrintableArea: PAIR(5760, 8640)
  919. *PrintableOrigin: PAIR(0, 0)
  920. }
  921. *case: MANUAL
  922. {
  923. *PrintableArea: PAIR(5760, 8220)
  924. *PrintableOrigin: PAIR(0, 60)
  925. *switch: Resolution
  926. {
  927. *case: Option4
  928. {
  929. *PrintableArea: PAIR(5760, 8216)
  930. *PrintableOrigin: PAIR(0, 64)
  931. }
  932. }
  933. }
  934. *case: Option3
  935. {
  936. *PrintableArea: PAIR(5760, 8220)
  937. *PrintableOrigin: PAIR(0, 60)
  938. *switch: Resolution
  939. {
  940. *case: Option4
  941. {
  942. *PrintableArea: PAIR(5760, 8216)
  943. *PrintableOrigin: PAIR(0, 64)
  944. }
  945. }
  946. }
  947. *case: Option4
  948. {
  949. *PrintableArea: PAIR(5760, 8220)
  950. *PrintableOrigin: PAIR(0, 60)
  951. *switch: Resolution
  952. {
  953. *case: Option4
  954. {
  955. *PrintableArea: PAIR(5760, 8216)
  956. *PrintableOrigin: PAIR(0, 64)
  957. }
  958. }
  959. }
  960. }
  961. }
  962. *Option: Option12
  963. {
  964. *rcNameID: 263
  965. *PageDimensions: PAIR(10800, 7920)
  966. *Command: CmdSelect
  967. {
  968. *Order: PAGE_SETUP.7
  969. *Cmd: "<1B>&l66A<1B>*r9792S<1B>&a0v0H<1B>&l0E"
  970. }
  971. *switch: InputBin
  972. {
  973. *case: TRACTOR
  974. {
  975. *PrintableArea: PAIR(9720, 7920)
  976. *PrintableOrigin: PAIR(0, 0)
  977. }
  978. *case: MANUAL
  979. {
  980. *PrintableArea: PAIR(9720, 7500)
  981. *PrintableOrigin: PAIR(0, 60)
  982. *switch: Resolution
  983. {
  984. *case: Option4
  985. {
  986. *PrintableArea: PAIR(9720, 7496)
  987. *PrintableOrigin: PAIR(0, 64)
  988. }
  989. }
  990. }
  991. *case: Option3
  992. {
  993. *PrintableArea: PAIR(9720, 7500)
  994. *PrintableOrigin: PAIR(0, 60)
  995. *switch: Resolution
  996. {
  997. *case: Option4
  998. {
  999. *PrintableArea: PAIR(9720, 7496)
  1000. *PrintableOrigin: PAIR(0, 64)
  1001. }
  1002. }
  1003. }
  1004. *case: Option4
  1005. {
  1006. *PrintableArea: PAIR(9720, 7500)
  1007. *PrintableOrigin: PAIR(0, 60)
  1008. *switch: Resolution
  1009. {
  1010. *case: Option4
  1011. {
  1012. *PrintableArea: PAIR(9720, 7496)
  1013. *PrintableOrigin: PAIR(0, 64)
  1014. }
  1015. }
  1016. }
  1017. }
  1018. }
  1019. *Option: Option13
  1020. {
  1021. *rcNameID: 264
  1022. *PageDimensions: PAIR(10800, 8640)
  1023. *Command: CmdSelect
  1024. {
  1025. *Order: PAGE_SETUP.7
  1026. *Cmd: "<1B>&l68A<1B>*r9792S<1B>&a0v0H<1B>&l0E"
  1027. }
  1028. *switch: InputBin
  1029. {
  1030. *case: TRACTOR
  1031. {
  1032. *PrintableArea: PAIR(9720, 8640)
  1033. *PrintableOrigin: PAIR(0, 0)
  1034. }
  1035. *case: MANUAL
  1036. {
  1037. *PrintableArea: PAIR(9720, 8220)
  1038. *PrintableOrigin: PAIR(0, 60)
  1039. *switch: Resolution
  1040. {
  1041. *case: Option4
  1042. {
  1043. *PrintableArea: PAIR(9720, 8216)
  1044. *PrintableOrigin: PAIR(0, 64)
  1045. }
  1046. }
  1047. }
  1048. *case: Option3
  1049. {
  1050. *PrintableArea: PAIR(9720, 8220)
  1051. *PrintableOrigin: PAIR(0, 60)
  1052. *switch: Resolution
  1053. {
  1054. *case: Option4
  1055. {
  1056. *PrintableArea: PAIR(9720, 8216)
  1057. *PrintableOrigin: PAIR(0, 64)
  1058. }
  1059. }
  1060. }
  1061. *case: Option4
  1062. {
  1063. *PrintableArea: PAIR(9720, 8220)
  1064. *PrintableOrigin: PAIR(0, 60)
  1065. *switch: Resolution
  1066. {
  1067. *case: Option4
  1068. {
  1069. *PrintableArea: PAIR(9720, 8216)
  1070. *PrintableOrigin: PAIR(0, 64)
  1071. }
  1072. }
  1073. }
  1074. }
  1075. }
  1076. *Option: ENV_10
  1077. {
  1078. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1079. *RotateSize? : TRUE
  1080. *Command: CmdSelect
  1081. {
  1082. *Order: PAGE_SETUP.7
  1083. *Cmd: "<1B>&l81A<1B>*r5760"
  1084. }
  1085. *switch: InputBin
  1086. {
  1087. *case: TRACTOR
  1088. {
  1089. *PrintableArea: PAIR(5760, 2974)
  1090. *PrintableOrigin: PAIR(0, 0)
  1091. *switch: Resolution
  1092. {
  1093. *case: Option2
  1094. {
  1095. *PrintableArea: PAIR(5760, 2972)
  1096. }
  1097. *case: Option3
  1098. {
  1099. *PrintableArea: PAIR(5760, 2970)
  1100. }
  1101. *case: Option4
  1102. {
  1103. *PrintableArea: PAIR(5760, 2968)
  1104. }
  1105. }
  1106. }
  1107. *case: MANUAL
  1108. {
  1109. *PrintableArea: PAIR(5760, 2554)
  1110. *PrintableOrigin: PAIR(0, 60)
  1111. *switch: Resolution
  1112. {
  1113. *case: Option2
  1114. {
  1115. *PrintableArea: PAIR(5760, 2552)
  1116. }
  1117. *case: Option3
  1118. {
  1119. *PrintableArea: PAIR(5760, 2550)
  1120. }
  1121. *case: Option4
  1122. {
  1123. *PrintableArea: PAIR(5760, 2544)
  1124. *PrintableOrigin: PAIR(0, 64)
  1125. }
  1126. }
  1127. }
  1128. *case: Option3
  1129. {
  1130. *PrintableArea: PAIR(5760, 2554)
  1131. *PrintableOrigin: PAIR(0, 60)
  1132. *switch: Resolution
  1133. {
  1134. *case: Option2
  1135. {
  1136. *PrintableArea: PAIR(5760, 2552)
  1137. }
  1138. *case: Option3
  1139. {
  1140. *PrintableArea: PAIR(5760, 2550)
  1141. }
  1142. *case: Option4
  1143. {
  1144. *PrintableArea: PAIR(5760, 2544)
  1145. *PrintableOrigin: PAIR(0, 64)
  1146. }
  1147. }
  1148. }
  1149. *case: Option4
  1150. {
  1151. *PrintableArea: PAIR(5760, 2554)
  1152. *PrintableOrigin: PAIR(0, 60)
  1153. *switch: Resolution
  1154. {
  1155. *case: Option2
  1156. {
  1157. *PrintableArea: PAIR(5760, 2552)
  1158. }
  1159. *case: Option3
  1160. {
  1161. *PrintableArea: PAIR(5760, 2550)
  1162. }
  1163. *case: Option4
  1164. {
  1165. *PrintableArea: PAIR(5760, 2544)
  1166. *PrintableOrigin: PAIR(0, 64)
  1167. }
  1168. }
  1169. }
  1170. }
  1171. }
  1172. *Option: CUSTOMSIZE
  1173. {
  1174. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1175. *MinSize: PAIR(720, 720)
  1176. *MaxSize: PAIR(11920, 16834)
  1177. *MaxPrintableWidth: 11909
  1178. *MinLeftMargin: 0
  1179. *CenterPrintable?: FALSE
  1180. *switch: InputBin
  1181. {
  1182. *case: TRACTOR
  1183. {
  1184. *TopMargin: 0
  1185. *BottomMargin: 0
  1186. }
  1187. *case: MANUAL
  1188. {
  1189. *TopMargin: 60
  1190. *BottomMargin: 360
  1191. }
  1192. *case: Option3
  1193. {
  1194. *TopMargin: 60
  1195. *BottomMargin: 360
  1196. }
  1197. *case: Option4
  1198. {
  1199. *TopMargin: 60
  1200. *BottomMargin: 360
  1201. }
  1202. }
  1203. }
  1204. }
  1205. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_10)
  1206. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  1207. *Feature: PrintQuality
  1208. {
  1209. *rcNameID: =TEXT_QUALITY_DISPLAY
  1210. *DefaultOption: LETTER_QUALITY
  1211. *Option: LETTER_QUALITY
  1212. {
  1213. *rcNameID: =LETTER_QUALITY_DISPLAY
  1214. *Command: CmdSelect
  1215. {
  1216. *Order: DOC_SETUP.3
  1217. *Cmd: "<1B>(s2Q<1B>*r2Q"
  1218. }
  1219. }
  1220. *Option: DRAFT_QUALITY
  1221. {
  1222. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1223. *Command: CmdSelect
  1224. {
  1225. *Order: DOC_SETUP.3
  1226. *Cmd: "<1B>(s0Q<1B>*r0Q"
  1227. }
  1228. }
  1229. }
  1230. *Feature: Halftone
  1231. {
  1232. *rcNameID: =HALFTONING_DISPLAY
  1233. *DefaultOption: HT_PATSIZE_AUTO
  1234. *Option: HT_PATSIZE_AUTO
  1235. {
  1236. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1237. }
  1238. *Ifdef: WINNT_50
  1239. *Option: HT_PATSIZE_SUPERCELL_M
  1240. {
  1241. *rcNameID: =HT_SUPERCELL_DISPLAY
  1242. }
  1243. *Endif:
  1244. *Option: HT_PATSIZE_6x6_M
  1245. {
  1246. *rcNameID: =HT_DITHER6X6_DISPLAY
  1247. }
  1248. *Option: HT_PATSIZE_8x8_M
  1249. {
  1250. *rcNameID: =HT_DITHER8X8_DISPLAY
  1251. }
  1252. }
  1253. *Feature: Memory
  1254. {
  1255. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1256. *DefaultOption: 1KB
  1257. *Option: 1KB
  1258. {
  1259. *Name: "1KB"
  1260. *MemoryConfigKB: PAIR(1, 1)
  1261. }
  1262. *Option: 128KB
  1263. {
  1264. *Name: "128KB"
  1265. *MemoryConfigKB: PAIR(128, 128)
  1266. }
  1267. *Option: 256KB
  1268. {
  1269. *Name: "256KB"
  1270. *MemoryConfigKB: PAIR(256, 256)
  1271. }
  1272. }
  1273. *Command: CmdStartDoc
  1274. {
  1275. *Order: DOC_SETUP.1
  1276. *Cmd: "<1B>E<1B0D>B<1B>&k6W"
  1277. }
  1278. *Command: CmdStartPage
  1279. {
  1280. *Order: PAGE_SETUP.1
  1281. *Cmd: "<0D>"
  1282. }
  1283. *Command: CmdEndJob
  1284. {
  1285. *Order: JOB_FINISH.1
  1286. *Cmd: "<1B>E"
  1287. }
  1288. *RotateCoordinate?: FALSE
  1289. *RotateRaster?: FALSE
  1290. *RotateFont?: FALSE
  1291. *switch: Orientation
  1292. {
  1293. *case: PORTRAIT
  1294. {
  1295. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  1296. }
  1297. *case: LANDSCAPE_CC270
  1298. {
  1299. *TextCaps: LIST(TC_RA_ABLE)
  1300. }
  1301. }
  1302. *MemoryUsage: LIST(FONT)
  1303. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1304. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  1305. *XMoveThreshold: 0
  1306. *YMoveThreshold: *
  1307. *XMoveUnit: 720
  1308. *YMoveUnit: 720
  1309. *Command: CmdXMoveAbsolute { *Cmd : "<1B>&a" %d{DestX }"H" }
  1310. *Command: CmdXMoveRelRight { *Cmd : "<1B>&a+" %d{DestXRel }"H" }
  1311. *Command: CmdXMoveRelLeft { *Cmd : "<1B>&a-" %d{DestXRel }"H" }
  1312. *Command: CmdYMoveAbsolute { *Cmd : "<1B>&a" %d{DestY }"V" }
  1313. *Command: CmdYMoveRelDown { *Cmd : "<1B>&a+" %d{DestYRel }"V" }
  1314. *Command: CmdYMoveRelUp { *Cmd : "<1B>&a-" %d{DestYRel }"V" }
  1315. *Command: CmdCR { *Cmd : "<0D>" }
  1316. *Command: CmdLF { *Cmd : "<0A>" }
  1317. *Command: CmdFF { *Cmd : "<0C>" }
  1318. *EjectPageWithFF?: FALSE
  1319. *switch: PaperSize
  1320. {
  1321. *case: ENV_10
  1322. {
  1323. *EjectPageWithFF?: FALSE
  1324. *switch: InputBin
  1325. {
  1326. *case: MANUAL
  1327. {
  1328. *EjectPageWithFF?: TRUE
  1329. }
  1330. *case: Option3
  1331. {
  1332. *EjectPageWithFF?: TRUE
  1333. }
  1334. *case: Option4
  1335. {
  1336. *EjectPageWithFF?: TRUE
  1337. }
  1338. }
  1339. }
  1340. }
  1341. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1342. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1343. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1344. *OutputDataFormat: H_BYTE
  1345. *OptimizeLeftBound?: TRUE
  1346. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1347. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1348. *LookAheadRegion: 180
  1349. *DefaultFont: 1
  1350. *DefaultCTT: 0
  1351. *MaxFontUsePerPage: 5
  1352. *CharPosition: BASELINE
  1353. *switch: Orientation
  1354. {
  1355. *case: PORTRAIT
  1356. {
  1357. *DeviceFonts: LIST(1,2,3,4,5,6,7,8)
  1358. }
  1359. *case: LANDSCAPE_CC270
  1360. {
  1361. *DeviceFonts: LIST()
  1362. }
  1363. }
  1364. *MinFontID: 1
  1365. *MaxFontID: 99
  1366. *FontFormat: HPPCL
  1367. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1368. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1369. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1370. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  1371. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }