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.

347 lines
7.5 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "vtlsf55k.gpd"
  9. *CodePage: 1252
  10. *ModelName: "VeriTek VLaser SF550"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "QPLKRES.DLL"
  13. *PrinterType: PAGE
  14. *MaxCopies: 32767
  15. *rcNotInstalledOptionNameID: 122
  16. *rcInstalledOptionNameID: 121
  17. *PrintRate: 8
  18. *PrintRateUnit: PPM
  19. *Feature: Orientation
  20. {
  21. *rcNameID: =ORIENTATION_DISPLAY
  22. *DefaultOption: PORTRAIT
  23. *Option: PORTRAIT
  24. {
  25. *rcNameID: =PORTRAIT_DISPLAY
  26. *Command: CmdSelect
  27. {
  28. *Order: DOC_SETUP.7
  29. *Cmd: "<1B>[0D"
  30. }
  31. }
  32. *Option: LANDSCAPE_CC270
  33. {
  34. *rcNameID: =LANDSCAPE_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.7
  38. *Cmd: "<1B>[0D"
  39. }
  40. }
  41. }
  42. *Feature: InputBin
  43. {
  44. *rcNameID: =PAPER_SOURCE_DISPLAY
  45. *DefaultOption: AUTO
  46. *Option: AUTO
  47. {
  48. *rcNameID: =AUTO_DISPLAY
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.2
  52. *Cmd: "<1B>[0J"
  53. }
  54. }
  55. *Option: UPPER
  56. {
  57. *rcNameID: =UPPER_TRAY_DISPLAY
  58. *Command: CmdSelect
  59. {
  60. *Order: DOC_SETUP.2
  61. *Cmd: "<1B>[2J"
  62. }
  63. }
  64. *Option: LOWER
  65. {
  66. *rcNameID: =LOWER_TRAY_DISPLAY
  67. *Command: CmdSelect
  68. {
  69. *Order: DOC_SETUP.2
  70. *Cmd: "<1B>[3J"
  71. }
  72. }
  73. *Option: MANUAL
  74. {
  75. *rcNameID: =MANUAL_FEED_DISPLAY
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.2
  79. *Cmd: "<1B>[1J"
  80. }
  81. }
  82. }
  83. *Feature: Resolution
  84. {
  85. *rcNameID: =RESOLUTION_DISPLAY
  86. *DefaultOption: Option1
  87. *Option: Option1
  88. {
  89. *Name: "300 x 300 " =DOTS_PER_INCH
  90. *DPI: PAIR(300, 300)
  91. *TextDPI: PAIR(300, 300)
  92. *MinStripBlankPixels: 32
  93. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  94. *SpotDiameter: 100
  95. *Command: CmdSendBlockData { *CallbackID: 3 }
  96. *Command: CmdSelect
  97. {
  98. *Order: DOC_SETUP.6
  99. *Cmd: "<1B>}0D<1B>}300R"
  100. }
  101. }
  102. *Option: Option2
  103. {
  104. *Name: "600 x 600 " =DOTS_PER_INCH
  105. *DPI: PAIR(600, 600)
  106. *TextDPI: PAIR(600, 600)
  107. *MinStripBlankPixels: 32
  108. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  109. *SpotDiameter: 100
  110. *Command: CmdSendBlockData { *CallbackID: 3 }
  111. *Command: CmdSelect
  112. {
  113. *Order: DOC_SETUP.6
  114. *Cmd: "<1B>}1D<1B>}600R"
  115. }
  116. }
  117. }
  118. *Feature: PaperSize
  119. {
  120. *rcNameID: =PAPER_SIZE_DISPLAY
  121. *DefaultOption: A4
  122. *Option: A4
  123. {
  124. *rcNameID: =A4_DISPLAY
  125. *PrintableArea: PAIR(9524, 13588)
  126. *PrintableOrigin: PAIR(200, 200)
  127. *Command: CmdSelect
  128. {
  129. *Order: DOC_SETUP.4
  130. *Cmd: "<1B>{0p"
  131. }
  132. }
  133. *Option: B5
  134. {
  135. *rcNameID: =B5_DISPLAY
  136. *PrintableArea: PAIR(8204, 11744)
  137. *PrintableOrigin: PAIR(200, 200)
  138. *Command: CmdSelect
  139. {
  140. *Order: DOC_SETUP.4
  141. *Cmd: "<1B>{3p"
  142. }
  143. }
  144. *Option: LETTER
  145. {
  146. *rcNameID: =LETTER_DISPLAY
  147. *PrintableArea: PAIR(9740, 12800)
  148. *PrintableOrigin: PAIR(200, 260)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.4
  152. *Cmd: "<1B>{1p"
  153. }
  154. }
  155. *Option: CUSTOMSIZE
  156. {
  157. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  158. *MinSize: PAIR(600, 1200)
  159. *MaxSize: PAIR(10200, 14028)
  160. *MaxPrintableWidth: 10200
  161. *MinLeftMargin: 0
  162. *CenterPrintable?: FALSE
  163. }
  164. }
  165. *Feature: EconoMode
  166. {
  167. *rcNameID: 105
  168. *DefaultOption: EconoModeOff
  169. *FeatureType: PRINTER_PROPERTY
  170. *Option: EconoModeOff
  171. {
  172. *rcNameID: 106
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.5
  176. *Cmd: "<1B>}0t"
  177. }
  178. }
  179. *Option: EconoMode1
  180. {
  181. *rcNameID: 107
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.5
  185. *Cmd: "<1B>}1t"
  186. }
  187. }
  188. *Option: EconoMode2
  189. {
  190. *rcNameID: 108
  191. *Command: CmdSelect
  192. {
  193. *Order: DOC_SETUP.5
  194. *Cmd: "<1B>}2t"
  195. }
  196. }
  197. *Option: EconoMode3
  198. {
  199. *rcNameID: 109
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.5
  203. *Cmd: "<1B>}3t"
  204. }
  205. }
  206. }
  207. *Feature: Halftone
  208. {
  209. *rcNameID: =HALFTONING_DISPLAY
  210. *DefaultOption: HT_PATSIZE_AUTO
  211. *Option: HT_PATSIZE_AUTO
  212. {
  213. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  214. }
  215. *Option: HT_PATSIZE_SUPERCELL_M
  216. {
  217. *rcNameID: =HT_SUPERCELL_DISPLAY
  218. }
  219. *Option: HT_PATSIZE_6x6_M
  220. {
  221. *rcNameID: =HT_DITHER6X6_DISPLAY
  222. }
  223. *Option: HT_PATSIZE_8x8_M
  224. {
  225. *rcNameID: =HT_DITHER8X8_DISPLAY
  226. }
  227. }
  228. *Command: CmdStartDoc
  229. {
  230. *Order: DOC_SETUP.1
  231. *Cmd: "<1B>,0E"
  232. }
  233. *Command: CmdStartPage
  234. {
  235. *Order: PAGE_SETUP.1
  236. *CallbackID: 4
  237. }
  238. *Command: CmdEndJob
  239. {
  240. *Order: JOB_FINISH.1
  241. *Cmd: "<1B>}0D<1B>1S"
  242. }
  243. *Command: CmdEndPage
  244. {
  245. *Order: PAGE_FINISH.1
  246. *Cmd: "<030C>"
  247. }
  248. *Command: CmdCopies
  249. {
  250. *Order: DOC_SETUP.9
  251. *Cmd: "<1B>[" %d[1,32767]{NumOfCopies}"N"
  252. }
  253. *Feature: Memory
  254. {
  255. *rcNameID: =PRINTER_MEMORY_DISPLAY
  256. *DefaultOption: 4MB
  257. *Option: 4MB
  258. {
  259. *rcNameID: 263
  260. *MemoryConfigMB: PAIR(4, 4)
  261. }
  262. *Option: 8MB
  263. {
  264. *rcNameID: 264
  265. *MemoryConfigMB: PAIR(8, 8)
  266. }
  267. *Option: 12MB
  268. {
  269. *rcNameID: 265
  270. *MemoryConfigMB: PAIR(12, 12)
  271. }
  272. *Option: 20MB
  273. {
  274. *rcNameID: 267
  275. *MemoryConfigMB: PAIR(20, 20)
  276. }
  277. *Option: 36MB
  278. {
  279. *rcNameID: 271
  280. *MemoryConfigMB: PAIR(36, 36)
  281. }
  282. }
  283. *Feature: Duplex
  284. {
  285. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  286. *Installable?: TRUE
  287. *rcInstallableFeatureNameID: 120
  288. *DefaultOption: NONE
  289. *Option: NONE
  290. {
  291. *rcNameID: =NONE_DISPLAY
  292. *Command: CmdSelect
  293. {
  294. *Order: DOC_SETUP.8
  295. *Cmd: "<1B>}0;0d"
  296. }
  297. }
  298. *Option: VERTICAL
  299. {
  300. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  301. *Command: CmdSelect
  302. {
  303. *Order: DOC_SETUP.8
  304. *Cmd: "<1B>}1;0d"
  305. }
  306. }
  307. *Option: HORIZONTAL
  308. {
  309. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.8
  313. *Cmd: "<1B>}1;1d"
  314. }
  315. }
  316. }
  317. *MemoryUsage : RASTER
  318. *RotateCoordinate?: FALSE
  319. *RotateRaster?: FALSE
  320. *RotateFont?: FALSE
  321. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  322. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  323. *YMoveThreshold: *
  324. *switch: Resolution
  325. {
  326. *case: Option1
  327. {
  328. *YMoveUnit: 300
  329. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 4 )} }
  330. }
  331. *case: Option2
  332. {
  333. *YMoveUnit: 600
  334. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 2 )} }
  335. }
  336. }
  337. *Command: CmdCR { *CallbackID: 10 }
  338. *Command: CmdLF { *CallbackID: 11 }
  339. *Command: CmdFF { *CallbackID: 12 }
  340. *EjectPageWithFF?: TRUE
  341. *OutputDataFormat: H_BYTE
  342. *OptimizeLeftBound?: FALSE
  343. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  344. *CursorYAfterSendBlockData: AUTO_INCREMENT
  345. *DefaultCTT: 0