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.

480 lines
14 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *CodePage: 1252
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "epepl75t.gpd"
  9. *Include: "STDNAMES.GPD"
  10. *ModelName: "Epson EPL-7050C LQ-MODE"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "ep24tres.dll"
  13. *PrinterType: SERIAL
  14. *FontCartSlots: 2
  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: Option2
  32. *Option: MANUAL
  33. {
  34. *rcNameID: =MANUAL_FEED_DISPLAY
  35. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.3
  39. *Cmd: "<1B19>0"
  40. }
  41. }
  42. *Option: Option2
  43. {
  44. *rcNameID: 265
  45. *OptionID: 265
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.3
  49. *Cmd: "<1B19>4<1B19>1"
  50. }
  51. }
  52. *Option: Option3
  53. {
  54. *rcNameID: 266
  55. *OptionID: 266
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.3
  59. *Cmd: "<1B19>4<1B19>2"
  60. }
  61. }
  62. }
  63. *Feature: Resolution
  64. {
  65. *rcNameID: =RESOLUTION_DISPLAY
  66. *DefaultOption: Option3
  67. *Option: Option1
  68. {
  69. *Name: "360 x 180 dots per inch"
  70. *DPI: PAIR(360, 180)
  71. *TextDPI: PAIR(360, 180)
  72. *PinsPerLogPass: 24
  73. *PinsPerPhysPass: 24
  74. *MinStripBlankPixels: 360
  75. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  77. *SpotDiameter: 170
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  79. }
  80. *Option: Option2
  81. {
  82. *Name: "360 x 360 dots per inch"
  83. *DPI: PAIR(360, 360)
  84. *TextDPI: PAIR(360, 360)
  85. *PinsPerLogPass: 48
  86. *PinsPerPhysPass: 24
  87. *MinStripBlankPixels: 360
  88. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  89. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  90. *SpotDiameter: 170
  91. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  92. }
  93. *Option: Option3
  94. {
  95. *Name: "180 x 180 dots per inch"
  96. *DPI: PAIR(180, 180)
  97. *TextDPI: PAIR(180, 180)
  98. *PinsPerLogPass: 24
  99. *PinsPerPhysPass: 24
  100. *MinStripBlankPixels: 180
  101. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  102. *SpotDiameter: 120
  103. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  104. }
  105. *Option: Option4
  106. {
  107. *Name: "120 x 180 dots per inch"
  108. *DPI: PAIR(120, 180)
  109. *TextDPI: PAIR(120, 180)
  110. *PinsPerLogPass: 24
  111. *PinsPerPhysPass: 24
  112. *MinStripBlankPixels: 120
  113. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  114. *SpotDiameter: 100
  115. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  116. }
  117. }
  118. *Feature: PaperSize
  119. {
  120. *rcNameID: =PAPER_SIZE_DISPLAY
  121. *DefaultOption: LETTER
  122. *Option: LETTER
  123. {
  124. *rcNameID: =LETTER_DISPLAY
  125. *PrintableArea: PAIR(2955, 3615)
  126. *PrintableOrigin: PAIR(60, 120)
  127. *switch: Resolution
  128. {
  129. *case: Option1
  130. {
  131. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  132. *PrintableArea: PAIR(2955, 3614)
  133. }
  134. *case: Option3
  135. {
  136. *% Warning: the following printable width is adjusted (2955->2954) so it is divisible by the resolution X scale.
  137. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  138. *PrintableArea: PAIR(2954, 3614)
  139. }
  140. *case: Option4
  141. {
  142. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  143. *PrintableArea: PAIR(2955, 3614)
  144. }
  145. }
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.4
  149. *Cmd: "<1B>2<1B>CB"
  150. }
  151. }
  152. *Option: LEGAL
  153. {
  154. *rcNameID: =LEGAL_DISPLAY
  155. *PrintableArea: PAIR(2955, 4695)
  156. *PrintableOrigin: PAIR(60, 120)
  157. *switch: Resolution
  158. {
  159. *case: Option1
  160. {
  161. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  162. *PrintableArea: PAIR(2955, 4694)
  163. }
  164. *case: Option3
  165. {
  166. *% Warning: the following printable width is adjusted (2955->2954) so it is divisible by the resolution X scale.
  167. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  168. *PrintableArea: PAIR(2954, 4694)
  169. }
  170. *case: Option4
  171. {
  172. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  173. *PrintableArea: PAIR(2955, 4694)
  174. }
  175. }
  176. *Command: CmdSelect
  177. {
  178. *Order: DOC_SETUP.4
  179. *Cmd: "<1B>2<1B>CT"
  180. }
  181. }
  182. *Option: EXECUTIVE
  183. {
  184. *rcNameID: =EXECUTIVE_DISPLAY
  185. *PrintableArea: PAIR(2505, 3435)
  186. *PrintableOrigin: PAIR(60, 120)
  187. *switch: Resolution
  188. {
  189. *case: Option1
  190. {
  191. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  192. *PrintableArea: PAIR(2505, 3434)
  193. }
  194. *case: Option3
  195. {
  196. *% Warning: the following printable width is adjusted (2505->2504) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  198. *PrintableArea: PAIR(2504, 3434)
  199. }
  200. *case: Option4
  201. {
  202. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  203. *PrintableArea: PAIR(2505, 3434)
  204. }
  205. }
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.4
  209. *Cmd: "<1B>2<1B>C?"
  210. }
  211. }
  212. *Option: FOLIO
  213. {
  214. *rcNameID: =FOLIO_DISPLAY
  215. *PrintableArea: PAIR(2955, 4335)
  216. *PrintableOrigin: PAIR(60, 120)
  217. *switch: Resolution
  218. {
  219. *case: Option1
  220. {
  221. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  222. *PrintableArea: PAIR(2955, 4334)
  223. }
  224. *case: Option3
  225. {
  226. *% Warning: the following printable width is adjusted (2955->2954) so it is divisible by the resolution X scale.
  227. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  228. *PrintableArea: PAIR(2954, 4334)
  229. }
  230. *case: Option4
  231. {
  232. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  233. *PrintableArea: PAIR(2955, 4334)
  234. }
  235. }
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.4
  239. *Cmd: "<1B>2<1B>CN"
  240. }
  241. }
  242. *Option: A4
  243. {
  244. *rcNameID: =A4_DISPLAY
  245. *PrintableArea: PAIR(2872, 3863)
  246. *PrintableOrigin: PAIR(60, 120)
  247. *switch: Resolution
  248. {
  249. *case: Option1
  250. {
  251. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  252. *PrintableArea: PAIR(2872, 3862)
  253. }
  254. *case: Option3
  255. {
  256. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  257. *PrintableArea: PAIR(2872, 3862)
  258. }
  259. *case: Option4
  260. {
  261. *% Warning: the following printable width is adjusted (2872->2871) so it is divisible by the resolution X scale.
  262. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  263. *PrintableArea: PAIR(2871, 3862)
  264. }
  265. }
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.4
  269. *Cmd: "<1B>2<1B>CF"
  270. }
  271. }
  272. *Option: ENV_10
  273. {
  274. *rcNameID: =ENV_10_DISPLAY
  275. *RotateSize? : TRUE
  276. *PrintableArea: PAIR(3060, 1142)
  277. *PrintableOrigin: PAIR(60, 120)
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.4
  281. *Cmd: "<1B>2<1B>C<19>"
  282. }
  283. }
  284. *Option: ENV_DL
  285. {
  286. *rcNameID: =ENV_DL_DISPLAY
  287. *RotateSize? : TRUE
  288. *PrintableArea: PAIR(3013, 1214)
  289. *PrintableOrigin: PAIR(60, 120)
  290. *switch: Resolution
  291. {
  292. *case: Option3
  293. {
  294. *% Warning: the following printable width is adjusted (3013->3012) so it is divisible by the resolution X scale.
  295. *PrintableArea: PAIR(3012, 1214)
  296. }
  297. *case: Option4
  298. {
  299. *% Warning: the following printable width is adjusted (3013->3012) so it is divisible by the resolution X scale.
  300. *PrintableArea: PAIR(3012, 1214)
  301. }
  302. }
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.4
  306. *Cmd: "<1B>2<1B>C<1A>"
  307. }
  308. }
  309. *Option: ENV_C5
  310. {
  311. *rcNameID: =ENV_C5_DISPLAY
  312. *RotateSize? : TRUE
  313. *PrintableArea: PAIR(3060, 1952)
  314. *PrintableOrigin: PAIR(60, 120)
  315. *Command: CmdSelect
  316. {
  317. *Order: DOC_SETUP.4
  318. *Cmd: "<1B>2<1B>C&"
  319. }
  320. }
  321. *Option: ENV_MONARCH
  322. {
  323. *rcNameID: =ENV_MONARCH_DISPLAY
  324. *RotateSize? : TRUE
  325. *PrintableArea: PAIR(2595, 1052)
  326. *PrintableOrigin: PAIR(60, 120)
  327. *switch: Resolution
  328. {
  329. *case: Option3
  330. {
  331. *% Warning: the following printable width is adjusted (2595->2594) so it is divisible by the resolution X scale.
  332. *PrintableArea: PAIR(2594, 1052)
  333. }
  334. }
  335. *Command: CmdSelect
  336. {
  337. *Order: DOC_SETUP.4
  338. *Cmd: "<1B>2<1B>C!"
  339. }
  340. }
  341. }
  342. *Feature: PrintQuality
  343. {
  344. *rcNameID: =TEXT_QUALITY_DISPLAY
  345. *DefaultOption: LETTER_QUALITY
  346. *Option: LETTER_QUALITY
  347. {
  348. *rcNameID: =LETTER_QUALITY_DISPLAY
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.2
  352. *Cmd: "<1B>x<01>"
  353. }
  354. }
  355. *Option: DRAFT_QUALITY
  356. {
  357. *rcNameID: =DRAFT_QUALITY_DISPLAY
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.2
  361. *Cmd: "<1B>x<00>"
  362. }
  363. }
  364. }
  365. *Feature: Halftone
  366. {
  367. *rcNameID: =HALFTONING_DISPLAY
  368. *DefaultOption: HT_PATSIZE_AUTO
  369. *Option: HT_PATSIZE_AUTO
  370. {
  371. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  372. }
  373. *Option: HT_PATSIZE_SUPERCELL_M
  374. {
  375. *rcNameID: =HT_SUPERCELL_DISPLAY
  376. }
  377. *Option: HT_PATSIZE_6x6_M
  378. {
  379. *rcNameID: =HT_DITHER6X6_DISPLAY
  380. }
  381. *Option: HT_PATSIZE_8x8_M
  382. {
  383. *rcNameID: =HT_DITHER8X8_DISPLAY
  384. }
  385. }
  386. *Command: CmdStartDoc
  387. {
  388. *Order: DOC_SETUP.1
  389. *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<011C>."
  390. }
  391. *Command: CmdStartPage
  392. {
  393. *Order: PAGE_SETUP.1
  394. *Cmd: "<0D>"
  395. }
  396. *Command: CmdEndJob
  397. {
  398. *Order: JOB_FINISH.1
  399. *Cmd: "<1B>@"
  400. }
  401. *RotateCoordinate?: FALSE
  402. *RotateRaster?: FALSE
  403. *RotateFont?: FALSE
  404. *switch: Orientation
  405. {
  406. *case: PORTRAIT
  407. {
  408. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  409. }
  410. *case: LANDSCAPE_CC270
  411. {
  412. *TextCaps: LIST(TC_RA_ABLE)
  413. }
  414. }
  415. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  416. *YMoveAttributes: LIST(SEND_CR_FIRST)
  417. *MaxLineSpacing: 255
  418. *XMoveThreshold: 0
  419. *YMoveThreshold: *
  420. *XMoveUnit: 60
  421. *YMoveUnit: 180
  422. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  423. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  424. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  425. *Command: CmdCR { *Cmd : "<0D>" }
  426. *Command: CmdLF { *Cmd : "<0A>" }
  427. *Command: CmdFF { *Cmd : "<0C>" }
  428. *Command: CmdBackSpace { *Cmd : "<08>" }
  429. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  430. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  431. *EjectPageWithFF?: TRUE
  432. *OutputDataFormat: V_BYTE
  433. *OptimizeLeftBound?: FALSE
  434. *CursorXAfterSendBlockData: AT_GRXDATA_END
  435. *CursorYAfterSendBlockData: NO_MOVE
  436. *DefaultFont: 3
  437. *DefaultCTT: 2
  438. *switch: Orientation
  439. {
  440. *case: PORTRAIT
  441. {
  442. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  443. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  444. + 33,34,35,36,37,42,44,46,48,50,52,54,56,58,60,62,64)
  445. }
  446. *case: LANDSCAPE_CC270
  447. {
  448. *DeviceFonts: LIST()
  449. }
  450. }
  451. *FontCartridge: FC1
  452. {
  453. *rcCartridgeNameID: 271
  454. *PortraitFonts: LIST(39)
  455. *LandscapeFonts: LIST()
  456. }
  457. *FontCartridge: FC2
  458. {
  459. *rcCartridgeNameID: 272
  460. *PortraitFonts: LIST(38)
  461. *LandscapeFonts: LIST()
  462. }
  463. *FontCartridge: FC3
  464. {
  465. *rcCartridgeNameID: 273
  466. *PortraitFonts: LIST(40)
  467. *LandscapeFonts: LIST()
  468. }
  469. *FontCartridge: FC4
  470. {
  471. *rcCartridgeNameID: 274
  472. *PortraitFonts: LIST(41)
  473. *LandscapeFonts: LIST()
  474. }
  475. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  476. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  477. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  478. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  479. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  480. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }