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.

532 lines
17 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPMJ80KC.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON MJ-800K"
  11. *MasterUnits: PAIR(720, 720)
  12. *ResourceDLL: "EPRSTRES.DLL"
  13. *PrinterType: SERIAL
  14. *OutputOrderReversed?: TRUE
  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: AUTO
  32. *Option: AUTO
  33. {
  34. *rcNameID: =AUTO_DISPLAY
  35. *Constraints: PaperSize.B4
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.3
  39. *Cmd: "<1B19>0"
  40. }
  41. }
  42. *Option: MANUAL
  43. {
  44. *rcNameID: =MANUAL_FEED_DISPLAY
  45. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.3
  49. *Cmd: "<1B19>0"
  50. }
  51. }
  52. }
  53. *Feature: Resolution
  54. {
  55. *rcNameID: =RESOLUTION_DISPLAY
  56. *DefaultOption: Option1
  57. *Option: Option1
  58. {
  59. *Name: "360 x 360 dots per inch"
  60. *DPI: PAIR(360, 360)
  61. *TextDPI: PAIR(360, 360)
  62. *PinsPerLogPass: 24
  63. *MinStripBlankPixels: 1
  64. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  65. *SpotDiameter: 170
  66. *Command: CmdSendBlockData { *Cmd : "<1B>.<010A0A18>" %l{(RasterDataWidthInBytes * 8) } }
  67. *Command: CmdEndBlockData { *Cmd : "<0D>" }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "360 x 180 dots per inch"
  72. *DPI: PAIR(360, 180)
  73. *TextDPI: PAIR(360, 180)
  74. *PinsPerLogPass: 24
  75. *MinStripBlankPixels: 1
  76. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  77. *SpotDiameter: 140
  78. *Command: CmdSendBlockData { *Cmd : "<1B>.<01140A18>" %l{(RasterDataWidthInBytes * 8) } }
  79. *Command: CmdEndBlockData { *Cmd : "<0D>" }
  80. }
  81. *Option: Option3
  82. {
  83. *Name: "180 x 180 dots per inch"
  84. *DPI: PAIR(180, 180)
  85. *TextDPI: PAIR(180, 180)
  86. *PinsPerLogPass: 24
  87. *MinStripBlankPixels: 1
  88. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  89. *SpotDiameter: 120
  90. *Command: CmdSendBlockData { *Cmd : "<1B>.<01141418>" %l{(RasterDataWidthInBytes * 8) } }
  91. *Command: CmdEndBlockData { *Cmd : "<0D>" }
  92. }
  93. }
  94. *Feature: PaperSize
  95. {
  96. *rcNameID: =PAPER_SIZE_DISPLAY
  97. *DefaultOption: LETTER
  98. *Option: LETTER
  99. {
  100. *rcNameID: =LETTER_DISPLAY
  101. *PrintableArea: PAIR(5760, 7230)
  102. *PrintableOrigin: PAIR(90, 240)
  103. *switch: Resolution
  104. {
  105. *case: Option2
  106. {
  107. *% Warning: the following printable length is adjusted (7230->7228) so it is divisible by the resolution Y scale.
  108. *PrintableArea: PAIR(5760, 7228)
  109. }
  110. *case: Option3
  111. {
  112. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  113. *% Warning: the following printable length is adjusted (7230->7228) so it is divisible by the resolution Y scale.
  114. *PrintableArea: PAIR(5756, 7228)
  115. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  116. *PrintableOrigin: PAIR(92, 240)
  117. }
  118. }
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.4
  122. *Cmd: "<1B>(C<0200>x<0F1B>(c<04000000>x<0F>"
  123. }
  124. }
  125. *Option: LEGAL
  126. {
  127. *rcNameID: =LEGAL_DISPLAY
  128. *PrintableArea: PAIR(5760, 9390)
  129. *PrintableOrigin: PAIR(90, 240)
  130. *switch: Resolution
  131. {
  132. *case: Option2
  133. {
  134. *% Warning: the following printable length is adjusted (9390->9388) so it is divisible by the resolution Y scale.
  135. *PrintableArea: PAIR(5760, 9388)
  136. }
  137. *case: Option3
  138. {
  139. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  140. *% Warning: the following printable length is adjusted (9390->9388) so it is divisible by the resolution Y scale.
  141. *PrintableArea: PAIR(5756, 9388)
  142. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  143. *PrintableOrigin: PAIR(92, 240)
  144. }
  145. }
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.4
  149. *Cmd: "<1B>(C<0200B0131B>(c<04000000B013>"
  150. }
  151. }
  152. *Option: EXECUTIVE
  153. {
  154. *rcNameID: =EXECUTIVE_DISPLAY
  155. *PrintableArea: PAIR(5130, 6870)
  156. *PrintableOrigin: PAIR(90, 240)
  157. *switch: Resolution
  158. {
  159. *case: Option2
  160. {
  161. *% Warning: the following printable length is adjusted (6870->6868) so it is divisible by the resolution Y scale.
  162. *PrintableArea: PAIR(5130, 6868)
  163. }
  164. *case: Option3
  165. {
  166. *% Warning: the following printable width is adjusted (5130->5128) so it is divisible by the resolution X scale.
  167. *% Warning: the following printable length is adjusted (6870->6868) so it is divisible by the resolution Y scale.
  168. *PrintableArea: PAIR(5128, 6868)
  169. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  170. *PrintableOrigin: PAIR(92, 240)
  171. }
  172. }
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.4
  176. *Cmd: "<1B>(C<0200C40E1B>(c<04000000C40E>"
  177. }
  178. }
  179. *Option: FOLIO
  180. {
  181. *rcNameID: =FOLIO_DISPLAY
  182. *PrintableArea: PAIR(5760, 8670)
  183. *PrintableOrigin: PAIR(90, 240)
  184. *switch: Resolution
  185. {
  186. *case: Option2
  187. {
  188. *% Warning: the following printable length is adjusted (8670->8668) so it is divisible by the resolution Y scale.
  189. *PrintableArea: PAIR(5760, 8668)
  190. }
  191. *case: Option3
  192. {
  193. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  194. *% Warning: the following printable length is adjusted (8670->8668) so it is divisible by the resolution Y scale.
  195. *PrintableArea: PAIR(5756, 8668)
  196. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  197. *PrintableOrigin: PAIR(92, 240)
  198. }
  199. }
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.4
  203. *Cmd: "<1B>(C<0200>H<121B>(c<04000000>H<12>"
  204. }
  205. }
  206. *Option: A4
  207. {
  208. *rcNameID: =A4_DISPLAY
  209. *PrintableArea: PAIR(5760, 7727)
  210. *PrintableOrigin: PAIR(90, 240)
  211. *switch: Resolution
  212. {
  213. *case: Option1
  214. {
  215. *% Warning: the following printable length is adjusted (7727->7726) so it is divisible by the resolution Y scale.
  216. *PrintableArea: PAIR(5760, 7726)
  217. }
  218. *case: Option2
  219. {
  220. *% Warning: the following printable length is adjusted (7727->7724) so it is divisible by the resolution Y scale.
  221. *PrintableArea: PAIR(5760, 7724)
  222. }
  223. *case: Option3
  224. {
  225. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  226. *% Warning: the following printable length is adjusted (7727->7724) so it is divisible by the resolution Y scale.
  227. *PrintableArea: PAIR(5756, 7724)
  228. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  229. *PrintableOrigin: PAIR(92, 240)
  230. }
  231. }
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.4
  235. *Cmd: "<1B>(C<0200>f<101B>(c<04000000>f<10>"
  236. }
  237. }
  238. *Option: A5
  239. {
  240. *rcNameID: =A5_DISPLAY
  241. *PrintableArea: PAIR(4108, 5264)
  242. *PrintableOrigin: PAIR(90, 240)
  243. *switch: Resolution
  244. {
  245. *case: Option3
  246. {
  247. *% Warning: the following printable width is adjusted (4108->4104) so it is divisible by the resolution X scale.
  248. *PrintableArea: PAIR(4104, 5264)
  249. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  250. *PrintableOrigin: PAIR(92, 240)
  251. }
  252. }
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.4
  256. *Cmd: "<1B>(C<0200A10B1B>(c<04000000A10B>"
  257. }
  258. }
  259. *Option: B4
  260. {
  261. *rcNameID: =B4_DISPLAY
  262. *PrintableArea: PAIR(5760, 9628)
  263. *PrintableOrigin: PAIR(90, 240)
  264. *switch: Resolution
  265. {
  266. *case: Option3
  267. {
  268. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  269. *PrintableArea: PAIR(5756, 9628)
  270. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  271. *PrintableOrigin: PAIR(92, 240)
  272. }
  273. }
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.4
  277. *Cmd: "<1B>(C<02009A131B>(c<040000009A13>"
  278. }
  279. }
  280. *Option: B5
  281. {
  282. *rcNameID: =B5_DISPLAY
  283. *PrintableArea: PAIR(5072, 6596)
  284. *PrintableOrigin: PAIR(90, 240)
  285. *switch: Resolution
  286. {
  287. *case: Option3
  288. {
  289. *% Warning: the following printable width is adjusted (5072->5068) so it is divisible by the resolution X scale.
  290. *PrintableArea: PAIR(5068, 6596)
  291. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  292. *PrintableOrigin: PAIR(92, 240)
  293. }
  294. }
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.4
  298. *Cmd: "<1B>(C<0200>K<0E1B>(c<04000000>K<0E>"
  299. }
  300. }
  301. *Option: ENV_9
  302. {
  303. *rcNameID: =ENV_9_DISPLAY
  304. *RotateSize? : TRUE
  305. *PrintableArea: PAIR(5760, 2104)
  306. *PrintableOrigin: PAIR(90, 240)
  307. *switch: Resolution
  308. {
  309. *case: Option3
  310. {
  311. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  312. *PrintableArea: PAIR(5756, 2104)
  313. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  314. *PrintableOrigin: PAIR(92, 240)
  315. }
  316. }
  317. *Command: CmdSelect
  318. {
  319. *Order: DOC_SETUP.4
  320. *Cmd: "<1B>(C<0200>s<051B>(c<04000000>s<05>"
  321. }
  322. }
  323. *Option: ENV_10
  324. {
  325. *rcNameID: =ENV_10_DISPLAY
  326. *RotateSize? : TRUE
  327. *PrintableArea: PAIR(5760, 2284)
  328. *PrintableOrigin: PAIR(90, 240)
  329. *switch: Resolution
  330. {
  331. *case: Option3
  332. {
  333. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  334. *PrintableArea: PAIR(5756, 2284)
  335. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  336. *PrintableOrigin: PAIR(92, 240)
  337. }
  338. }
  339. *Command: CmdSelect
  340. {
  341. *Order: DOC_SETUP.4
  342. *Cmd: "<1B>(C<0200CF051B>(c<04000000CF05>"
  343. }
  344. }
  345. *Option: ENV_DL
  346. {
  347. *rcNameID: =ENV_DL_DISPLAY
  348. *RotateSize? : TRUE
  349. *PrintableArea: PAIR(5760, 2428)
  350. *PrintableOrigin: PAIR(90, 240)
  351. *switch: Resolution
  352. {
  353. *case: Option3
  354. {
  355. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  356. *PrintableArea: PAIR(5756, 2428)
  357. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  358. *PrintableOrigin: PAIR(92, 240)
  359. }
  360. }
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.4
  364. *Cmd: "<1B>(C<020017061B>(c<040000001706>"
  365. }
  366. }
  367. *Option: ENV_C5
  368. {
  369. *rcNameID: =ENV_C5_DISPLAY
  370. *RotateSize? : TRUE
  371. *PrintableArea: PAIR(5760, 3904)
  372. *PrintableOrigin: PAIR(90, 240)
  373. *switch: Resolution
  374. {
  375. *case: Option3
  376. {
  377. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  378. *PrintableArea: PAIR(5756, 3904)
  379. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  380. *PrintableOrigin: PAIR(92, 240)
  381. }
  382. }
  383. *Command: CmdSelect
  384. {
  385. *Order: DOC_SETUP.4
  386. *Cmd: "<1B>(C<0200F9081B>(c<04000000F908>"
  387. }
  388. }
  389. *Option: ENV_B5
  390. {
  391. *rcNameID: =ENV_B5_DISPLAY
  392. *RotateSize? : TRUE
  393. *PrintableArea: PAIR(5760, 4300)
  394. *PrintableOrigin: PAIR(90, 240)
  395. *switch: Resolution
  396. {
  397. *case: Option3
  398. {
  399. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  400. *PrintableArea: PAIR(5756, 4300)
  401. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  402. *PrintableOrigin: PAIR(92, 240)
  403. }
  404. }
  405. *Command: CmdSelect
  406. {
  407. *Order: DOC_SETUP.4
  408. *Cmd: "<1B>(C<0200BE091B>(c<04000000BE09>"
  409. }
  410. }
  411. *Option: ENV_MONARCH
  412. {
  413. *rcNameID: =ENV_MONARCH_DISPLAY
  414. *RotateSize? : TRUE
  415. *PrintableArea: PAIR(5310, 2104)
  416. *PrintableOrigin: PAIR(90, 240)
  417. *switch: Resolution
  418. {
  419. *case: Option3
  420. {
  421. *% Warning: the following printable width is adjusted (5310->5308) so it is divisible by the resolution X scale.
  422. *PrintableArea: PAIR(5308, 2104)
  423. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  424. *PrintableOrigin: PAIR(92, 240)
  425. }
  426. }
  427. *Command: CmdSelect
  428. {
  429. *Order: DOC_SETUP.4
  430. *Cmd: "<1B>(C<02008C0A1B>(c<040000008C0A>"
  431. }
  432. }
  433. *Option: CUSTOMSIZE
  434. {
  435. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  436. *MinSize: PAIR(720, 720)
  437. *MaxSize: PAIR(8280, 15840)
  438. *MaxPrintableWidth: 5760
  439. *MinLeftMargin: 90
  440. *CenterPrintable?: FALSE
  441. *TopMargin: 240
  442. *BottomMargin: 450
  443. *Command: CmdSelect
  444. {
  445. *Order: DOC_SETUP.4
  446. *Cmd: "<1B>(C<0200>" %l{(PhysPaperLength / 2) }
  447. }
  448. }
  449. }
  450. *Feature: PrintQuality
  451. {
  452. *rcNameID: =TEXT_QUALITY_DISPLAY
  453. *DefaultOption: Option1
  454. *Option: Option1
  455. {
  456. *rcNameID: 294
  457. }
  458. *Option: Option2
  459. {
  460. *rcNameID: 295
  461. *Command: CmdSelect
  462. {
  463. *Order: DOC_SETUP.2
  464. *Cmd: "<1B>U<00>"
  465. }
  466. }
  467. *Option: Option3
  468. {
  469. *rcNameID: 296
  470. *Command: CmdSelect
  471. {
  472. *Order: DOC_SETUP.2
  473. *Cmd: "<1B>U<01>"
  474. }
  475. }
  476. }
  477. *Feature: Halftone
  478. {
  479. *rcNameID: =HALFTONING_DISPLAY
  480. *DefaultOption: HT_PATSIZE_AUTO
  481. *Option: HT_PATSIZE_AUTO
  482. {
  483. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  484. }
  485. *Option: HT_PATSIZE_SUPERCELL_M
  486. {
  487. *rcNameID: =HT_SUPERCELL_DISPLAY
  488. }
  489. *Option: HT_PATSIZE_6x6_M
  490. {
  491. *rcNameID: =HT_DITHER6X6_DISPLAY
  492. }
  493. *Option: HT_PATSIZE_8x8_M
  494. {
  495. *rcNameID: =HT_DITHER8X8_DISPLAY
  496. }
  497. }
  498. *Command: CmdStartDoc
  499. {
  500. *Order: DOC_SETUP.1
  501. *Cmd: "<1B>@<1B>(G<0100011B>(U<01000A1B>r<00>"
  502. }
  503. *Command: CmdEndJob
  504. {
  505. *Order: JOB_FINISH.1
  506. *Cmd: "<1B>@"
  507. }
  508. *RotateCoordinate?: FALSE
  509. *RotateRaster?: FALSE
  510. *RotateFont?: FALSE
  511. *TextCaps: LIST(TC_RA_ABLE)
  512. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  513. *YMoveAttributes: LIST(FAVOR_LF)
  514. *MaxLineSpacing: 255
  515. *XMoveThreshold: 0
  516. *YMoveThreshold: 0
  517. *XMoveUnit: 360
  518. *YMoveUnit: 360
  519. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 2) } }
  520. *Command: CmdYMoveAbsolute { *Cmd : "<1B>(V<0200>" %l{(DestY / 2) } }
  521. *Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{(LinefeedSpacing / 2) } }
  522. *Command: CmdCR { *Cmd : "<0D>" }
  523. *Command: CmdLF { *Cmd : "<0A>" }
  524. *Command: CmdFF { *Cmd : "<0C>" }
  525. *EjectPageWithFF?: TRUE
  526. *Command: CmdEnableTIFF4 { *Cmd : "<0000>" }
  527. *Command: CmdDisableCompression { *Cmd : "<0000>" }
  528. *OutputDataFormat: H_BYTE
  529. *OptimizeLeftBound?: FALSE
  530. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  531. *CursorYAfterSendBlockData: NO_MOVE
  532. *DefaultCTT: 0