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.

448 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "EPLX810.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Epson LX-810"
  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.2
  46. *Cmd: "<1B19>4<1B19>1"
  47. }
  48. }
  49. }
  50. *Feature: PaperSize
  51. {
  52. *rcNameID: =PAPER_SIZE_DISPLAY
  53. *DefaultOption: LETTER
  54. *Option: LETTER
  55. {
  56. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.3
  60. *Cmd: "<1B>2<1B>CB"
  61. }
  62. *switch: InputBin
  63. {
  64. *case: TRACTOR
  65. {
  66. *PrintableArea: PAIR(5760, 4752)
  67. *PrintableOrigin: PAIR(180, 0)
  68. }
  69. *default:
  70. {
  71. *PrintableArea: PAIR(5760, 4401)
  72. *PrintableOrigin: PAIR(180, 135)
  73. *switch: Resolution
  74. {
  75. *case: Option3
  76. {
  77. *PrintableArea: PAIR(5760, 4398)
  78. *PrintableOrigin: PAIR(180, 138)
  79. }
  80. }
  81. }
  82. }
  83. }
  84. *Option: LEGAL
  85. {
  86. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  87. *Command: CmdSelect
  88. {
  89. *Order: DOC_SETUP.3
  90. *Cmd: "<1B>2<1B>CT"
  91. }
  92. *switch: InputBin
  93. {
  94. *case: TRACTOR
  95. {
  96. *PrintableArea: PAIR(5760, 6048)
  97. *PrintableOrigin: PAIR(180, 0)
  98. }
  99. *default:
  100. {
  101. *PrintableArea: PAIR(5760, 5697)
  102. *PrintableOrigin: PAIR(180, 135)
  103. *switch: Resolution
  104. {
  105. *case: Option3
  106. {
  107. *PrintableArea: PAIR(5760, 5694)
  108. *PrintableOrigin: PAIR(180, 138)
  109. }
  110. }
  111. }
  112. }
  113. }
  114. *Option: A4
  115. {
  116. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.3
  120. *Cmd: "<1B>2<1B>CF"
  121. }
  122. *switch: InputBin
  123. {
  124. *case: TRACTOR
  125. {
  126. *PrintableOrigin: PAIR(180, 0)
  127. *switch: Resolution
  128. {
  129. *case: Option1
  130. {
  131. *PrintableArea: PAIR(5760, 5049)
  132. }
  133. *case: Option2
  134. {
  135. *PrintableArea: PAIR(5760, 5049)
  136. }
  137. *case: Option3
  138. {
  139. *PrintableArea: PAIR(5760, 5046)
  140. }
  141. }
  142. }
  143. *default:
  144. {
  145. *PrintableArea: PAIR(5760, 4698)
  146. *PrintableOrigin: PAIR(180, 135)
  147. *switch: Resolution
  148. {
  149. *case: Option3
  150. {
  151. *PrintableArea: PAIR(5760, 4692)
  152. *PrintableOrigin: PAIR(180, 138)
  153. }
  154. }
  155. }
  156. }
  157. }
  158. *Option: A5
  159. {
  160. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  161. *Command: CmdSelect
  162. {
  163. *Order: DOC_SETUP.3
  164. *Cmd: "<1B>2<1B>C2"
  165. }
  166. *switch: InputBin
  167. {
  168. *case: TRACTOR
  169. {
  170. *PrintableOrigin: PAIR(180, 0)
  171. *switch: Resolution
  172. {
  173. *case: Option1
  174. {
  175. *PrintableArea: PAIR(4014, 3573)
  176. }
  177. *case: Option2
  178. {
  179. *PrintableArea: PAIR(4017, 3573)
  180. }
  181. *case: Option3
  182. {
  183. *PrintableArea: PAIR(4014, 3570)
  184. }
  185. }
  186. }
  187. *default:
  188. {
  189. *PrintableArea: PAIR(4018, 3222)
  190. *PrintableOrigin: PAIR(180, 135)
  191. *switch: Resolution
  192. {
  193. *case: Option1
  194. {
  195. *PrintableArea: PAIR(4014, 3222)
  196. }
  197. *case: Option2
  198. {
  199. *PrintableArea: PAIR(4017, 3222)
  200. }
  201. *case: Option3
  202. {
  203. *PrintableArea: PAIR(4014, 3216)
  204. *PrintableOrigin: PAIR(180, 138)
  205. }
  206. }
  207. }
  208. }
  209. }
  210. *Option: B5
  211. {
  212. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  213. *Command: CmdSelect
  214. {
  215. *Order: DOC_SETUP.3
  216. *Cmd: "<1B>2<1B>C="
  217. }
  218. *switch: InputBin
  219. {
  220. *case: TRACTOR
  221. {
  222. *PrintableArea: PAIR(4980, 4371)
  223. *PrintableOrigin: PAIR(180, 0)
  224. *switch: Resolution
  225. {
  226. *case: Option3
  227. {
  228. *PrintableArea: PAIR(4980, 4368)
  229. }
  230. }
  231. }
  232. *default:
  233. {
  234. *PrintableArea: PAIR(4980, 4020)
  235. *PrintableOrigin: PAIR(180, 135)
  236. *switch: Resolution
  237. {
  238. *case: Option3
  239. {
  240. *PrintableArea: PAIR(4980, 4014)
  241. *PrintableOrigin: PAIR(180, 138)
  242. }
  243. }
  244. }
  245. }
  246. }
  247. *Option: Option6
  248. {
  249. *rcNameID: 258
  250. *PageDimensions: PAIR(6120, 5184)
  251. *Command: CmdSelect
  252. {
  253. *Order: DOC_SETUP.3
  254. *Cmd: "<1B>2<1B>CH"
  255. }
  256. *switch: InputBin
  257. {
  258. *case: TRACTOR
  259. {
  260. *PrintableArea: PAIR(5760, 5184)
  261. *PrintableOrigin: PAIR(180, 0)
  262. }
  263. *default:
  264. {
  265. *PrintableArea: PAIR(5760, 4833)
  266. *PrintableOrigin: PAIR(180, 135)
  267. *switch: Resolution
  268. {
  269. *case: Option3
  270. {
  271. *PrintableArea: PAIR(5760, 4830)
  272. *PrintableOrigin: PAIR(180, 138)
  273. }
  274. }
  275. }
  276. }
  277. }
  278. *Option: CUSTOMSIZE
  279. {
  280. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  281. *MinSize: PAIR(720, 432)
  282. *MaxSize: PAIR(6120, 9504)
  283. *MaxPrintableWidth: 5760
  284. *MinLeftMargin: 180
  285. *CenterPrintable?: FALSE
  286. *switch: InputBin
  287. {
  288. *case: TRACTOR
  289. {
  290. *TopMargin: 0
  291. *BottomMargin: 0
  292. }
  293. *default:
  294. {
  295. *TopMargin: 138
  296. *BottomMargin: 216
  297. }
  298. }
  299. *Command: CmdSelect
  300. {
  301. *Order: DOC_SETUP.3
  302. *Cmd: "<1B>2"
  303. }
  304. }
  305. }
  306. *Feature: Resolution
  307. {
  308. *rcNameID: =RESOLUTION_DISPLAY
  309. *DefaultOption: Option1
  310. *Option: Option1
  311. {
  312. *Name: "120 x 144 " =DOTS_PER_INCH
  313. *DPI: PAIR(120, 144)
  314. *TextDPI: PAIR(120, 144)
  315. *PinsPerLogPass: 16
  316. *PinsPerPhysPass: 8
  317. *SpotDiameter: 140
  318. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  319. }
  320. *Option: Option2
  321. {
  322. *Name: "240 x 144 " =DOTS_PER_INCH
  323. *DPI: PAIR(240, 144)
  324. *TextDPI: PAIR(240, 144)
  325. *PinsPerLogPass: 16
  326. *PinsPerPhysPass: 8
  327. *SpotDiameter: 170
  328. *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
  329. }
  330. *Option: Option3
  331. {
  332. *Name: "120 x 72 " =DOTS_PER_INCH
  333. *DPI: PAIR(120, 72)
  334. *TextDPI: PAIR(120, 72)
  335. *PinsPerLogPass: 8
  336. *PinsPerPhysPass: 8
  337. *SpotDiameter: 100
  338. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  339. }
  340. }
  341. *Feature: Halftone
  342. {
  343. *rcNameID: =HALFTONING_DISPLAY
  344. *DefaultOption: HT_PATSIZE_AUTO
  345. *Option: HT_PATSIZE_AUTO
  346. {
  347. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  348. }
  349. *Ifdef: WINNT_50
  350. *Option: HT_PATSIZE_SUPERCELL_M
  351. {
  352. *rcNameID: =HT_SUPERCELL_DISPLAY
  353. }
  354. *Endif:
  355. *Option: HT_PATSIZE_6x6_M
  356. {
  357. *rcNameID: =HT_DITHER6X6_DISPLAY
  358. }
  359. *Option: HT_PATSIZE_8x8_M
  360. {
  361. *rcNameID: =HT_DITHER8X8_DISPLAY
  362. }
  363. }
  364. *Command: CmdStartDoc
  365. {
  366. *Order: DOC_SETUP.1
  367. *Cmd: "<1B>@<0D1B>t<011B>6<1B>R<001B>x<011B>P"
  368. }
  369. *Command: CmdStartPage
  370. {
  371. *Order: PAGE_SETUP.1
  372. *Cmd: "<0D>"
  373. }
  374. *Command: CmdEndJob
  375. {
  376. *Order: JOB_FINISH.1
  377. *Cmd: "<0D>"
  378. }
  379. *RotateCoordinate?: FALSE
  380. *RotateRaster?: FALSE
  381. *RotateFont?: FALSE
  382. *switch: Orientation
  383. {
  384. *case: PORTRAIT
  385. {
  386. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  387. }
  388. *case: LANDSCAPE_CC270
  389. {
  390. *TextCaps: LIST(TC_RA_ABLE)
  391. }
  392. }
  393. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  394. *YMoveAttributes: LIST(SEND_CR_FIRST)
  395. *MaxLineSpacing: 255
  396. *YMoveThreshold: *
  397. *YMoveUnit: 216
  398. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  399. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  400. *Command: CmdCR { *Cmd : "<0D>" }
  401. *Command: CmdLF { *Cmd : "<0A>" }
  402. *Command: CmdFF { *Cmd : "<0C>" }
  403. *Command: CmdBackSpace { *Cmd : "<08>" }
  404. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  405. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  406. *EjectPageWithFF?: TRUE
  407. *switch: PaperSize
  408. {
  409. *case: CUSTOMSIZE
  410. {
  411. *EjectPageWithFF?: FALSE
  412. *switch: InputBin
  413. {
  414. *case: MANUAL
  415. {
  416. *EjectPageWithFF?: TRUE
  417. }
  418. *case: Option3
  419. {
  420. *EjectPageWithFF?: TRUE
  421. }
  422. }
  423. }
  424. }
  425. *OutputDataFormat: V_BYTE
  426. *OptimizeLeftBound?: FALSE
  427. *StripBlanks: LIST(LEADING,TRAILING)
  428. *CursorXAfterSendBlockData: AT_GRXDATA_END
  429. *CursorYAfterSendBlockData: NO_MOVE
  430. *DefaultFont: 1
  431. *DefaultCTT: 1
  432. *switch: Orientation
  433. {
  434. *case: PORTRAIT
  435. {
  436. *DeviceFonts: LIST(1,2,6,7,18,19,23,24,45,46,50,51,52,53)
  437. }
  438. *case: LANDSCAPE_CC270
  439. {
  440. *DeviceFonts: LIST()
  441. }
  442. }
  443. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  444. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  445. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  446. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  447. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  448. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }