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.

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