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.

334 lines
7.3 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: "vtlsf35k.gpd"
  9. *CodePage: 1252
  10. *ModelName: "VeriTek VLaser SF350"
  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: MANUAL
  63. {
  64. *rcNameID: =MANUAL_FEED_DISPLAY
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.2
  68. *Cmd: "<1B>[1J"
  69. }
  70. }
  71. }
  72. *Feature: Resolution
  73. {
  74. *rcNameID: =RESOLUTION_DISPLAY
  75. *DefaultOption: Option1
  76. *Option: Option1
  77. {
  78. *Name: "300 x 300 " =DOTS_PER_INCH
  79. *DPI: PAIR(300, 300)
  80. *TextDPI: PAIR(300, 300)
  81. *MinStripBlankPixels: 32
  82. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  83. *SpotDiameter: 100
  84. *Command: CmdSendBlockData { *CallbackID: 3 }
  85. *Command: CmdSelect
  86. {
  87. *Order: DOC_SETUP.6
  88. *Cmd: "<1B>}0D<1B>}300R"
  89. }
  90. }
  91. *Option: Option2
  92. {
  93. *Name: "600 x 600 " =DOTS_PER_INCH
  94. *DPI: PAIR(600, 600)
  95. *TextDPI: PAIR(600, 600)
  96. *MinStripBlankPixels: 32
  97. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  98. *SpotDiameter: 100
  99. *Command: CmdSendBlockData { *CallbackID: 3 }
  100. *Command: CmdSelect
  101. {
  102. *Order: DOC_SETUP.6
  103. *Cmd: "<1B>}1D<1B>}600R"
  104. }
  105. }
  106. }
  107. *Feature: PaperSize
  108. {
  109. *rcNameID: =PAPER_SIZE_DISPLAY
  110. *DefaultOption: A4
  111. *Option: A4
  112. {
  113. *rcNameID: =A4_DISPLAY
  114. *PrintableArea: PAIR(9524, 13588)
  115. *PrintableOrigin: PAIR(200, 200)
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.4
  119. *Cmd: "<1B>{0p"
  120. }
  121. }
  122. *Option: A3
  123. {
  124. *rcNameID: =A3_DISPLAY
  125. *PrintableArea: PAIR(13628, 19348)
  126. *PrintableOrigin: PAIR(200, 200)
  127. *Command: CmdSelect
  128. {
  129. *Order: DOC_SETUP.4
  130. *Cmd: "<1B>{5p"
  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: B4
  145. {
  146. *rcNameID: =B4_DISPLAY
  147. *PrintableArea: PAIR(11664, 16796)
  148. *PrintableOrigin: PAIR(240, 200)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.4
  152. *Cmd: "<1B>{2p"
  153. }
  154. }
  155. *Option: LETTER
  156. {
  157. *rcNameID: =LETTER_DISPLAY
  158. *PrintableArea: PAIR(9740, 12800)
  159. *PrintableOrigin: PAIR(200, 260)
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.4
  163. *Cmd: "<1B>{1p"
  164. }
  165. }
  166. *Option: LEGAL
  167. {
  168. *rcNameID: =LEGAL_DISPLAY
  169. *PrintableArea: PAIR(9720, 16000)
  170. *PrintableOrigin: PAIR(240, 200)
  171. *Command: CmdSelect
  172. {
  173. *Order: DOC_SETUP.4
  174. *Cmd: "<1B>{4p"
  175. }
  176. }
  177. *Option: CUSTOMSIZE
  178. {
  179. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  180. *MinSize: PAIR(600, 1200)
  181. *MaxSize: PAIR(14040, 21240)
  182. *MaxPrintableWidth: 14040
  183. *MinLeftMargin: 0
  184. *CenterPrintable?: FALSE
  185. }
  186. }
  187. *Feature: EconoMode
  188. {
  189. *rcNameID: 105
  190. *DefaultOption: EconoModeOff
  191. *FeatureType: PRINTER_PROPERTY
  192. *Option: EconoModeOff
  193. {
  194. *rcNameID: 106
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.5
  198. *Cmd: "<1B>}0t"
  199. }
  200. }
  201. *Option: EconoMode1
  202. {
  203. *rcNameID: 107
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.5
  207. *Cmd: "<1B>}1t"
  208. }
  209. }
  210. *Option: EconoMode2
  211. {
  212. *rcNameID: 108
  213. *Command: CmdSelect
  214. {
  215. *Order: DOC_SETUP.5
  216. *Cmd: "<1B>}2t"
  217. }
  218. }
  219. *Option: EconoMode3
  220. {
  221. *rcNameID: 109
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.5
  225. *Cmd: "<1B>}3t"
  226. }
  227. }
  228. }
  229. *Feature: Halftone
  230. {
  231. *rcNameID: =HALFTONING_DISPLAY
  232. *DefaultOption: HT_PATSIZE_AUTO
  233. *Option: HT_PATSIZE_AUTO
  234. {
  235. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  236. }
  237. *Option: HT_PATSIZE_SUPERCELL_M
  238. {
  239. *rcNameID: =HT_SUPERCELL_DISPLAY
  240. }
  241. *Option: HT_PATSIZE_6x6_M
  242. {
  243. *rcNameID: =HT_DITHER6X6_DISPLAY
  244. }
  245. *Option: HT_PATSIZE_8x8_M
  246. {
  247. *rcNameID: =HT_DITHER8X8_DISPLAY
  248. }
  249. }
  250. *Feature: Memory
  251. {
  252. *rcNameID: =PRINTER_MEMORY_DISPLAY
  253. *DefaultOption: 4MB
  254. *Option: 4MB
  255. {
  256. *rcNameID: 263
  257. *MemoryConfigMB: PAIR(4, 4)
  258. }
  259. *Option: 8MB
  260. {
  261. *rcNameID: 264
  262. *MemoryConfigMB: PAIR(8, 8)
  263. }
  264. *Option: 12MB
  265. {
  266. *rcNameID: 265
  267. *MemoryConfigMB: PAIR(12, 12)
  268. }
  269. *Option: 20MB
  270. {
  271. *rcNameID: 267
  272. *MemoryConfigMB: PAIR(20, 20)
  273. }
  274. *Option: 36MB
  275. {
  276. *rcNameID: 271
  277. *MemoryConfigMB: PAIR(36, 36)
  278. }
  279. }
  280. *Command: CmdStartDoc
  281. {
  282. *Order: DOC_SETUP.1
  283. *Cmd: "<1B>,0E"
  284. }
  285. *Command: CmdStartPage
  286. {
  287. *Order: PAGE_SETUP.1
  288. *CallbackID: 4
  289. }
  290. *Command: CmdEndJob
  291. {
  292. *Order: JOB_FINISH.1
  293. *Cmd: "<1B>}0D<1B>1S"
  294. }
  295. *Command: CmdEndPage
  296. {
  297. *Order: PAGE_FINISH.1
  298. *Cmd: "<030C>"
  299. }
  300. *Command: CmdCopies
  301. {
  302. *Order: DOC_SETUP.8
  303. *Cmd: "<1B>[" %d[1,32767]{NumOfCopies}"N"
  304. }
  305. *MemoryUsage: RASTER
  306. *RotateCoordinate?: FALSE
  307. *RotateRaster?: FALSE
  308. *RotateFont?: FALSE
  309. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  310. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  311. *YMoveThreshold: *
  312. *switch: Resolution
  313. {
  314. *case: Option1
  315. {
  316. *YMoveUnit: 300
  317. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 4 )} }
  318. }
  319. *case: Option2
  320. {
  321. *YMoveUnit: 600
  322. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 2 )} }
  323. }
  324. }
  325. *Command: CmdCR { *CallbackID: 10 }
  326. *Command: CmdLF { *CallbackID: 11 }
  327. *Command: CmdFF { *CallbackID: 12 }
  328. *EjectPageWithFF?: TRUE
  329. *OutputDataFormat: H_BYTE
  330. *OptimizeLeftBound?: FALSE
  331. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  332. *CursorYAfterSendBlockData: AUTO_INCREMENT
  333. *DefaultCTT: 0