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.

996 lines
28 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CTSWT24X.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Citizen Swift 24x"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "ct24res.dll"
  12. *PrintRate: 192
  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. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.7
  38. *Cmd: "<1B1900>"
  39. }
  40. }
  41. *Option: AUTO
  42. {
  43. *rcNameID: =AUTO_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.7
  47. *Cmd: "<1B1904>"
  48. }
  49. }
  50. *Option: MANUAL
  51. {
  52. *rcNameID: =MANUAL_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.7
  56. *Cmd: "<1B1900>"
  57. }
  58. }
  59. *Option: ENVFEED
  60. {
  61. *rcNameID: =ENV_FEED_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.7
  65. *Cmd: "<1B1900>"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "180 x 180 " =DOTS_PER_INCH
  76. *DPI: PAIR(180, 180)
  77. *TextDPI: PAIR(180, 180)
  78. *PinsPerLogPass: 24
  79. *PinsPerPhysPass: 24
  80. *MinStripBlankPixels: 135
  81. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  82. *SpotDiameter: 140
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  84. }
  85. *Option: Option2
  86. {
  87. *Name: "360 x 360 " =DOTS_PER_INCH
  88. *DPI: PAIR(360, 360)
  89. *TextDPI: PAIR(360, 360)
  90. *PinsPerLogPass: 48
  91. *PinsPerPhysPass: 24
  92. *MinStripBlankPixels: 270
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  94. *SpotDiameter: 283
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  96. }
  97. *Option: Option3
  98. {
  99. *Name: "360 x 180 " =DOTS_PER_INCH
  100. *DPI: PAIR(360, 180)
  101. *TextDPI: PAIR(360, 180)
  102. *PinsPerLogPass: 24
  103. *PinsPerPhysPass: 24
  104. *MinStripBlankPixels: 270
  105. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  106. *SpotDiameter: 200
  107. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  108. }
  109. *Option: Option4
  110. {
  111. *Name: "120 x 180 " =DOTS_PER_INCH
  112. *DPI: PAIR(120, 180)
  113. *TextDPI: PAIR(120, 180)
  114. *PinsPerLogPass: 24
  115. *PinsPerPhysPass: 24
  116. *MinStripBlankPixels: 90
  117. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  118. *SpotDiameter: 115
  119. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  120. }
  121. }
  122. *Feature: PaperSize
  123. {
  124. *rcNameID: =PAPER_SIZE_DISPLAY
  125. *DefaultOption: A4
  126. *Option: A4
  127. {
  128. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  129. *CursorOrigin: PAIR(0, 270)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.8
  133. *Cmd: "<1B>2<1B>CF"
  134. }
  135. *switch: InputBin
  136. {
  137. *case: TRACTOR
  138. {
  139. *PrintableArea: PAIR(2977, 3938)
  140. *PrintableOrigin: PAIR(0, 270)
  141. *switch: Resolution
  142. {
  143. *case: Option1
  144. {
  145. *PrintableArea: PAIR(2976, 3938)
  146. }
  147. *case: Option4
  148. {
  149. *PrintableArea: PAIR(2976, 3938)
  150. }
  151. }
  152. }
  153. *case: AUTO
  154. {
  155. *PrintableArea: PAIR(2977, 3848)
  156. *PrintableOrigin: PAIR(0, 360)
  157. *switch: Resolution
  158. {
  159. *case: Option1
  160. {
  161. *PrintableArea: PAIR(2976, 3848)
  162. }
  163. *case: Option4
  164. {
  165. *PrintableArea: PAIR(2976, 3848)
  166. }
  167. }
  168. }
  169. *case: MANUAL
  170. {
  171. *PrintableArea: PAIR(2977, 3826)
  172. *PrintableOrigin: PAIR(0, 292)
  173. *switch: Resolution
  174. {
  175. *case: Option1
  176. {
  177. *PrintableArea: PAIR(2976, 3826)
  178. }
  179. *case: Option4
  180. {
  181. *PrintableArea: PAIR(2976, 3826)
  182. }
  183. }
  184. }
  185. *case: ENVFEED
  186. {
  187. *PrintableArea: PAIR(2977, 3938)
  188. *PrintableOrigin: PAIR(0, 270)
  189. *switch: Resolution
  190. {
  191. *case: Option1
  192. {
  193. *PrintableArea: PAIR(2976, 3938)
  194. }
  195. *case: Option4
  196. {
  197. *PrintableArea: PAIR(2976, 3938)
  198. }
  199. }
  200. }
  201. }
  202. }
  203. *Option: LETTER
  204. {
  205. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  206. *CursorOrigin: PAIR(0, 270)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.8
  210. *Cmd: "<1B>C<000B>"
  211. }
  212. *switch: InputBin
  213. {
  214. *case: TRACTOR
  215. {
  216. *PrintableArea: PAIR(3060, 3690)
  217. *PrintableOrigin: PAIR(0, 270)
  218. }
  219. *case: AUTO
  220. {
  221. *PrintableArea: PAIR(3060, 3600)
  222. *PrintableOrigin: PAIR(0, 360)
  223. }
  224. *case: MANUAL
  225. {
  226. *PrintableArea: PAIR(3060, 3578)
  227. *PrintableOrigin: PAIR(0, 292)
  228. }
  229. *case: ENVFEED
  230. {
  231. *PrintableArea: PAIR(3060, 3690)
  232. *PrintableOrigin: PAIR(0, 270)
  233. }
  234. }
  235. }
  236. *Option: LEGAL
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *CursorOrigin: PAIR(0, 270)
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.8
  243. *Cmd: "<1B>C<000E>"
  244. }
  245. *switch: InputBin
  246. {
  247. *case: TRACTOR
  248. {
  249. *PrintableArea: PAIR(3060, 4770)
  250. *PrintableOrigin: PAIR(0, 270)
  251. }
  252. *case: AUTO
  253. {
  254. *PrintableArea: PAIR(3060, 4680)
  255. *PrintableOrigin: PAIR(0, 360)
  256. }
  257. *case: MANUAL
  258. {
  259. *PrintableArea: PAIR(3060, 4658)
  260. *PrintableOrigin: PAIR(0, 292)
  261. }
  262. *case: ENVFEED
  263. {
  264. *PrintableArea: PAIR(3060, 4770)
  265. *PrintableOrigin: PAIR(0, 270)
  266. }
  267. }
  268. }
  269. *Option: EXECUTIVE
  270. {
  271. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  272. *CursorOrigin: PAIR(0, 270)
  273. *Command: CmdSelect
  274. {
  275. *Order: DOC_SETUP.8
  276. *Cmd: "<1B>2<1B>C?"
  277. }
  278. *switch: InputBin
  279. {
  280. *case: TRACTOR
  281. {
  282. *PrintableArea: PAIR(2610, 3510)
  283. *PrintableOrigin: PAIR(0, 270)
  284. }
  285. *case: AUTO
  286. {
  287. *PrintableArea: PAIR(2610, 3420)
  288. *PrintableOrigin: PAIR(0, 360)
  289. }
  290. *case: MANUAL
  291. {
  292. *PrintableArea: PAIR(2610, 3398)
  293. *PrintableOrigin: PAIR(0, 292)
  294. }
  295. *case: ENVFEED
  296. {
  297. *PrintableArea: PAIR(2610, 3510)
  298. *PrintableOrigin: PAIR(0, 270)
  299. }
  300. }
  301. }
  302. *Option: FANFOLD_STD_GERMAN
  303. {
  304. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  305. *CursorOrigin: PAIR(0, 270)
  306. *Command: CmdSelect
  307. {
  308. *Order: DOC_SETUP.8
  309. *Cmd: "<1B>C<000C>"
  310. }
  311. *switch: InputBin
  312. {
  313. *case: TRACTOR
  314. {
  315. *PrintableArea: PAIR(3060, 4050)
  316. *PrintableOrigin: PAIR(0, 270)
  317. }
  318. *case: AUTO
  319. {
  320. *PrintableArea: PAIR(3060, 3960)
  321. *PrintableOrigin: PAIR(0, 360)
  322. }
  323. *case: MANUAL
  324. {
  325. *PrintableArea: PAIR(3060, 3938)
  326. *PrintableOrigin: PAIR(0, 292)
  327. }
  328. *case: ENVFEED
  329. {
  330. *PrintableArea: PAIR(3060, 4050)
  331. *PrintableOrigin: PAIR(0, 270)
  332. }
  333. }
  334. }
  335. *Option: FANFOLD_US
  336. {
  337. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  338. *CursorOrigin: PAIR(0, 270)
  339. *Command: CmdSelect
  340. {
  341. *Order: DOC_SETUP.8
  342. *Cmd: "<1B>C<000B>"
  343. }
  344. *switch: InputBin
  345. {
  346. *case: TRACTOR
  347. {
  348. *PrintableArea: PAIR(4896, 3690)
  349. *PrintableOrigin: PAIR(0, 270)
  350. }
  351. *case: AUTO
  352. {
  353. *PrintableArea: PAIR(4896, 3600)
  354. *PrintableOrigin: PAIR(0, 360)
  355. }
  356. *case: MANUAL
  357. {
  358. *PrintableArea: PAIR(4896, 3578)
  359. *PrintableOrigin: PAIR(0, 292)
  360. }
  361. *case: ENVFEED
  362. {
  363. *PrintableArea: PAIR(4896, 3690)
  364. *PrintableOrigin: PAIR(0, 270)
  365. }
  366. }
  367. }
  368. *Option: A3
  369. {
  370. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  371. *CursorOrigin: PAIR(0, 270)
  372. *Command: CmdSelect
  373. {
  374. *Order: DOC_SETUP.8
  375. *Cmd: "<1B>A<081B>C|"
  376. }
  377. *switch: InputBin
  378. {
  379. *case: TRACTOR
  380. {
  381. *PrintableArea: PAIR(4208, 5684)
  382. *PrintableOrigin: PAIR(0, 270)
  383. *switch: Resolution
  384. {
  385. *case: Option4
  386. {
  387. *PrintableArea: PAIR(4206, 5684)
  388. }
  389. }
  390. }
  391. *case: AUTO
  392. {
  393. *PrintableArea: PAIR(4208, 5594)
  394. *PrintableOrigin: PAIR(0, 360)
  395. *switch: Resolution
  396. {
  397. *case: Option4
  398. {
  399. *PrintableArea: PAIR(4206, 5594)
  400. }
  401. }
  402. }
  403. *case: MANUAL
  404. {
  405. *PrintableArea: PAIR(4208, 5572)
  406. *PrintableOrigin: PAIR(0, 292)
  407. *switch: Resolution
  408. {
  409. *case: Option4
  410. {
  411. *PrintableArea: PAIR(4206, 5572)
  412. }
  413. }
  414. }
  415. *case: ENVFEED
  416. {
  417. *PrintableArea: PAIR(4208, 5684)
  418. *PrintableOrigin: PAIR(0, 270)
  419. *switch: Resolution
  420. {
  421. *case: Option4
  422. {
  423. *PrintableArea: PAIR(4206, 5684)
  424. }
  425. }
  426. }
  427. }
  428. }
  429. *Option: A5
  430. {
  431. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  432. *CursorOrigin: PAIR(0, 270)
  433. *Command: CmdSelect
  434. {
  435. *Order: DOC_SETUP.8
  436. *Cmd: "<1B>A<041B>C|"
  437. }
  438. *switch: InputBin
  439. {
  440. *case: TRACTOR
  441. {
  442. *PrintableArea: PAIR(2099, 2707)
  443. *PrintableOrigin: PAIR(0, 270)
  444. *switch: Resolution
  445. {
  446. *case: Option1
  447. {
  448. *PrintableArea: PAIR(2098, 2706)
  449. }
  450. *case: Option3
  451. {
  452. *PrintableArea: PAIR(2099, 2706)
  453. }
  454. *case: Option4
  455. {
  456. *PrintableArea: PAIR(2097, 2706)
  457. }
  458. }
  459. }
  460. *case: AUTO
  461. {
  462. *PrintableArea: PAIR(2099, 2617)
  463. *PrintableOrigin: PAIR(0, 360)
  464. *switch: Resolution
  465. {
  466. *case: Option1
  467. {
  468. *PrintableArea: PAIR(2098, 2616)
  469. }
  470. *case: Option3
  471. {
  472. *PrintableArea: PAIR(2099, 2616)
  473. }
  474. *case: Option4
  475. {
  476. *PrintableArea: PAIR(2097, 2616)
  477. }
  478. }
  479. }
  480. *case: MANUAL
  481. {
  482. *PrintableArea: PAIR(2099, 2595)
  483. *PrintableOrigin: PAIR(0, 292)
  484. *switch: Resolution
  485. {
  486. *case: Option1
  487. {
  488. *PrintableArea: PAIR(2098, 2594)
  489. }
  490. *case: Option3
  491. {
  492. *PrintableArea: PAIR(2099, 2594)
  493. }
  494. *case: Option4
  495. {
  496. *PrintableArea: PAIR(2097, 2594)
  497. }
  498. }
  499. }
  500. *case: ENVFEED
  501. {
  502. *PrintableArea: PAIR(2099, 2707)
  503. *PrintableOrigin: PAIR(0, 270)
  504. *switch: Resolution
  505. {
  506. *case: Option1
  507. {
  508. *PrintableArea: PAIR(2098, 2706)
  509. }
  510. *case: Option3
  511. {
  512. *PrintableArea: PAIR(2099, 2706)
  513. }
  514. *case: Option4
  515. {
  516. *PrintableArea: PAIR(2097, 2706)
  517. }
  518. }
  519. }
  520. }
  521. }
  522. *Option: TABLOID
  523. {
  524. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  525. *CursorOrigin: PAIR(0, 270)
  526. *Command: CmdSelect
  527. {
  528. *Order: DOC_SETUP.8
  529. *Cmd: "<1B>C<0011>"
  530. }
  531. *switch: InputBin
  532. {
  533. *case: TRACTOR
  534. {
  535. *PrintableArea: PAIR(3960, 5850)
  536. *PrintableOrigin: PAIR(0, 270)
  537. }
  538. *case: AUTO
  539. {
  540. *PrintableArea: PAIR(3960, 5760)
  541. *PrintableOrigin: PAIR(0, 360)
  542. }
  543. *case: MANUAL
  544. {
  545. *PrintableArea: PAIR(3960, 5738)
  546. *PrintableOrigin: PAIR(0, 292)
  547. }
  548. *case: ENVFEED
  549. {
  550. *PrintableArea: PAIR(3960, 5850)
  551. *PrintableOrigin: PAIR(0, 270)
  552. }
  553. }
  554. }
  555. *Option: ENV_9
  556. {
  557. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  558. *RotateSize? : TRUE
  559. *CursorOrigin: PAIR(0, 270)
  560. *Command: CmdSelect
  561. {
  562. *Order: DOC_SETUP.8
  563. *Cmd: "<1B>0<1B>C<1F>"
  564. }
  565. *switch: InputBin
  566. {
  567. *case: TRACTOR
  568. {
  569. *PrintableArea: PAIR(3197, 947)
  570. *PrintableOrigin: PAIR(0, 270)
  571. *switch: Resolution
  572. {
  573. *case: Option1
  574. {
  575. *PrintableArea: PAIR(3196, 946)
  576. }
  577. *case: Option3
  578. {
  579. *PrintableArea: PAIR(3197, 946)
  580. }
  581. *case: Option4
  582. {
  583. *PrintableArea: PAIR(3195, 946)
  584. }
  585. }
  586. }
  587. *case: AUTO
  588. {
  589. *PrintableArea: PAIR(3197, 857)
  590. *PrintableOrigin: PAIR(0, 360)
  591. *switch: Resolution
  592. {
  593. *case: Option1
  594. {
  595. *PrintableArea: PAIR(3196, 856)
  596. }
  597. *case: Option3
  598. {
  599. *PrintableArea: PAIR(3197, 856)
  600. }
  601. *case: Option4
  602. {
  603. *PrintableArea: PAIR(3195, 856)
  604. }
  605. }
  606. }
  607. *case: MANUAL
  608. {
  609. *PrintableArea: PAIR(3197, 835)
  610. *PrintableOrigin: PAIR(0, 292)
  611. *switch: Resolution
  612. {
  613. *case: Option1
  614. {
  615. *PrintableArea: PAIR(3196, 834)
  616. }
  617. *case: Option3
  618. {
  619. *PrintableArea: PAIR(3197, 834)
  620. }
  621. *case: Option4
  622. {
  623. *PrintableArea: PAIR(3195, 834)
  624. }
  625. }
  626. }
  627. *case: ENVFEED
  628. {
  629. *PrintableArea: PAIR(3197, 947)
  630. *PrintableOrigin: PAIR(0, 270)
  631. *switch: Resolution
  632. {
  633. *case: Option1
  634. {
  635. *PrintableArea: PAIR(3196, 946)
  636. }
  637. *case: Option3
  638. {
  639. *PrintableArea: PAIR(3197, 946)
  640. }
  641. *case: Option4
  642. {
  643. *PrintableArea: PAIR(3195, 946)
  644. }
  645. }
  646. }
  647. }
  648. }
  649. *Option: ENV_10
  650. {
  651. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  652. *RotateSize? : TRUE
  653. *CursorOrigin: PAIR(0, 270)
  654. *Command: CmdSelect
  655. {
  656. *Order: DOC_SETUP.8
  657. *Cmd: "<1B>0<1B>C!"
  658. }
  659. *switch: InputBin
  660. {
  661. *case: TRACTOR
  662. {
  663. *PrintableArea: PAIR(3420, 1217)
  664. *PrintableOrigin: PAIR(0, 270)
  665. *switch: Resolution
  666. {
  667. *case: Option1
  668. {
  669. *PrintableArea: PAIR(3420, 1216)
  670. }
  671. *case: Option3
  672. {
  673. *PrintableArea: PAIR(3420, 1216)
  674. }
  675. *case: Option4
  676. {
  677. *PrintableArea: PAIR(3420, 1216)
  678. }
  679. }
  680. }
  681. *case: AUTO
  682. {
  683. *PrintableArea: PAIR(3420, 1127)
  684. *PrintableOrigin: PAIR(0, 360)
  685. *switch: Resolution
  686. {
  687. *case: Option1
  688. {
  689. *PrintableArea: PAIR(3420, 1126)
  690. }
  691. *case: Option3
  692. {
  693. *PrintableArea: PAIR(3420, 1126)
  694. }
  695. *case: Option4
  696. {
  697. *PrintableArea: PAIR(3420, 1126)
  698. }
  699. }
  700. }
  701. *case: MANUAL
  702. {
  703. *PrintableArea: PAIR(3420, 1105)
  704. *PrintableOrigin: PAIR(0, 292)
  705. *switch: Resolution
  706. {
  707. *case: Option1
  708. {
  709. *PrintableArea: PAIR(3420, 1104)
  710. }
  711. *case: Option3
  712. {
  713. *PrintableArea: PAIR(3420, 1104)
  714. }
  715. *case: Option4
  716. {
  717. *PrintableArea: PAIR(3420, 1104)
  718. }
  719. }
  720. }
  721. *case: ENVFEED
  722. {
  723. *PrintableArea: PAIR(3420, 1217)
  724. *PrintableOrigin: PAIR(0, 270)
  725. *switch: Resolution
  726. {
  727. *case: Option1
  728. {
  729. *PrintableArea: PAIR(3420, 1216)
  730. }
  731. *case: Option3
  732. {
  733. *PrintableArea: PAIR(3420, 1216)
  734. }
  735. *case: Option4
  736. {
  737. *PrintableArea: PAIR(3420, 1216)
  738. }
  739. }
  740. }
  741. }
  742. }
  743. *Option: ENV_11
  744. {
  745. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  746. *RotateSize? : TRUE
  747. *CursorOrigin: PAIR(0, 270)
  748. *Command: CmdSelect
  749. {
  750. *Order: DOC_SETUP.8
  751. *Cmd: "<1B>0<1B>C$"
  752. }
  753. *switch: InputBin
  754. {
  755. *case: TRACTOR
  756. {
  757. *PrintableArea: PAIR(3737, 1350)
  758. *PrintableOrigin: PAIR(0, 270)
  759. *switch: Resolution
  760. {
  761. *case: Option1
  762. {
  763. *PrintableArea: PAIR(3736, 1350)
  764. }
  765. *case: Option4
  766. {
  767. *PrintableArea: PAIR(3735, 1350)
  768. }
  769. }
  770. }
  771. *case: AUTO
  772. {
  773. *PrintableArea: PAIR(3737, 1260)
  774. *PrintableOrigin: PAIR(0, 360)
  775. *switch: Resolution
  776. {
  777. *case: Option1
  778. {
  779. *PrintableArea: PAIR(3736, 1260)
  780. }
  781. *case: Option4
  782. {
  783. *PrintableArea: PAIR(3735, 1260)
  784. }
  785. }
  786. }
  787. *case: MANUAL
  788. {
  789. *PrintableArea: PAIR(3737, 1238)
  790. *PrintableOrigin: PAIR(0, 292)
  791. *switch: Resolution
  792. {
  793. *case: Option1
  794. {
  795. *PrintableArea: PAIR(3736, 1238)
  796. }
  797. *case: Option4
  798. {
  799. *PrintableArea: PAIR(3735, 1238)
  800. }
  801. }
  802. }
  803. *case: ENVFEED
  804. {
  805. *PrintableArea: PAIR(3737, 1350)
  806. *PrintableOrigin: PAIR(0, 270)
  807. *switch: Resolution
  808. {
  809. *case: Option1
  810. {
  811. *PrintableArea: PAIR(3736, 1350)
  812. }
  813. *case: Option4
  814. {
  815. *PrintableArea: PAIR(3735, 1350)
  816. }
  817. }
  818. }
  819. }
  820. }
  821. *Option: CUSTOMSIZE
  822. {
  823. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  824. *MinSize: PAIR(360, 360)
  825. *MaxSize: PAIR(4896, 7920)
  826. *MaxPrintableWidth: 4896
  827. *MinLeftMargin: 0
  828. *CenterPrintable?: FALSE
  829. *switch: InputBin
  830. {
  831. *case: TRACTOR
  832. {
  833. *TopMargin: 270
  834. *BottomMargin: 0
  835. }
  836. *case: AUTO
  837. {
  838. *TopMargin: 360
  839. *BottomMargin: 0
  840. }
  841. *case: MANUAL
  842. {
  843. *TopMargin: 292
  844. *BottomMargin: 90
  845. }
  846. *case: ENVFEED
  847. {
  848. *TopMargin: 0
  849. *BottomMargin: 0
  850. }
  851. }
  852. }
  853. }
  854. *Feature: PrintQuality
  855. {
  856. *rcNameID: =TEXT_QUALITY_DISPLAY
  857. *DefaultOption: LETTER_QUALITY
  858. *Option: LETTER_QUALITY
  859. {
  860. *rcNameID: =LETTER_QUALITY_DISPLAY
  861. *Command: CmdSelect
  862. {
  863. *Order: DOC_SETUP.6
  864. *Cmd: "<1B>x<01>"
  865. }
  866. }
  867. *Option: DRAFT_QUALITY
  868. {
  869. *rcNameID: =DRAFT_QUALITY_DISPLAY
  870. *Command: CmdSelect
  871. {
  872. *Order: DOC_SETUP.6
  873. *Cmd: "<1B>x<00>"
  874. }
  875. }
  876. }
  877. *Feature: ColorMode
  878. {
  879. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  880. *DefaultOption: Color
  881. *Option: Mono
  882. {
  883. *rcNameID: =MONO_DISPLAY
  884. *DevNumOfPlanes: 1
  885. *DevBPP: 1
  886. *Color? : FALSE
  887. }
  888. *Option: Color
  889. {
  890. *rcNameID: =COLOR_DISPLAY
  891. *DevNumOfPlanes: 4
  892. *DevBPP: 1
  893. *DrvBPP: 4
  894. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  895. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  896. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  897. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  898. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  899. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  900. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  901. *Command: CmdSelectRedColor { *Cmd : "<1B>r<01>" }
  902. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  903. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  904. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  905. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  906. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  907. }
  908. }
  909. *Feature: Halftone
  910. {
  911. *rcNameID: =HALFTONING_DISPLAY
  912. *DefaultOption: HT_PATSIZE_AUTO
  913. *Option: HT_PATSIZE_AUTO
  914. {
  915. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  916. }
  917. *Ifdef: WINNT_50
  918. *Option: HT_PATSIZE_SUPERCELL_M
  919. {
  920. *rcNameID: =HT_SUPERCELL_DISPLAY
  921. }
  922. *Endif:
  923. *Option: HT_PATSIZE_6x6_M
  924. {
  925. *rcNameID: =HT_DITHER6X6_DISPLAY
  926. }
  927. *Option: HT_PATSIZE_8x8_M
  928. {
  929. *rcNameID: =HT_DITHER8X8_DISPLAY
  930. }
  931. }
  932. *Command: CmdStartDoc
  933. {
  934. *Order: DOC_SETUP.1
  935. *Cmd: "<1B>t<011B>6<1B>R<0018>"
  936. }
  937. *Command: CmdEndJob
  938. {
  939. *Order: JOB_FINISH.1
  940. *Cmd: "<190D1B>@"
  941. }
  942. *RotateCoordinate?: FALSE
  943. *RotateRaster?: FALSE
  944. *RotateFont?: FALSE
  945. *switch: Orientation
  946. {
  947. *case: PORTRAIT
  948. {
  949. *TextCaps: LIST(TC_OP_CHARACTER,TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  950. }
  951. *case: LANDSCAPE_CC270
  952. {
  953. *TextCaps: LIST(TC_RA_ABLE)
  954. }
  955. }
  956. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  957. *XMoveThreshold: 0
  958. *YMoveThreshold: *
  959. *XMoveUnit: 60
  960. *YMoveUnit: 180
  961. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  962. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  963. *Command: CmdYMoveRelUp { *Cmd : "<1B>j" %c[0,255]{max_repeat((DestYRel / 2) )} }
  964. *Command: CmdCR { *Cmd : "<0D>" }
  965. *Command: CmdLF { *Cmd : "<0A>" }
  966. *Command: CmdFF { *Cmd : "<0C>" }
  967. *Command: CmdBackSpace { *Cmd : "<08>" }
  968. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  969. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  970. *EjectPageWithFF?: TRUE
  971. *OutputDataFormat: V_BYTE
  972. *OptimizeLeftBound?: FALSE
  973. *CursorXAfterSendBlockData: AT_GRXDATA_END
  974. *CursorYAfterSendBlockData: NO_MOVE
  975. *DefaultFont: 6
  976. *DefaultCTT: 1
  977. *switch: Orientation
  978. {
  979. *case: PORTRAIT
  980. {
  981. *DeviceFonts: LIST(2,3,4,5,6,7,8,9,10,11,12,28,29,30,31,32,
  982. + 33,34,35,36,37,40,41,42,43,44,45,46,47,48,49,50,
  983. + 53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,
  984. + 69,71,72,73)
  985. }
  986. *case: LANDSCAPE_CC270
  987. {
  988. *DeviceFonts: LIST()
  989. }
  990. }
  991. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  992. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  993. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  994. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  995. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  996. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }