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.

725 lines
20 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "EPT750.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Epson T-750"
  10. *MasterUnits: PAIR(720, 432)
  11. *ResourceDLL: "ep9res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: TRACTOR
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. }
  34. *Option: MANUAL
  35. {
  36. *rcNameID: =MANUAL_FEED_DISPLAY
  37. }
  38. *Option: Option3
  39. {
  40. *rcNameID: 259
  41. *Command: CmdSelect
  42. {
  43. *Order: DOC_SETUP.3
  44. *Cmd: "<1B19>4<1B19>1"
  45. }
  46. }
  47. }
  48. *Feature: Resolution
  49. {
  50. *rcNameID: =RESOLUTION_DISPLAY
  51. *DefaultOption: Option1
  52. *Option: Option1
  53. {
  54. *Name: "120 x 144 " =DOTS_PER_INCH
  55. *DPI: PAIR(120, 144)
  56. *TextDPI: PAIR(120, 144)
  57. *PinsPerLogPass: 16
  58. *PinsPerPhysPass: 8
  59. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  60. *SpotDiameter: 140
  61. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  62. }
  63. *Option: Option2
  64. {
  65. *Name: "240 x 144 " =DOTS_PER_INCH
  66. *DPI: PAIR(240, 144)
  67. *TextDPI: PAIR(240, 144)
  68. *PinsPerLogPass: 16
  69. *PinsPerPhysPass: 8
  70. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  71. *SpotDiameter: 170
  72. *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
  73. }
  74. *Option: Option3
  75. {
  76. *Name: "120 x 72 " =DOTS_PER_INCH
  77. *DPI: PAIR(120, 72)
  78. *TextDPI: PAIR(120, 72)
  79. *PinsPerLogPass: 8
  80. *PinsPerPhysPass: 8
  81. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  82. *SpotDiameter: 100
  83. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  84. }
  85. }
  86. *Feature: PaperSize
  87. {
  88. *rcNameID: =PAPER_SIZE_DISPLAY
  89. *DefaultOption: LETTER
  90. *Option: LETTER
  91. {
  92. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.4
  96. *Cmd: "<1B>2<1B>CB"
  97. }
  98. *switch: InputBin
  99. {
  100. *case: TRACTOR
  101. {
  102. *PrintableArea: PAIR(5940, 4752)
  103. *PrintableOrigin: PAIR(180, 0)
  104. }
  105. *case: MANUAL
  106. {
  107. *PrintableArea: PAIR(5940, 4401)
  108. *PrintableOrigin: PAIR(180, 135)
  109. *switch: Resolution
  110. {
  111. *case: Option3
  112. {
  113. *PrintableArea: PAIR(5940, 4398)
  114. *PrintableOrigin: PAIR(180, 138)
  115. }
  116. }
  117. }
  118. *case: Option3
  119. {
  120. *PrintableArea: PAIR(5940, 4401)
  121. *PrintableOrigin: PAIR(180, 135)
  122. *switch: Resolution
  123. {
  124. *case: Option3
  125. {
  126. *PrintableArea: PAIR(5940, 4398)
  127. *PrintableOrigin: PAIR(180, 138)
  128. }
  129. }
  130. }
  131. }
  132. }
  133. *Option: LEGAL
  134. {
  135. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.4
  139. *Cmd: "<1B>2<1B>CT"
  140. }
  141. *switch: InputBin
  142. {
  143. *case: TRACTOR
  144. {
  145. *PrintableArea: PAIR(5940, 6048)
  146. *PrintableOrigin: PAIR(180, 0)
  147. }
  148. *case: MANUAL
  149. {
  150. *PrintableArea: PAIR(5940, 5697)
  151. *PrintableOrigin: PAIR(180, 135)
  152. *switch: Resolution
  153. {
  154. *case: Option3
  155. {
  156. *PrintableArea: PAIR(5940, 5694)
  157. *PrintableOrigin: PAIR(180, 138)
  158. }
  159. }
  160. }
  161. *case: Option3
  162. {
  163. *PrintableArea: PAIR(5940, 5697)
  164. *PrintableOrigin: PAIR(180, 135)
  165. *switch: Resolution
  166. {
  167. *case: Option3
  168. {
  169. *PrintableArea: PAIR(5940, 5694)
  170. *PrintableOrigin: PAIR(180, 138)
  171. }
  172. }
  173. }
  174. }
  175. }
  176. *Option: A4
  177. {
  178. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.4
  182. *Cmd: "<1B>2<1B>CF"
  183. }
  184. *switch: InputBin
  185. {
  186. *case: TRACTOR
  187. {
  188. *PrintableArea: PAIR(5774, 5050)
  189. *PrintableOrigin: PAIR(180, 0)
  190. *switch: Resolution
  191. {
  192. *case: Option1
  193. {
  194. *PrintableArea: PAIR(5772, 5049)
  195. }
  196. *case: Option2
  197. {
  198. *PrintableArea: PAIR(5772, 5049)
  199. }
  200. *case: Option3
  201. {
  202. *PrintableArea: PAIR(5772, 5046)
  203. }
  204. }
  205. }
  206. *case: MANUAL
  207. {
  208. *PrintableArea: PAIR(5774, 4699)
  209. *PrintableOrigin: PAIR(180, 135)
  210. *switch: Resolution
  211. {
  212. *case: Option1
  213. {
  214. *PrintableArea: PAIR(5772, 4698)
  215. }
  216. *case: Option2
  217. {
  218. *PrintableArea: PAIR(5772, 4698)
  219. }
  220. *case: Option3
  221. {
  222. *PrintableArea: PAIR(5772, 4692)
  223. *PrintableOrigin: PAIR(180, 138)
  224. }
  225. }
  226. }
  227. *case: Option3
  228. {
  229. *PrintableArea: PAIR(5774, 4699)
  230. *PrintableOrigin: PAIR(180, 135)
  231. *switch: Resolution
  232. {
  233. *case: Option1
  234. {
  235. *PrintableArea: PAIR(5772, 4698)
  236. }
  237. *case: Option2
  238. {
  239. *PrintableArea: PAIR(5772, 4698)
  240. }
  241. *case: Option3
  242. {
  243. *PrintableArea: PAIR(5772, 4692)
  244. *PrintableOrigin: PAIR(180, 138)
  245. }
  246. }
  247. }
  248. }
  249. }
  250. *Option: A3
  251. {
  252. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.4
  256. *Cmd: "<1B>2<1B>Cc"
  257. }
  258. *switch: InputBin
  259. {
  260. *case: TRACTOR
  261. {
  262. *PrintableArea: PAIR(8237, 7145)
  263. *PrintableOrigin: PAIR(180, 0)
  264. *switch: Resolution
  265. {
  266. *case: Option1
  267. {
  268. *PrintableArea: PAIR(8232, 7143)
  269. }
  270. *case: Option2
  271. {
  272. *PrintableArea: PAIR(8235, 7143)
  273. }
  274. *case: Option3
  275. {
  276. *PrintableArea: PAIR(8232, 7140)
  277. }
  278. }
  279. }
  280. *case: MANUAL
  281. {
  282. *PrintableArea: PAIR(8237, 6794)
  283. *PrintableOrigin: PAIR(180, 135)
  284. *switch: Resolution
  285. {
  286. *case: Option1
  287. {
  288. *PrintableArea: PAIR(8232, 6792)
  289. }
  290. *case: Option2
  291. {
  292. *PrintableArea: PAIR(8235, 6792)
  293. }
  294. *case: Option3
  295. {
  296. *PrintableArea: PAIR(8232, 6786)
  297. *PrintableOrigin: PAIR(180, 138)
  298. }
  299. }
  300. }
  301. *case: Option3
  302. {
  303. *PrintableArea: PAIR(8237, 6794)
  304. *PrintableOrigin: PAIR(180, 135)
  305. *switch: Resolution
  306. {
  307. *case: Option1
  308. {
  309. *PrintableArea: PAIR(8232, 6792)
  310. }
  311. *case: Option2
  312. {
  313. *PrintableArea: PAIR(8235, 6792)
  314. }
  315. *case: Option3
  316. {
  317. *PrintableArea: PAIR(8232, 6786)
  318. *PrintableOrigin: PAIR(180, 138)
  319. }
  320. }
  321. }
  322. }
  323. }
  324. *Option: A5
  325. {
  326. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  327. *Command: CmdSelect
  328. {
  329. *Order: DOC_SETUP.4
  330. *Cmd: "<1B>2<1B>C2"
  331. }
  332. *switch: InputBin
  333. {
  334. *case: TRACTOR
  335. {
  336. *PrintableArea: PAIR(4018, 3573)
  337. *PrintableOrigin: PAIR(180, 0)
  338. *switch: Resolution
  339. {
  340. *case: Option1
  341. {
  342. *PrintableArea: PAIR(4014, 3573)
  343. }
  344. *case: Option2
  345. {
  346. *PrintableArea: PAIR(4017, 3573)
  347. }
  348. *case: Option3
  349. {
  350. *PrintableArea: PAIR(4014, 3570)
  351. }
  352. }
  353. }
  354. *case: MANUAL
  355. {
  356. *PrintableArea: PAIR(4018, 3222)
  357. *PrintableOrigin: PAIR(180, 135)
  358. *switch: Resolution
  359. {
  360. *case: Option1
  361. {
  362. *PrintableArea: PAIR(4014, 3222)
  363. }
  364. *case: Option2
  365. {
  366. *PrintableArea: PAIR(4017, 3222)
  367. }
  368. *case: Option3
  369. {
  370. *PrintableArea: PAIR(4014, 3216)
  371. *PrintableOrigin: PAIR(180, 138)
  372. }
  373. }
  374. }
  375. *case: Option3
  376. {
  377. *PrintableArea: PAIR(4018, 3222)
  378. *PrintableOrigin: PAIR(180, 135)
  379. *switch: Resolution
  380. {
  381. *case: Option1
  382. {
  383. *PrintableArea: PAIR(4014, 3222)
  384. }
  385. *case: Option2
  386. {
  387. *PrintableArea: PAIR(4017, 3222)
  388. }
  389. *case: Option3
  390. {
  391. *PrintableArea: PAIR(4014, 3216)
  392. *PrintableOrigin: PAIR(180, 138)
  393. }
  394. }
  395. }
  396. }
  397. }
  398. *Option: B5
  399. {
  400. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.4
  404. *Cmd: "<1B>2<1B>C="
  405. }
  406. *switch: InputBin
  407. {
  408. *case: TRACTOR
  409. {
  410. *PrintableArea: PAIR(4982, 4372)
  411. *PrintableOrigin: PAIR(180, 0)
  412. *switch: Resolution
  413. {
  414. *case: Option1
  415. {
  416. *PrintableArea: PAIR(4980, 4371)
  417. }
  418. *case: Option2
  419. {
  420. *PrintableArea: PAIR(4980, 4371)
  421. }
  422. *case: Option3
  423. {
  424. *PrintableArea: PAIR(4980, 4368)
  425. }
  426. }
  427. }
  428. *case: MANUAL
  429. {
  430. *PrintableArea: PAIR(4982, 4021)
  431. *PrintableOrigin: PAIR(180, 135)
  432. *switch: Resolution
  433. {
  434. *case: Option1
  435. {
  436. *PrintableArea: PAIR(4980, 4020)
  437. }
  438. *case: Option2
  439. {
  440. *PrintableArea: PAIR(4980, 4020)
  441. }
  442. *case: Option3
  443. {
  444. *PrintableArea: PAIR(4980, 4014)
  445. *PrintableOrigin: PAIR(180, 138)
  446. }
  447. }
  448. }
  449. *case: Option3
  450. {
  451. *PrintableArea: PAIR(4982, 4021)
  452. *PrintableOrigin: PAIR(180, 135)
  453. *switch: Resolution
  454. {
  455. *case: Option1
  456. {
  457. *PrintableArea: PAIR(4980, 4020)
  458. }
  459. *case: Option2
  460. {
  461. *PrintableArea: PAIR(4980, 4020)
  462. }
  463. *case: Option3
  464. {
  465. *PrintableArea: PAIR(4980, 4014)
  466. *PrintableOrigin: PAIR(180, 138)
  467. }
  468. }
  469. }
  470. }
  471. }
  472. *Option: FANFOLD_US
  473. {
  474. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.4
  478. *Cmd: "<1B>2<1B>CB"
  479. }
  480. *switch: InputBin
  481. {
  482. *case: TRACTOR
  483. {
  484. *PrintableArea: PAIR(9792, 4752)
  485. *PrintableOrigin: PAIR(180, 0)
  486. }
  487. *case: MANUAL
  488. {
  489. *PrintableArea: PAIR(9792, 4401)
  490. *PrintableOrigin: PAIR(180, 135)
  491. *switch: Resolution
  492. {
  493. *case: Option3
  494. {
  495. *PrintableArea: PAIR(9792, 4398)
  496. *PrintableOrigin: PAIR(180, 138)
  497. }
  498. }
  499. }
  500. *case: Option3
  501. {
  502. *PrintableArea: PAIR(9792, 4401)
  503. *PrintableOrigin: PAIR(180, 135)
  504. *switch: Resolution
  505. {
  506. *case: Option3
  507. {
  508. *PrintableArea: PAIR(9792, 4398)
  509. *PrintableOrigin: PAIR(180, 138)
  510. }
  511. }
  512. }
  513. }
  514. }
  515. *Option: Option8
  516. {
  517. *rcNameID: 258
  518. *PageDimensions: PAIR(6120, 5184)
  519. *Command: CmdSelect
  520. {
  521. *Order: DOC_SETUP.4
  522. *Cmd: "<1B>2<1B>CH"
  523. }
  524. *switch: InputBin
  525. {
  526. *case: TRACTOR
  527. {
  528. *PrintableArea: PAIR(5940, 5184)
  529. *PrintableOrigin: PAIR(180, 0)
  530. }
  531. *case: MANUAL
  532. {
  533. *PrintableArea: PAIR(5940, 4833)
  534. *PrintableOrigin: PAIR(180, 135)
  535. *switch: Resolution
  536. {
  537. *case: Option3
  538. {
  539. *PrintableArea: PAIR(5940, 4830)
  540. *PrintableOrigin: PAIR(180, 138)
  541. }
  542. }
  543. }
  544. *case: Option3
  545. {
  546. *PrintableArea: PAIR(5940, 4833)
  547. *PrintableOrigin: PAIR(180, 135)
  548. *switch: Resolution
  549. {
  550. *case: Option3
  551. {
  552. *PrintableArea: PAIR(5940, 4830)
  553. *PrintableOrigin: PAIR(180, 138)
  554. }
  555. }
  556. }
  557. }
  558. }
  559. *Option: CUSTOMSIZE
  560. {
  561. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  562. *MinSize: PAIR(720, 432)
  563. *MaxSize: PAIR(10710, 9504)
  564. *MaxPrintableWidth: 9792
  565. *MinLeftMargin: 180
  566. *CenterPrintable?: FALSE
  567. *switch: InputBin
  568. {
  569. *case: TRACTOR
  570. {
  571. *TopMargin: 0
  572. *BottomMargin: 0
  573. }
  574. *case: MANUAL
  575. {
  576. *TopMargin: 135
  577. *BottomMargin: 216
  578. }
  579. *case: Option3
  580. {
  581. *TopMargin: 135
  582. *BottomMargin: 216
  583. }
  584. }
  585. *Command: CmdSelect
  586. {
  587. *Order: DOC_SETUP.4
  588. *Cmd: "<1B>2"
  589. }
  590. }
  591. }
  592. *Feature: PrintQuality
  593. {
  594. *rcNameID: =TEXT_QUALITY_DISPLAY
  595. *DefaultOption: LETTER_QUALITY
  596. *Option: LETTER_QUALITY
  597. {
  598. *rcNameID: =LETTER_QUALITY_DISPLAY
  599. *Command: CmdSelect
  600. {
  601. *Order: DOC_SETUP.2
  602. *Cmd: "<1B>x<01>"
  603. }
  604. }
  605. *Option: DRAFT_QUALITY
  606. {
  607. *rcNameID: =DRAFT_QUALITY_DISPLAY
  608. *Command: CmdSelect
  609. {
  610. *Order: DOC_SETUP.2
  611. *Cmd: "<1B>x<00>"
  612. }
  613. }
  614. }
  615. *Feature: Halftone
  616. {
  617. *rcNameID: =HALFTONING_DISPLAY
  618. *DefaultOption: HT_PATSIZE_AUTO
  619. *Option: HT_PATSIZE_AUTO
  620. {
  621. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  622. }
  623. *Ifdef: WINNT_50
  624. *Option: HT_PATSIZE_SUPERCELL_M
  625. {
  626. *rcNameID: =HT_SUPERCELL_DISPLAY
  627. }
  628. *Endif:
  629. *Option: HT_PATSIZE_6x6_M
  630. {
  631. *rcNameID: =HT_DITHER6X6_DISPLAY
  632. }
  633. *Option: HT_PATSIZE_8x8_M
  634. {
  635. *rcNameID: =HT_DITHER8X8_DISPLAY
  636. }
  637. }
  638. *Command: CmdStartDoc
  639. {
  640. *Order: DOC_SETUP.1
  641. *Cmd: "<1B>@<0D1B>t<011B>6<1B>R<001B>P"
  642. }
  643. *Command: CmdStartPage
  644. {
  645. *Order: PAGE_SETUP.1
  646. *Cmd: "<0D>"
  647. }
  648. *Command: CmdEndJob
  649. {
  650. *Order: JOB_FINISH.1
  651. *Cmd: "<0D>"
  652. }
  653. *RotateCoordinate?: FALSE
  654. *RotateRaster?: FALSE
  655. *RotateFont?: FALSE
  656. *switch: Orientation
  657. {
  658. *case: PORTRAIT
  659. {
  660. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  661. }
  662. *case: LANDSCAPE_CC270
  663. {
  664. *TextCaps: LIST(TC_RA_ABLE)
  665. }
  666. }
  667. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  668. *YMoveAttributes: LIST(SEND_CR_FIRST)
  669. *MaxLineSpacing: 255
  670. *XMoveThreshold: *
  671. *YMoveThreshold: *
  672. *XMoveUnit: 120
  673. *YMoveUnit: 216
  674. *Command: CmdXMoveRelRight { *Cmd : "<1B>\" %l{(DestXRel / 6) } }
  675. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  676. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  677. *Command: CmdCR { *Cmd : "<0D>" }
  678. *Command: CmdLF { *Cmd : "<0A>" }
  679. *Command: CmdFF { *Cmd : "<0C>" }
  680. *Command: CmdBackSpace { *Cmd : "<08>" }
  681. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  682. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  683. *EjectPageWithFF?: TRUE
  684. *switch: PaperSize
  685. {
  686. *case: CUSTOMSIZE
  687. {
  688. *EjectPageWithFF?: FALSE
  689. *switch: InputBin
  690. {
  691. *case: MANUAL
  692. {
  693. *EjectPageWithFF?: TRUE
  694. }
  695. *case: Option3
  696. {
  697. *EjectPageWithFF?: TRUE
  698. }
  699. }
  700. }
  701. }
  702. *OutputDataFormat: V_BYTE
  703. *OptimizeLeftBound?: FALSE
  704. *CursorXAfterSendBlockData: AT_GRXDATA_END
  705. *CursorYAfterSendBlockData: NO_MOVE
  706. *DefaultFont: 1
  707. *DefaultCTT: 1
  708. *switch: Orientation
  709. {
  710. *case: PORTRAIT
  711. {
  712. *DeviceFonts: LIST(1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,
  713. + 18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34)
  714. }
  715. *case: LANDSCAPE_CC270
  716. {
  717. *DeviceFonts: LIST()
  718. }
  719. }
  720. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  721. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  722. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  723. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  724. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  725. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }