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.

364 lines
8.8 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "LX1020CM.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Lexmark 1020 Color Jetprinter (Mono)"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "lmikjres.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: AUTO
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.5
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. *Option: ENVMANUAL
  40. {
  41. *rcNameID: =ENV_MANUAL_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.5
  45. *Cmd: "<1B>&l3H"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "300 x 300 " =DOTS_PER_INCH
  56. *DPI: PAIR(300, 300)
  57. *TextDPI: PAIR(300, 300)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 100
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.6
  66. *Cmd: "<1B>*t300R"
  67. }
  68. }
  69. }
  70. *Feature: PaperSize
  71. {
  72. *rcNameID: =PAPER_SIZE_DISPLAY
  73. *DefaultOption: LETTER
  74. *Option: LETTER
  75. {
  76. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  77. *PrintableArea: PAIR(2400, 3074)
  78. *PrintableOrigin: PAIR(75, 38)
  79. *CursorOrigin: PAIR(0, 0)
  80. *Command: CmdSelect
  81. {
  82. *Order: DOC_SETUP.3
  83. *Cmd: "<1B>&l2A"
  84. }
  85. }
  86. *Option: LEGAL
  87. {
  88. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  89. *PrintableArea: PAIR(2400, 3974)
  90. *PrintableOrigin: PAIR(75, 38)
  91. *CursorOrigin: PAIR(0, 0)
  92. *Command: CmdSelect
  93. {
  94. *Order: DOC_SETUP.3
  95. *Cmd: "<1B>&l3A"
  96. }
  97. }
  98. *Option: A4
  99. {
  100. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  101. *PrintableArea: PAIR(2369, 3281)
  102. *PrintableOrigin: PAIR(75, 38)
  103. *CursorOrigin: PAIR(0, 0)
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.3
  107. *Cmd: "<1B>&l26A"
  108. }
  109. }
  110. *Option: A5
  111. {
  112. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  113. *PrintableArea: PAIR(1599, 2256)
  114. *PrintableOrigin: PAIR(75, 75)
  115. *CursorOrigin: PAIR(0, 0)
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.3
  119. *Cmd: "<1B>&l13A"
  120. }
  121. }
  122. *Option: B5
  123. {
  124. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  125. *PrintableArea: PAIR(2001, 2811)
  126. *PrintableOrigin: PAIR(75, 75)
  127. *CursorOrigin: PAIR(0, 0)
  128. *Command: CmdSelect
  129. {
  130. *Order: DOC_SETUP.3
  131. *Cmd: "<1B>&l12A"
  132. }
  133. }
  134. *Option: EXECUTIVE
  135. {
  136. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  137. *PrintableArea: PAIR(2025, 2924)
  138. *PrintableOrigin: PAIR(75, 38)
  139. *CursorOrigin: PAIR(0, 0)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.3
  143. *Cmd: "<1B>&l1A"
  144. }
  145. }
  146. *Option: ENV_MONARCH
  147. {
  148. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149. *PrintableArea: PAIR(1014, 2100)
  150. *PrintableOrigin: PAIR(75, 75)
  151. *CursorOrigin: PAIR(0, 0)
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.3
  155. *Cmd: "<1B>&l27A"
  156. }
  157. }
  158. *Option: ENV_10
  159. {
  160. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  161. *PrintableArea: PAIR(1089, 2700)
  162. *PrintableOrigin: PAIR(75, 75)
  163. *CursorOrigin: PAIR(0, 0)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.3
  167. *Cmd: "<1B>&l27A"
  168. }
  169. }
  170. *Option: ENV_9
  171. {
  172. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  173. *PrintableArea: PAIR(1014, 2514)
  174. *PrintableOrigin: PAIR(75, 75)
  175. *CursorOrigin: PAIR(0, 0)
  176. *Command: CmdSelect
  177. {
  178. *Order: DOC_SETUP.3
  179. *Cmd: "<1B>&l27A"
  180. }
  181. }
  182. *Option: ENV_DL
  183. {
  184. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  185. *PrintableArea: PAIR(1149, 2498)
  186. *PrintableOrigin: PAIR(75, 30)
  187. *CursorOrigin: PAIR(0, 0)
  188. *Command: CmdSelect
  189. {
  190. *Order: DOC_SETUP.3
  191. *Cmd: "<1B>&l6d0e26P"
  192. }
  193. }
  194. *Option: ENV_C5
  195. {
  196. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  197. *PrintableArea: PAIR(1789, 2581)
  198. *PrintableOrigin: PAIR(75, 50)
  199. *CursorOrigin: PAIR(0, 0)
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.3
  203. *Cmd: "<1B>&l8d0e51P"
  204. }
  205. }
  206. *Option: CUSTOMSIZE
  207. {
  208. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  209. *MinSize: PAIR(300, 300)
  210. *MaxSize: PAIR(2550, 3900)
  211. *MaxPrintableWidth: 2400
  212. *MinLeftMargin: 75
  213. *CenterPrintable?: FALSE
  214. *Command: CmdSelect
  215. {
  216. *Order: DOC_SETUP.3
  217. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  218. }
  219. }
  220. }
  221. *Feature: MediaType
  222. {
  223. *rcNameID: =MEDIA_TYPE_DISPLAY
  224. *DefaultOption: STANDARD
  225. *Option: STANDARD
  226. {
  227. *rcNameID: =PLAIN_PAPER_DISPLAY
  228. *Command: CmdSelect
  229. {
  230. *Order: PAGE_SETUP.8
  231. *Cmd: "<1B>&b10T"
  232. }
  233. }
  234. *Option: TRANSPARENCY
  235. {
  236. *rcNameID: =TRANSPARENCY_DISPLAY
  237. *Command: CmdSelect
  238. {
  239. *Order: PAGE_SETUP.8
  240. *Cmd: "<1B>&k3W<1B>*o2Q"
  241. }
  242. }
  243. *Option: GLOSSY
  244. {
  245. *rcNameID: =GLOSSY_PAPER_DISPLAY
  246. *Command: CmdSelect
  247. {
  248. *Order: PAGE_SETUP.8
  249. *Cmd: "<1B>&k3W<1B>*o2Q"
  250. }
  251. }
  252. }
  253. *Feature: PrintQuality
  254. {
  255. *rcNameID: =TEXT_QUALITY_DISPLAY
  256. *DefaultOption: Option1
  257. *Option: Option1
  258. {
  259. *rcNameID: 259
  260. *Command: CmdSelect
  261. {
  262. *Order: DOC_SETUP.4
  263. *Cmd: "<1B>(s2Q<1B>*r2Q"
  264. }
  265. }
  266. *Option: Option2
  267. {
  268. *rcNameID: 260
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.4
  272. *Cmd: "<1B>(s0Q<1B>*r0Q"
  273. }
  274. }
  275. *Option: Option3
  276. {
  277. *rcNameID: 261
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.4
  281. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  282. }
  283. }
  284. }
  285. *Feature: Halftone
  286. {
  287. *rcNameID: =HALFTONING_DISPLAY
  288. *DefaultOption: HT_PATSIZE_AUTO
  289. *Option: HT_PATSIZE_AUTO
  290. {
  291. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  292. }
  293. *Ifdef: WINNT_50
  294. *Option: HT_PATSIZE_SUPERCELL_M
  295. {
  296. *rcNameID: =HT_SUPERCELL_DISPLAY
  297. }
  298. *Endif:
  299. *Option: HT_PATSIZE_6x6_M
  300. {
  301. *rcNameID: =HT_DITHER6X6_DISPLAY
  302. }
  303. *Option: HT_PATSIZE_8x8_M
  304. {
  305. *rcNameID: =HT_DITHER8X8_DISPLAY
  306. }
  307. }
  308. *Command: CmdStartDoc
  309. {
  310. *Order: DOC_SETUP.1
  311. *Cmd: "<1B>E<1B>&l0O<1B>&l0L<1B>*r1U"
  312. }
  313. *Command: CmdStartPage
  314. {
  315. *Order: PAGE_SETUP.1
  316. *Cmd: "<0D>"
  317. }
  318. *Command: CmdEndJob
  319. {
  320. *Order: JOB_FINISH.1
  321. *Cmd: "<1B>E"
  322. }
  323. *Command: CmdEndPage
  324. {
  325. *Order: PAGE_FINISH.1
  326. *Cmd: "<0D>"
  327. }
  328. *RotateCoordinate?: FALSE
  329. *RotateRaster?: FALSE
  330. *RotateFont?: FALSE
  331. *switch: Orientation
  332. {
  333. *case: PORTRAIT
  334. {
  335. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  336. }
  337. *case: LANDSCAPE_CC270
  338. {
  339. *TextCaps: LIST()
  340. }
  341. }
  342. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  343. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  344. *XMoveThreshold: 0
  345. *YMoveThreshold: *
  346. *XMoveUnit: 300
  347. *YMoveUnit: 300
  348. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  349. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  350. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  351. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  352. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  353. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  354. *Command: CmdCR { *Cmd : "<0D>" }
  355. *Command: CmdLF { *Cmd : "<0A>" }
  356. *Command: CmdFF { *Cmd : "<0C>" }
  357. *EjectPageWithFF?: TRUE
  358. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  359. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  360. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  361. *OutputDataFormat: H_BYTE
  362. *OptimizeLeftBound?: FALSE
  363. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  364. *CursorYAfterSendBlockData: AUTO_INCREMENT
  365. *LookAheadRegion: 180