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.

1424 lines
43 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "KYL780J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "KYOCERA L-780"
  11. *MasterUnits: PAIR(300, 300)
  12. *ResourceDLL: "pcl4jres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15. *% ========== Orientation ==========
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. *Command: CmdSelect
  24. {
  25. *Order: DOC_SETUP.4
  26. *Cmd: "<1B>&l0o1E"
  27. }
  28. }
  29. *Option: LANDSCAPE_CC90
  30. {
  31. *rcNameID: =LANDSCAPE_DISPLAY
  32. *Command: CmdSelect
  33. {
  34. *Order: DOC_SETUP.4
  35. *Cmd: "<1B>&l1o1E"
  36. }
  37. }
  38. }
  39. *% ========== InputBin ==========
  40. *Feature: InputBin
  41. {
  42. *rcNameID: =PAPER_SOURCE_DISPLAY
  43. *DefaultOption: CASSETTE
  44. *Option: CASSETTE
  45. {
  46. *rcNameID: =CASSETTE_DISPLAY
  47. *Command: CmdSelect
  48. {
  49. *Order: DOC_SETUP.2
  50. *Cmd: "<1B>&l1H"
  51. }
  52. }
  53. *Option: MANUAL
  54. {
  55. *rcNameID: =MANUAL_FEED_DISPLAY
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.2
  59. *Cmd: "<1B>&l2H"
  60. }
  61. }
  62. *Option: Option3
  63. {
  64. *rcNameID: 262
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.2
  68. *Cmd: "<1B>&l4H"
  69. }
  70. }
  71. *Option: Option4
  72. {
  73. *rcNameID: 269
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.2
  77. *Cmd: "!R!CASS3;EXIT;"
  78. }
  79. }
  80. *Option: Option5
  81. {
  82. *rcNameID: 270
  83. *Command: CmdSelect
  84. {
  85. *Order: DOC_SETUP.2
  86. *Cmd: "<1B>&l6H"
  87. }
  88. }
  89. }
  90. *% ========== Resolution ==========
  91. *Feature: Resolution
  92. {
  93. *rcNameID: =RESOLUTION_DISPLAY
  94. *DefaultOption: Option1
  95. *Option: Option1
  96. {
  97. *Name: "300 x 300 dots per inch"
  98. *DPI: PAIR(300, 300)
  99. *TextDPI: PAIR(300, 300)
  100. *MinStripBlankPixels: 32
  101. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  102. *SpotDiameter: 100
  103. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  104. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  105. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.5
  109. *Cmd: "<1B>*t300R"
  110. }
  111. }
  112. *Option: Option2
  113. {
  114. *Name: "150 x 150 dots per inch"
  115. *DPI: PAIR(150, 150)
  116. *TextDPI: PAIR(300, 300)
  117. *MinStripBlankPixels: 32
  118. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  119. *SpotDiameter: 100
  120. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  121. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  122. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.5
  126. *Cmd: "<1B>*t150R"
  127. }
  128. }
  129. *Option: Option3
  130. {
  131. *Name: "75 x 75 dots per inch"
  132. *DPI: PAIR(75, 75)
  133. *TextDPI: PAIR(300, 300)
  134. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  135. *SpotDiameter: 100
  136. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  137. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  138. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.5
  142. *Cmd: "<1B>*t75R"
  143. }
  144. }
  145. }
  146. *% ========== PaperSize ==========
  147. *Feature: PaperSize
  148. {
  149. *rcNameID: =PAPER_SIZE_DISPLAY
  150. *DefaultOption: A4
  151. *Option: LETTER
  152. {
  153. *rcNameID: =LETTER_DISPLAY
  154. *switch: Orientation
  155. {
  156. *case: PORTRAIT
  157. {
  158. *PrintableArea: PAIR(2400, 3160)
  159. *PrintableOrigin: PAIR(60, 75)
  160. *switch: Resolution
  161. {
  162. *case: Option2
  163. {
  164. *PrintableArea: PAIR(2400, 3158)
  165. *PrintableOrigin: PAIR(60, 76)
  166. }
  167. *case: Option3
  168. {
  169. *PrintableArea: PAIR(2400, 3156)
  170. *PrintableOrigin: PAIR(60, 76)
  171. }
  172. }
  173. *CursorOrigin: PAIR(60, 75)
  174. *Command: CmdSelect
  175. {
  176. *Order: DOC_SETUP.3
  177. *Cmd: "<1B>&l2a4d1e42F"
  178. }
  179. }
  180. *case: LANDSCAPE_CC90
  181. {
  182. *PrintableArea: PAIR(2400, 3160)
  183. *PrintableOrigin: PAIR(60, 75)
  184. *switch: Resolution
  185. {
  186. *case: Option2
  187. {
  188. *PrintableArea: PAIR(2400, 3158)
  189. *PrintableOrigin: PAIR(60, 76)
  190. }
  191. *case: Option3
  192. {
  193. *PrintableArea: PAIR(2400, 3156)
  194. *PrintableOrigin: PAIR(60, 76)
  195. }
  196. }
  197. *CursorOrigin: PAIR(60, 3240)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.3
  201. *Cmd: "<1B>&l2a4d1e42F"
  202. }
  203. }
  204. }
  205. }
  206. *Option: LEGAL
  207. {
  208. *rcNameID: =LEGAL_DISPLAY
  209. *switch: Orientation
  210. {
  211. *case: PORTRAIT
  212. {
  213. *PrintableArea: PAIR(2400, 4060)
  214. *PrintableOrigin: PAIR(60, 75)
  215. *switch: Resolution
  216. {
  217. *case: Option2
  218. {
  219. *PrintableArea: PAIR(2400, 4058)
  220. *PrintableOrigin: PAIR(60, 76)
  221. }
  222. *case: Option3
  223. {
  224. *PrintableArea: PAIR(2400, 4056)
  225. *PrintableOrigin: PAIR(60, 76)
  226. }
  227. }
  228. *CursorOrigin: PAIR(60, 75)
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.3
  232. *Cmd: "<1B>&l3a4d1e54F"
  233. }
  234. }
  235. *case: LANDSCAPE_CC90
  236. {
  237. *PrintableArea: PAIR(2400, 4060)
  238. *PrintableOrigin: PAIR(60, 75)
  239. *switch: Resolution
  240. {
  241. *case: Option2
  242. {
  243. *PrintableArea: PAIR(2400, 4058)
  244. *PrintableOrigin: PAIR(60, 76)
  245. }
  246. *case: Option3
  247. {
  248. *PrintableArea: PAIR(2400, 4056)
  249. *PrintableOrigin: PAIR(60, 76)
  250. }
  251. }
  252. *CursorOrigin: PAIR(60, 4140)
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.3
  256. *Cmd: "<1B>&l3a4d1e54F"
  257. }
  258. }
  259. }
  260. }
  261. *Option: TABLOID
  262. {
  263. *rcNameID: =TABLOID_DISPLAY
  264. *switch: Orientation
  265. {
  266. *case: PORTRAIT
  267. {
  268. *PrintableArea: PAIR(3150, 4950)
  269. *PrintableOrigin: PAIR(75, 75)
  270. *switch: Resolution
  271. {
  272. *case: Option2
  273. {
  274. *PrintableArea: PAIR(3148, 4948)
  275. *PrintableOrigin: PAIR(76, 76)
  276. }
  277. *case: Option3
  278. {
  279. *PrintableArea: PAIR(3148, 4948)
  280. *PrintableOrigin: PAIR(76, 76)
  281. }
  282. }
  283. *CursorOrigin: PAIR(75, 75)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.3
  287. *Cmd: "!R!SPSZ12,0;EXIT;"
  288. }
  289. }
  290. *case: LANDSCAPE_CC90
  291. {
  292. *PrintableArea: PAIR(3150, 4950)
  293. *PrintableOrigin: PAIR(75, 75)
  294. *switch: Resolution
  295. {
  296. *case: Option2
  297. {
  298. *PrintableArea: PAIR(3148, 4948)
  299. *PrintableOrigin: PAIR(76, 76)
  300. }
  301. *case: Option3
  302. {
  303. *PrintableArea: PAIR(3148, 4948)
  304. *PrintableOrigin: PAIR(76, 76)
  305. }
  306. }
  307. *CursorOrigin: PAIR(75, 5040)
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.3
  311. *Cmd: "!R!SPSZ12,0;EXIT;"
  312. }
  313. }
  314. }
  315. }
  316. *Option: EXECUTIVE
  317. {
  318. *rcNameID: =EXECUTIVE_DISPLAY
  319. *switch: Orientation
  320. {
  321. *case: PORTRAIT
  322. {
  323. *PrintableArea: PAIR(2025, 3010)
  324. *PrintableOrigin: PAIR(60, 75)
  325. *switch: Resolution
  326. {
  327. *case: Option2
  328. {
  329. *PrintableArea: PAIR(2024, 3008)
  330. *PrintableOrigin: PAIR(60, 76)
  331. }
  332. *case: Option3
  333. {
  334. *PrintableArea: PAIR(2024, 3008)
  335. *PrintableOrigin: PAIR(60, 76)
  336. }
  337. }
  338. *CursorOrigin: PAIR(60, 75)
  339. *Command: CmdSelect
  340. {
  341. *Order: DOC_SETUP.3
  342. *Cmd: "<1B>&l1a4d1e40F"
  343. }
  344. }
  345. *case: LANDSCAPE_CC90
  346. {
  347. *PrintableArea: PAIR(2025, 3010)
  348. *PrintableOrigin: PAIR(60, 75)
  349. *switch: Resolution
  350. {
  351. *case: Option2
  352. {
  353. *PrintableArea: PAIR(2024, 3008)
  354. *PrintableOrigin: PAIR(60, 76)
  355. }
  356. *case: Option3
  357. {
  358. *PrintableArea: PAIR(2024, 3008)
  359. *PrintableOrigin: PAIR(60, 76)
  360. }
  361. }
  362. *CursorOrigin: PAIR(60, 3090)
  363. *Command: CmdSelect
  364. {
  365. *Order: DOC_SETUP.3
  366. *Cmd: "<1B>&l1a4d1e40F"
  367. }
  368. }
  369. }
  370. }
  371. *Option: A3
  372. {
  373. *rcNameID: =A3_DISPLAY
  374. *switch: Orientation
  375. {
  376. *case: PORTRAIT
  377. {
  378. *PrintableArea: PAIR(3357, 4812)
  379. *PrintableOrigin: PAIR(75, 75)
  380. *switch: Resolution
  381. {
  382. *case: Option2
  383. {
  384. *PrintableArea: PAIR(3356, 4810)
  385. *PrintableOrigin: PAIR(76, 76)
  386. }
  387. *case: Option3
  388. {
  389. *PrintableArea: PAIR(3356, 4808)
  390. *PrintableOrigin: PAIR(76, 76)
  391. }
  392. }
  393. *CursorOrigin: PAIR(75, 75)
  394. *Command: CmdSelect
  395. {
  396. *Order: DOC_SETUP.3
  397. *Cmd: "!R!SPSZ10,0;EXIT;"
  398. }
  399. }
  400. *case: LANDSCAPE_CC90
  401. {
  402. *PrintableArea: PAIR(3357, 4812)
  403. *PrintableOrigin: PAIR(75, 75)
  404. *switch: Resolution
  405. {
  406. *case: Option2
  407. {
  408. *PrintableArea: PAIR(3356, 4810)
  409. *PrintableOrigin: PAIR(76, 76)
  410. }
  411. *case: Option3
  412. {
  413. *PrintableArea: PAIR(3356, 4808)
  414. *PrintableOrigin: PAIR(76, 76)
  415. }
  416. }
  417. *CursorOrigin: PAIR(75, 4902)
  418. *Command: CmdSelect
  419. {
  420. *Order: DOC_SETUP.3
  421. *Cmd: "!R!SPSZ10,0;EXIT;"
  422. }
  423. }
  424. }
  425. }
  426. *Option: A4
  427. {
  428. *rcNameID: =A4_DISPLAY
  429. *switch: Orientation
  430. {
  431. *case: PORTRAIT
  432. {
  433. *PrintableArea: PAIR(2330, 3367)
  434. *PrintableOrigin: PAIR(60, 75)
  435. *switch: Resolution
  436. {
  437. *case: Option2
  438. {
  439. *PrintableArea: PAIR(2330, 3366)
  440. *PrintableOrigin: PAIR(60, 76)
  441. }
  442. *case: Option3
  443. {
  444. *PrintableArea: PAIR(2328, 3364)
  445. *PrintableOrigin: PAIR(60, 76)
  446. }
  447. }
  448. *CursorOrigin: PAIR(55, 75)
  449. *Command: CmdSelect
  450. {
  451. *Order: DOC_SETUP.3
  452. *Cmd: "<1B>&l26a4d1e45F"
  453. }
  454. }
  455. *case: LANDSCAPE_CC90
  456. {
  457. *PrintableArea: PAIR(2331, 3367)
  458. *PrintableOrigin: PAIR(60, 75)
  459. *switch: Resolution
  460. {
  461. *case: Option2
  462. {
  463. *PrintableArea: PAIR(2330, 3366)
  464. *PrintableOrigin: PAIR(60, 76)
  465. }
  466. *case: Option3
  467. {
  468. *PrintableArea: PAIR(2328, 3364)
  469. *PrintableOrigin: PAIR(60, 76)
  470. }
  471. }
  472. *CursorOrigin: PAIR(60, 3447)
  473. *Command: CmdSelect
  474. {
  475. *Order: DOC_SETUP.3
  476. *Cmd: "<1B>&l26a4d1e45F"
  477. }
  478. }
  479. }
  480. }
  481. *Option: A5
  482. {
  483. *rcNameID: =A5_DISPLAY
  484. *switch: Orientation
  485. {
  486. *case: PORTRAIT
  487. {
  488. *PrintableArea: PAIR(1599, 2341)
  489. *PrintableOrigin: PAIR(60, 75)
  490. *switch: Resolution
  491. {
  492. *case: Option2
  493. {
  494. *PrintableArea: PAIR(1598, 2340)
  495. *PrintableOrigin: PAIR(60, 76)
  496. }
  497. *case: Option3
  498. {
  499. *PrintableArea: PAIR(1596, 2340)
  500. *PrintableOrigin: PAIR(60, 76)
  501. }
  502. }
  503. *CursorOrigin: PAIR(55, 75)
  504. *Command: CmdSelect
  505. {
  506. *Order: DOC_SETUP.3
  507. *Cmd: "!R!SPSZ13,0;EXIT;"
  508. }
  509. }
  510. *case: LANDSCAPE_CC90
  511. {
  512. *PrintableArea: PAIR(1599, 2341)
  513. *PrintableOrigin: PAIR(60, 75)
  514. *switch: Resolution
  515. {
  516. *case: Option2
  517. {
  518. *PrintableArea: PAIR(1598, 2340)
  519. *PrintableOrigin: PAIR(60, 76)
  520. }
  521. *case: Option3
  522. {
  523. *PrintableArea: PAIR(1596, 2340)
  524. *PrintableOrigin: PAIR(60, 76)
  525. }
  526. }
  527. *CursorOrigin: PAIR(60, 2421)
  528. *Command: CmdSelect
  529. {
  530. *Order: DOC_SETUP.3
  531. *Cmd: "!R!SPSZ13,0;EXIT;"
  532. }
  533. }
  534. }
  535. }
  536. *Option: A6
  537. {
  538. *rcNameID: =A6_DISPLAY
  539. *switch: Orientation
  540. {
  541. *case: PORTRAIT
  542. {
  543. *PrintableArea: PAIR(1089, 1609)
  544. *PrintableOrigin: PAIR(60, 75)
  545. *switch: Resolution
  546. {
  547. *case: Option2
  548. {
  549. *PrintableArea: PAIR(1088, 1608)
  550. *PrintableOrigin: PAIR(60, 76)
  551. }
  552. *case: Option3
  553. {
  554. *PrintableArea: PAIR(1088, 1608)
  555. *PrintableOrigin: PAIR(60, 76)
  556. }
  557. }
  558. *CursorOrigin: PAIR(55, 75)
  559. *Command: CmdSelect
  560. {
  561. *Order: DOC_SETUP.3
  562. *Cmd: "!R!SPSZ14,0;EXIT;"
  563. }
  564. }
  565. *case: LANDSCAPE_CC90
  566. {
  567. *PrintableArea: PAIR(1089, 1609)
  568. *PrintableOrigin: PAIR(60, 75)
  569. *switch: Resolution
  570. {
  571. *case: Option2
  572. {
  573. *PrintableArea: PAIR(1088, 1608)
  574. *PrintableOrigin: PAIR(60, 76)
  575. }
  576. *case: Option3
  577. {
  578. *PrintableArea: PAIR(1088, 1608)
  579. *PrintableOrigin: PAIR(60, 76)
  580. }
  581. }
  582. *CursorOrigin: PAIR(60, 1689)
  583. *Command: CmdSelect
  584. {
  585. *Order: DOC_SETUP.3
  586. *Cmd: "!R!SPSZ14,0;EXIT;"
  587. }
  588. }
  589. }
  590. }
  591. *Option: B4
  592. {
  593. *rcNameID: =B4_DISPLAY
  594. *switch: Orientation
  595. {
  596. *case: PORTRAIT
  597. {
  598. *PrintableArea: PAIR(2886, 4159)
  599. *PrintableOrigin: PAIR(60, 75)
  600. *switch: Resolution
  601. {
  602. *case: Option2
  603. {
  604. *PrintableArea: PAIR(2886, 4158)
  605. *PrintableOrigin: PAIR(60, 76)
  606. }
  607. *case: Option3
  608. {
  609. *PrintableArea: PAIR(2884, 4156)
  610. *PrintableOrigin: PAIR(60, 76)
  611. }
  612. }
  613. *CursorOrigin: PAIR(55, 60)
  614. *Command: CmdSelect
  615. {
  616. *Order: DOC_SETUP.3
  617. *Cmd: "!R!SPSZ11,0;EXIT;"
  618. }
  619. }
  620. *case: LANDSCAPE_CC90
  621. {
  622. *PrintableArea: PAIR(2886, 4159)
  623. *PrintableOrigin: PAIR(60, 75)
  624. *switch: Resolution
  625. {
  626. *case: Option2
  627. {
  628. *PrintableArea: PAIR(2886, 4158)
  629. *PrintableOrigin: PAIR(60, 76)
  630. }
  631. *case: Option3
  632. {
  633. *PrintableArea: PAIR(2884, 4156)
  634. *PrintableOrigin: PAIR(60, 76)
  635. }
  636. }
  637. *CursorOrigin: PAIR(60, 4239)
  638. *Command: CmdSelect
  639. {
  640. *Order: DOC_SETUP.3
  641. *Cmd: "!R!SPSZ11,0;EXIT;"
  642. }
  643. }
  644. }
  645. }
  646. *Option: B5
  647. {
  648. *rcNameID: =B5_DISPLAY
  649. *switch: Orientation
  650. {
  651. *case: PORTRAIT
  652. {
  653. *PrintableArea: PAIR(1961, 2886)
  654. *PrintableOrigin: PAIR(75, 75)
  655. *switch: Resolution
  656. {
  657. *case: Option2
  658. {
  659. *PrintableArea: PAIR(1960, 2884)
  660. *PrintableOrigin: PAIR(76, 76)
  661. }
  662. *case: Option3
  663. {
  664. *PrintableArea: PAIR(1960, 2884)
  665. *PrintableOrigin: PAIR(76, 76)
  666. }
  667. }
  668. *CursorOrigin: PAIR(61, 75)
  669. *Command: CmdSelect
  670. {
  671. *Order: DOC_SETUP.3
  672. *Cmd: "!R!SPSZ9,0;EXIT;"
  673. }
  674. }
  675. *case: LANDSCAPE_CC90
  676. {
  677. *PrintableArea: PAIR(1961, 2886)
  678. *PrintableOrigin: PAIR(75, 75)
  679. *switch: Resolution
  680. {
  681. *case: Option2
  682. {
  683. *PrintableArea: PAIR(1960, 2884)
  684. *PrintableOrigin: PAIR(76, 76)
  685. }
  686. *case: Option3
  687. {
  688. *PrintableArea: PAIR(1960, 2884)
  689. *PrintableOrigin: PAIR(76, 76)
  690. }
  691. }
  692. *CursorOrigin: PAIR(60, 2968)
  693. *Command: CmdSelect
  694. {
  695. *Order: DOC_SETUP.3
  696. *Cmd: "!R!SPSZ9,0;EXIT;"
  697. }
  698. }
  699. }
  700. }
  701. *Option: B6_JIS
  702. {
  703. *rcNameID: =B6_JIS_DISPLAY
  704. *switch: Orientation
  705. {
  706. *case: PORTRAIT
  707. {
  708. *PrintableArea: PAIR(1319, 1998)
  709. *PrintableOrigin: PAIR(75, 75)
  710. *switch: Resolution
  711. {
  712. *case: Option2
  713. {
  714. *PrintableArea: PAIR(1318, 1996)
  715. *PrintableOrigin: PAIR(76, 76)
  716. }
  717. *case: Option3
  718. {
  719. *PrintableArea: PAIR(1316, 1996)
  720. *PrintableOrigin: PAIR(76, 76)
  721. }
  722. }
  723. *CursorOrigin: PAIR(61, 75)
  724. *Command: CmdSelect
  725. {
  726. *Order: DOC_SETUP.3
  727. *Cmd: "!R!SPSZ15,0;EXIT;"
  728. }
  729. }
  730. *case: LANDSCAPE_CC90
  731. {
  732. *PrintableArea: PAIR(1319, 1998)
  733. *PrintableOrigin: PAIR(75, 75)
  734. *switch: Resolution
  735. {
  736. *case: Option2
  737. {
  738. *PrintableArea: PAIR(1318, 1996)
  739. *PrintableOrigin: PAIR(76, 76)
  740. }
  741. *case: Option3
  742. {
  743. *PrintableArea: PAIR(1316, 1996)
  744. *PrintableOrigin: PAIR(76, 76)
  745. }
  746. }
  747. *CursorOrigin: PAIR(60, 2080)
  748. *Command: CmdSelect
  749. {
  750. *Order: DOC_SETUP.3
  751. *Cmd: "!R!SPSZ15,0;EXIT;"
  752. }
  753. }
  754. }
  755. }
  756. *Option: JAPANESE_POSTCARD
  757. {
  758. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  759. *switch: Orientation
  760. {
  761. *case: PORTRAIT
  762. {
  763. *PrintableArea: PAIR(992, 1599)
  764. *PrintableOrigin: PAIR(75, 75)
  765. *switch: Resolution
  766. {
  767. *case: Option2
  768. {
  769. *PrintableArea: PAIR(990, 1598)
  770. *PrintableOrigin: PAIR(76, 76)
  771. }
  772. *case: Option3
  773. {
  774. *PrintableArea: PAIR(988, 1596)
  775. *PrintableOrigin: PAIR(76, 76)
  776. }
  777. }
  778. *CursorOrigin: PAIR(61, 75)
  779. *Command: CmdSelect
  780. {
  781. *Order: DOC_SETUP.3
  782. *Cmd: "!R!SPSZ14,0;EXIT;"
  783. }
  784. }
  785. *case: LANDSCAPE_CC90
  786. {
  787. *PrintableArea: PAIR(992, 1599)
  788. *PrintableOrigin: PAIR(75, 75)
  789. *switch: Resolution
  790. {
  791. *case: Option2
  792. {
  793. *PrintableArea: PAIR(990, 1598)
  794. *PrintableOrigin: PAIR(76, 76)
  795. }
  796. *case: Option3
  797. {
  798. *PrintableArea: PAIR(988, 1596)
  799. *PrintableOrigin: PAIR(76, 76)
  800. }
  801. }
  802. *CursorOrigin: PAIR(60, 1681)
  803. *Command: CmdSelect
  804. {
  805. *Order: DOC_SETUP.3
  806. *Cmd: "!R!SPSZ14,0;EXIT;"
  807. }
  808. }
  809. }
  810. }
  811. *Option: ENV_10
  812. {
  813. *rcNameID: =ENV_10_DISPLAY
  814. *switch: Orientation
  815. {
  816. *case: PORTRAIT
  817. {
  818. *PrintableArea: PAIR(1084, 2710)
  819. *PrintableOrigin: PAIR(60, 75)
  820. *switch: Resolution
  821. {
  822. *case: Option2
  823. {
  824. *PrintableArea: PAIR(1084, 2708)
  825. *PrintableOrigin: PAIR(60, 76)
  826. }
  827. *case: Option3
  828. {
  829. *PrintableArea: PAIR(1084, 2708)
  830. *PrintableOrigin: PAIR(60, 76)
  831. }
  832. }
  833. *CursorOrigin: PAIR(60, 75)
  834. *Command: CmdSelect
  835. {
  836. *Order: DOC_SETUP.3
  837. *Cmd: "<1B>&l81a4d1E"
  838. }
  839. }
  840. *case: LANDSCAPE_CC90
  841. {
  842. *PrintableArea: PAIR(1109, 2710)
  843. *PrintableOrigin: PAIR(60, 75)
  844. *switch: Resolution
  845. {
  846. *case: Option2
  847. {
  848. *PrintableArea: PAIR(1108, 2708)
  849. *PrintableOrigin: PAIR(60, 76)
  850. }
  851. *case: Option3
  852. {
  853. *PrintableArea: PAIR(1108, 2708)
  854. *PrintableOrigin: PAIR(60, 76)
  855. }
  856. }
  857. *CursorOrigin: PAIR(60, 2790)
  858. *Command: CmdSelect
  859. {
  860. *Order: DOC_SETUP.3
  861. *Cmd: "<1B>&l81a4d1E"
  862. }
  863. }
  864. }
  865. }
  866. *Option: ENV_DL
  867. {
  868. *rcNameID: =ENV_DL_DISPLAY
  869. *switch: Orientation
  870. {
  871. *case: PORTRAIT
  872. {
  873. *PrintableArea: PAIR(1144, 2458)
  874. *PrintableOrigin: PAIR(60, 75)
  875. *switch: Resolution
  876. {
  877. *case: Option2
  878. {
  879. *PrintableArea: PAIR(1144, 2456)
  880. *PrintableOrigin: PAIR(60, 76)
  881. }
  882. *case: Option3
  883. {
  884. *PrintableArea: PAIR(1144, 2456)
  885. *PrintableOrigin: PAIR(60, 76)
  886. }
  887. }
  888. *CursorOrigin: PAIR(60, 75)
  889. *Command: CmdSelect
  890. {
  891. *Order: DOC_SETUP.3
  892. *Cmd: "<1B>&l90a4d1E"
  893. }
  894. }
  895. *case: LANDSCAPE_CC90
  896. {
  897. *PrintableArea: PAIR(1169, 2458)
  898. *PrintableOrigin: PAIR(60, 75)
  899. *switch: Resolution
  900. {
  901. *case: Option2
  902. {
  903. *PrintableArea: PAIR(1168, 2456)
  904. *PrintableOrigin: PAIR(60, 76)
  905. }
  906. *case: Option3
  907. {
  908. *PrintableArea: PAIR(1168, 2456)
  909. *PrintableOrigin: PAIR(60, 76)
  910. }
  911. }
  912. *CursorOrigin: PAIR(60, 2538)
  913. *Command: CmdSelect
  914. {
  915. *Order: DOC_SETUP.3
  916. *Cmd: "<1B>&l90a4d1E"
  917. }
  918. }
  919. }
  920. }
  921. *Option: ENV_C5
  922. {
  923. *rcNameID: =ENV_C5_DISPLAY
  924. *switch: Orientation
  925. {
  926. *case: PORTRAIT
  927. {
  928. *PrintableArea: PAIR(1759, 2566)
  929. *PrintableOrigin: PAIR(60, 75)
  930. *switch: Resolution
  931. {
  932. *case: Option2
  933. {
  934. *PrintableArea: PAIR(1758, 2564)
  935. *PrintableOrigin: PAIR(60, 76)
  936. }
  937. *case: Option3
  938. {
  939. *PrintableArea: PAIR(1756, 2564)
  940. *PrintableOrigin: PAIR(60, 76)
  941. }
  942. }
  943. *CursorOrigin: PAIR(60, 75)
  944. *Command: CmdSelect
  945. {
  946. *Order: DOC_SETUP.3
  947. *Cmd: "<1B>&l91a4d1E"
  948. }
  949. }
  950. *case: LANDSCAPE_CC90
  951. {
  952. *PrintableArea: PAIR(1784, 2566)
  953. *PrintableOrigin: PAIR(60, 75)
  954. *switch: Resolution
  955. {
  956. *case: Option2
  957. {
  958. *PrintableArea: PAIR(1784, 2564)
  959. *PrintableOrigin: PAIR(60, 76)
  960. }
  961. *case: Option3
  962. {
  963. *PrintableArea: PAIR(1784, 2564)
  964. *PrintableOrigin: PAIR(60, 76)
  965. }
  966. }
  967. *CursorOrigin: PAIR(60, 2646)
  968. *Command: CmdSelect
  969. {
  970. *Order: DOC_SETUP.3
  971. *Cmd: "<1B>&l91a4d1E"
  972. }
  973. }
  974. }
  975. }
  976. *Option: ENV_MONARCH
  977. {
  978. *rcNameID: =ENV_MONARCH_DISPLAY
  979. *switch: Orientation
  980. {
  981. *case: PORTRAIT
  982. {
  983. *PrintableArea: PAIR(1009, 2110)
  984. *PrintableOrigin: PAIR(60, 75)
  985. *switch: Resolution
  986. {
  987. *case: Option2
  988. {
  989. *PrintableArea: PAIR(1008, 2108)
  990. *PrintableOrigin: PAIR(60, 76)
  991. }
  992. *case: Option3
  993. {
  994. *PrintableArea: PAIR(1008, 2108)
  995. *PrintableOrigin: PAIR(60, 76)
  996. }
  997. }
  998. *CursorOrigin: PAIR(60, 75)
  999. *Command: CmdSelect
  1000. {
  1001. *Order: DOC_SETUP.3
  1002. *Cmd: "<1B>&l80a4d1E"
  1003. }
  1004. }
  1005. *case: LANDSCAPE_CC90
  1006. {
  1007. *PrintableArea: PAIR(1034, 2110)
  1008. *PrintableOrigin: PAIR(60, 75)
  1009. *switch: Resolution
  1010. {
  1011. *case: Option2
  1012. {
  1013. *PrintableArea: PAIR(1034, 2108)
  1014. *PrintableOrigin: PAIR(60, 76)
  1015. }
  1016. *case: Option3
  1017. {
  1018. *PrintableArea: PAIR(1032, 2108)
  1019. *PrintableOrigin: PAIR(60, 76)
  1020. }
  1021. }
  1022. *CursorOrigin: PAIR(60, 2190)
  1023. *Command: CmdSelect
  1024. {
  1025. *Order: DOC_SETUP.3
  1026. *Cmd: "<1B>&l80a4d1E"
  1027. }
  1028. }
  1029. }
  1030. }
  1031. *Option: Option17
  1032. {
  1033. *rcNameID: 258
  1034. *PageDimensions: PAIR(3036, 4299)
  1035. *switch: Orientation
  1036. {
  1037. *case: PORTRAIT
  1038. {
  1039. *PrintableArea: PAIR(2916, 4159)
  1040. *PrintableOrigin: PAIR(60, 75)
  1041. *switch: Resolution
  1042. {
  1043. *case: Option2
  1044. {
  1045. *PrintableArea: PAIR(2916, 4158)
  1046. *PrintableOrigin: PAIR(60, 76)
  1047. }
  1048. *case: Option3
  1049. {
  1050. *PrintableArea: PAIR(2916, 4156)
  1051. *PrintableOrigin: PAIR(60, 76)
  1052. }
  1053. }
  1054. *CursorOrigin: PAIR(60, 75)
  1055. *Command: CmdSelect
  1056. {
  1057. *Order: DOC_SETUP.3
  1058. *Cmd: "!R!SPSZ11,6;EXIT;"
  1059. }
  1060. }
  1061. *case: LANDSCAPE_CC90
  1062. {
  1063. *PrintableArea: PAIR(2916, 4159)
  1064. *PrintableOrigin: PAIR(60, 75)
  1065. *switch: Resolution
  1066. {
  1067. *case: Option2
  1068. {
  1069. *PrintableArea: PAIR(2916, 4158)
  1070. *PrintableOrigin: PAIR(60, 76)
  1071. }
  1072. *case: Option3
  1073. {
  1074. *PrintableArea: PAIR(2916, 4156)
  1075. *PrintableOrigin: PAIR(60, 76)
  1076. }
  1077. }
  1078. *CursorOrigin: PAIR(60, 4239)
  1079. *Command: CmdSelect
  1080. {
  1081. *Order: DOC_SETUP.3
  1082. *Cmd: "!R!SPSZ11,6;EXIT;"
  1083. }
  1084. }
  1085. }
  1086. }
  1087. *Option: Option18
  1088. {
  1089. *rcNameID: 259
  1090. *PageDimensions: PAIR(3507, 4962)
  1091. *switch: Orientation
  1092. {
  1093. *case: PORTRAIT
  1094. {
  1095. *PrintableArea: PAIR(3387, 4822)
  1096. *PrintableOrigin: PAIR(60, 75)
  1097. *switch: Resolution
  1098. {
  1099. *case: Option2
  1100. {
  1101. *PrintableArea: PAIR(3386, 4820)
  1102. *PrintableOrigin: PAIR(60, 76)
  1103. }
  1104. *case: Option3
  1105. {
  1106. *PrintableArea: PAIR(3384, 4820)
  1107. *PrintableOrigin: PAIR(60, 76)
  1108. }
  1109. }
  1110. *CursorOrigin: PAIR(60, 75)
  1111. *Command: CmdSelect
  1112. {
  1113. *Order: DOC_SETUP.3
  1114. *Cmd: "!R!SPSZ10,5;EXIT;"
  1115. }
  1116. }
  1117. *case: LANDSCAPE_CC90
  1118. {
  1119. *PrintableArea: PAIR(3387, 4822)
  1120. *PrintableOrigin: PAIR(60, 75)
  1121. *switch: Resolution
  1122. {
  1123. *case: Option2
  1124. {
  1125. *PrintableArea: PAIR(3386, 4820)
  1126. *PrintableOrigin: PAIR(60, 76)
  1127. }
  1128. *case: Option3
  1129. {
  1130. *PrintableArea: PAIR(3384, 4820)
  1131. *PrintableOrigin: PAIR(60, 76)
  1132. }
  1133. }
  1134. *CursorOrigin: PAIR(60, 4902)
  1135. *Command: CmdSelect
  1136. {
  1137. *Order: DOC_SETUP.3
  1138. *Cmd: "!R!SPSZ10,5;EXIT;"
  1139. }
  1140. }
  1141. }
  1142. }
  1143. *Option: Option19
  1144. {
  1145. *rcNameID: 260
  1146. *PageDimensions: PAIR(3300, 4500)
  1147. *switch: Orientation
  1148. {
  1149. *case: PORTRAIT
  1150. {
  1151. *PrintableArea: PAIR(3180, 4360)
  1152. *PrintableOrigin: PAIR(60, 75)
  1153. *switch: Resolution
  1154. {
  1155. *case: Option2
  1156. {
  1157. *PrintableArea: PAIR(3180, 4358)
  1158. *PrintableOrigin: PAIR(60, 76)
  1159. }
  1160. *case: Option3
  1161. {
  1162. *PrintableArea: PAIR(3180, 4356)
  1163. *PrintableOrigin: PAIR(60, 76)
  1164. }
  1165. }
  1166. *CursorOrigin: PAIR(60, 75)
  1167. *Command: CmdSelect
  1168. {
  1169. *Order: DOC_SETUP.3
  1170. *Cmd: "!R!SPSZ23;EXIT;"
  1171. }
  1172. }
  1173. *case: LANDSCAPE_CC90
  1174. {
  1175. *PrintableArea: PAIR(3180, 4360)
  1176. *PrintableOrigin: PAIR(60, 75)
  1177. *switch: Resolution
  1178. {
  1179. *case: Option2
  1180. {
  1181. *PrintableArea: PAIR(3180, 4358)
  1182. *PrintableOrigin: PAIR(60, 76)
  1183. }
  1184. *case: Option3
  1185. {
  1186. *PrintableArea: PAIR(3180, 4356)
  1187. *PrintableOrigin: PAIR(60, 76)
  1188. }
  1189. }
  1190. *CursorOrigin: PAIR(60, 4440)
  1191. *Command: CmdSelect
  1192. {
  1193. *Order: DOC_SETUP.3
  1194. *Cmd: "!R!SPSZ23;EXIT;"
  1195. }
  1196. }
  1197. }
  1198. }
  1199. *Option: Option20
  1200. {
  1201. *rcNameID: 261
  1202. *PageDimensions: PAIR(3300, 4500)
  1203. *switch: Orientation
  1204. {
  1205. *case: PORTRAIT
  1206. {
  1207. *PrintableArea: PAIR(3180, 4360)
  1208. *PrintableOrigin: PAIR(60, 75)
  1209. *switch: Resolution
  1210. {
  1211. *case: Option2
  1212. {
  1213. *PrintableArea: PAIR(3180, 4358)
  1214. *PrintableOrigin: PAIR(60, 76)
  1215. }
  1216. *case: Option3
  1217. {
  1218. *PrintableArea: PAIR(3180, 4356)
  1219. *PrintableOrigin: PAIR(60, 76)
  1220. }
  1221. }
  1222. *CursorOrigin: PAIR(60, 75)
  1223. *Command: CmdSelect
  1224. {
  1225. *Order: DOC_SETUP.3
  1226. *Cmd: "!R!SPSZ24;EXIT;"
  1227. }
  1228. }
  1229. *case: LANDSCAPE_CC90
  1230. {
  1231. *PrintableArea: PAIR(3180, 4360)
  1232. *PrintableOrigin: PAIR(60, 75)
  1233. *switch: Resolution
  1234. {
  1235. *case: Option2
  1236. {
  1237. *PrintableArea: PAIR(3180, 4358)
  1238. *PrintableOrigin: PAIR(60, 76)
  1239. }
  1240. *case: Option3
  1241. {
  1242. *PrintableArea: PAIR(3180, 4356)
  1243. *PrintableOrigin: PAIR(60, 76)
  1244. }
  1245. }
  1246. *CursorOrigin: PAIR(60, 4440)
  1247. *Command: CmdSelect
  1248. {
  1249. *Order: DOC_SETUP.3
  1250. *Cmd: "!R!SPSZ24;EXIT;"
  1251. }
  1252. }
  1253. }
  1254. }
  1255. }
  1256. *% ========== Halftone ==========
  1257. *Feature: Halftone
  1258. {
  1259. *rcNameID: =HALFTONING_DISPLAY
  1260. *DefaultOption: HT_PATSIZE_AUTO
  1261. *Option: HT_PATSIZE_AUTO
  1262. {
  1263. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1264. }
  1265. *Option: HT_PATSIZE_SUPERCELL_M
  1266. {
  1267. *rcNameID: =HT_SUPERCELL_DISPLAY
  1268. }
  1269. *Option: HT_PATSIZE_6x6_M
  1270. {
  1271. *rcNameID: =HT_DITHER6X6_DISPLAY
  1272. }
  1273. *Option: HT_PATSIZE_8x8_M
  1274. {
  1275. *rcNameID: =HT_DITHER8X8_DISPLAY
  1276. }
  1277. }
  1278. *% ========== Memory ==========
  1279. *Feature: Memory
  1280. {
  1281. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1282. *DefaultOption: 3072KB
  1283. *Option: 3072KB
  1284. {
  1285. *Name: "3MB"
  1286. *MemoryConfigKB: PAIR(3072, 700)
  1287. }
  1288. *Option: 3584KB
  1289. {
  1290. *Name: "3584KB"
  1291. *MemoryConfigKB: PAIR(3584, 700)
  1292. }
  1293. *Option: 4096KB
  1294. {
  1295. *Name: "4MB"
  1296. *MemoryConfigKB: PAIR(4096, 1024)
  1297. }
  1298. *Option: 4608KB
  1299. {
  1300. *Name: "4608KB"
  1301. *MemoryConfigKB: PAIR(4608, 1536)
  1302. }
  1303. *Option: 5120KB
  1304. {
  1305. *Name: "5MB"
  1306. *MemoryConfigKB: PAIR(5120, 2048)
  1307. }
  1308. *Option: 5632KB
  1309. {
  1310. *Name: "5632KB"
  1311. *MemoryConfigKB: PAIR(5632, 2560)
  1312. }
  1313. *Option: 6144KB
  1314. {
  1315. *Name: "6MB"
  1316. *MemoryConfigKB: PAIR(6144, 3072)
  1317. }
  1318. }
  1319. *% ========== Job Control Command ==========
  1320. *Command: CmdStartDoc
  1321. {
  1322. *Order: DOC_SETUP.1
  1323. *Cmd: "!R!RES;SEM6;EXIT;<1B>E<1B>&l0L"
  1324. }
  1325. *Command: CmdStartPage
  1326. {
  1327. *Order: PAGE_SETUP.1
  1328. *Cmd: "<0D>"
  1329. }
  1330. *Command: CmdEndJob
  1331. {
  1332. *Order: JOB_FINISH.1
  1333. *Cmd: "!R!RES;EXIT;"
  1334. }
  1335. *Command: CmdCopies
  1336. {
  1337. *Order: DOC_SETUP.6
  1338. *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1339. }
  1340. *% ========== Printer Capabilities ==========
  1341. *RotateCoordinate?: TRUE
  1342. *RotateRaster?: FALSE
  1343. *RotateFont?: FALSE
  1344. *TextCaps: LIST(TC_UA_ABLE)
  1345. *MemoryUsage: LIST(FONT)
  1346. *% ========== Cursor Move ==========
  1347. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1348. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1349. *XMoveThreshold: 0
  1350. *YMoveThreshold: 0
  1351. *XMoveUnit: 300
  1352. *YMoveUnit: 300
  1353. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  1354. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  1355. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  1356. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  1357. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  1358. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  1359. *Command: CmdCR { *Cmd : "<0D>" }
  1360. *Command: CmdLF { *Cmd : "<0A>" }
  1361. *Command: CmdFF { *Cmd : "<0C>" }
  1362. *Command: CmdBackSpace { *Cmd : "<08>" }
  1363. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1364. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1365. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1366. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1367. *EjectPageWithFF?: TRUE
  1368. *% ========== Raster Data Emission ==========
  1369. *OutputDataFormat: H_BYTE
  1370. *OptimizeLeftBound?: TRUE
  1371. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1372. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1373. *% ========== Device Font ==========
  1374. *CharPosition: BASELINE
  1375. *% *DefaultFont: 4
  1376. *% *DefaultCTT: 0
  1377. *% *switch: Orientation
  1378. *% {
  1379. *% *case: PORTRAIT
  1380. *% {
  1381. *% *DeviceFonts: LIST(1,2,3,4,8,9,10,11,12,13,14,15,16,17,18,19,
  1382. *% + 20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,
  1383. *% + 36,37,38,39,40,41,42,43,44,45,46,47,48,49)
  1384. *% }
  1385. *% *case: LANDSCAPE_CC90
  1386. *% {
  1387. *% *DeviceFonts: LIST(1,2,3,4,8,11,12,15,16,18,20,23,24,25,26,27,
  1388. *% + 28,29,30,33,34,35,36,37,38,39,42,43,46,47,48,49)
  1389. *% }
  1390. *% }
  1391. *% ========== Font Downloading ==========
  1392. *MinFontID: 16384
  1393. *MaxFontID: 32768
  1394. *MaxNumDownFonts: 32
  1395. *FontFormat: HPPCL
  1396. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1397. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1398. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1399. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1400. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1401. *% ========== Rectangle Fill ==========
  1402. *% *MinGrayFill: 1
  1403. *% *MaxGrayFill: 100
  1404. *% *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  1405. *% *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  1406. *% *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1407. *% *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1408. *Include: "ttfsub.gpd"
  1409. *TTFSEnabled?: TRUE