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.

610 lines
17 KiB

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