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.

429 lines
9.2 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: "vtlsf50k.gpd"
  9. *CodePage: 1252
  10. *ModelName: "VeriTek VLaser SF5000"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "QPLKRES.DLL"
  13. *PrinterType: PAGE
  14. *MaxCopies: 32767
  15. *rcNotInstalledOptionNameID: 122
  16. *rcInstalledOptionNameID: 121
  17. *PrintRate: 16
  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: A3
  134. {
  135. *rcNameID: =A3_DISPLAY
  136. *PrintableArea: PAIR(13628, 19348)
  137. *PrintableOrigin: PAIR(200, 200)
  138. *Command: CmdSelect
  139. {
  140. *Order: DOC_SETUP.4
  141. *Cmd: "<1B>{5p"
  142. }
  143. }
  144. *Option: B5
  145. {
  146. *rcNameID: =B5_DISPLAY
  147. *PrintableArea: PAIR(8204, 11744)
  148. *PrintableOrigin: PAIR(200, 200)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.4
  152. *Cmd: "<1B>{3p"
  153. }
  154. }
  155. *Option: B4
  156. {
  157. *rcNameID: =B4_DISPLAY
  158. *PrintableArea: PAIR(11664, 16796)
  159. *PrintableOrigin: PAIR(240, 200)
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.4
  163. *Cmd: "<1B>{2p"
  164. }
  165. }
  166. *Option: LETTER
  167. {
  168. *rcNameID: =LETTER_DISPLAY
  169. *PrintableArea: PAIR(9740, 12800)
  170. *PrintableOrigin: PAIR(200, 260)
  171. *Command: CmdSelect
  172. {
  173. *Order: DOC_SETUP.4
  174. *Cmd: "<1B>{1p"
  175. }
  176. }
  177. *Option: LEGAL
  178. {
  179. *rcNameID: =LEGAL_DISPLAY
  180. *PrintableArea: PAIR(9720, 16000)
  181. *PrintableOrigin: PAIR(240, 200)
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.4
  185. *Cmd: "<1B>{4p"
  186. }
  187. }
  188. *Option: CUSTOMSIZE
  189. {
  190. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  191. *MinSize: PAIR(600, 1200)
  192. *MaxSize: PAIR(14040, 21240)
  193. *MaxPrintableWidth: 14040
  194. *MinLeftMargin: 0
  195. *CenterPrintable?: FALSE
  196. }
  197. }
  198. *Feature: EconoMode
  199. {
  200. *rcNameID: 105
  201. *DefaultOption: EconoModeOff
  202. *FeatureType: PRINTER_PROPERTY
  203. *Option: EconoModeOff
  204. {
  205. *rcNameID: 106
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.5
  209. *Cmd: "<1B>}0t"
  210. }
  211. }
  212. *Option: EconoMode1
  213. {
  214. *rcNameID: 107
  215. *Command: CmdSelect
  216. {
  217. *Order: DOC_SETUP.5
  218. *Cmd: "<1B>}1t"
  219. }
  220. }
  221. *Option: EconoMode2
  222. {
  223. *rcNameID: 108
  224. *Command: CmdSelect
  225. {
  226. *Order: DOC_SETUP.5
  227. *Cmd: "<1B>}2t"
  228. }
  229. }
  230. *Option: EconoMode3
  231. {
  232. *rcNameID: 109
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.5
  236. *Cmd: "<1B>}3t"
  237. }
  238. }
  239. }
  240. *Feature: Halftone
  241. {
  242. *rcNameID: =HALFTONING_DISPLAY
  243. *DefaultOption: HT_PATSIZE_AUTO
  244. *Option: HT_PATSIZE_AUTO
  245. {
  246. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  247. }
  248. *Option: HT_PATSIZE_SUPERCELL_M
  249. {
  250. *rcNameID: =HT_SUPERCELL_DISPLAY
  251. }
  252. *Option: HT_PATSIZE_6x6_M
  253. {
  254. *rcNameID: =HT_DITHER6X6_DISPLAY
  255. }
  256. *Option: HT_PATSIZE_8x8_M
  257. {
  258. *rcNameID: =HT_DITHER8X8_DISPLAY
  259. }
  260. }
  261. *Feature: Memory
  262. {
  263. *rcNameID: =PRINTER_MEMORY_DISPLAY
  264. *DefaultOption: 12MB
  265. *Option: 12MB
  266. {
  267. *rcNameID: 265
  268. *MemoryConfigMB: PAIR(12, 12)
  269. }
  270. *Option: 16MB
  271. {
  272. *rcNameID: 266
  273. *MemoryConfigMB: PAIR(16, 16)
  274. }
  275. *Option: 20MB
  276. {
  277. *rcNameID: 267
  278. *MemoryConfigMB: PAIR(20, 20)
  279. }
  280. *Option: 24MB
  281. {
  282. *rcNameID: 268
  283. *MemoryConfigMB: PAIR(24, 24)
  284. }
  285. *Option: 28MB
  286. {
  287. *rcNameID: 269
  288. *MemoryConfigMB: PAIR(28, 28)
  289. }
  290. *Option: 32MB
  291. {
  292. *rcNameID: 270
  293. *MemoryConfigMB: PAIR(32, 32)
  294. }
  295. *Option: 36MB
  296. {
  297. *rcNameID: 271
  298. *MemoryConfigMB: PAIR(36, 36)
  299. }
  300. *Option: 40MB
  301. {
  302. *rcNameID: 272
  303. *MemoryConfigMB: PAIR(40, 40)
  304. }
  305. *Option: 44MB
  306. {
  307. *rcNameID: 273
  308. *MemoryConfigMB: PAIR(44, 44)
  309. }
  310. *Option: 48MB
  311. {
  312. *rcNameID: 274
  313. *MemoryConfigMB: PAIR(48, 48)
  314. }
  315. *Option: 52MB
  316. {
  317. *rcNameID: 275
  318. *MemoryConfigMB: PAIR(52, 52)
  319. }
  320. *Option: 56MB
  321. {
  322. *rcNameID: 276
  323. *MemoryConfigMB: PAIR(56, 56)
  324. }
  325. *Option: 60MB
  326. {
  327. *rcNameID: 277
  328. *MemoryConfigMB: PAIR(60, 60)
  329. }
  330. *Option: 64MB
  331. {
  332. *rcNameID: 278
  333. *MemoryConfigMB: PAIR(64, 64)
  334. }
  335. *Option: 68MB
  336. {
  337. *rcNameID: 279
  338. *MemoryConfigMB: PAIR(68, 68)
  339. }
  340. }
  341. *Feature: Duplex
  342. {
  343. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  344. *Installable?: TRUE
  345. *rcInstallableFeatureNameID: 120
  346. *DefaultOption: NONE
  347. *Option: NONE
  348. {
  349. *rcNameID: =NONE_DISPLAY
  350. *Command: CmdSelect
  351. {
  352. *Order: DOC_SETUP.8
  353. *Cmd: "<1B>}0;0d"
  354. }
  355. }
  356. *Option: VERTICAL
  357. {
  358. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.8
  362. *Cmd: "<1B>}1;0d"
  363. }
  364. }
  365. *Option: HORIZONTAL
  366. {
  367. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.8
  371. *Cmd: "<1B>}1;1d"
  372. }
  373. }
  374. }
  375. *Command: CmdStartDoc
  376. {
  377. *Order: DOC_SETUP.1
  378. *Cmd: "<1B>,0E"
  379. }
  380. *Command: CmdStartPage
  381. {
  382. *Order: PAGE_SETUP.1
  383. *CallbackID: 4
  384. }
  385. *Command: CmdEndJob
  386. {
  387. *Order: JOB_FINISH.1
  388. *Cmd: "<1B>}0D<1B>1S"
  389. }
  390. *Command: CmdEndPage
  391. {
  392. *Order: PAGE_FINISH.1
  393. *Cmd: "<030C>"
  394. }
  395. *Command: CmdCopies
  396. {
  397. *Order: DOC_SETUP.9
  398. *Cmd: "<1B>[" %d[1,32767]{NumOfCopies}"N"
  399. }
  400. *MemoryUsage : RASTER
  401. *RotateCoordinate?: FALSE
  402. *RotateRaster?: FALSE
  403. *RotateFont?: FALSE
  404. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  405. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  406. *YMoveThreshold: *
  407. *switch: Resolution
  408. {
  409. *case: Option1
  410. {
  411. *YMoveUnit: 300
  412. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 4 )} }
  413. }
  414. *case: Option2
  415. {
  416. *YMoveUnit: 600
  417. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 2 )} }
  418. }
  419. }
  420. *Command: CmdCR { *CallbackID: 10 }
  421. *Command: CmdLF { *CallbackID: 11 }
  422. *Command: CmdFF { *CallbackID: 12 }
  423. *EjectPageWithFF?: TRUE
  424. *OutputDataFormat: H_BYTE
  425. *OptimizeLeftBound?: FALSE
  426. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  427. *CursorYAfterSendBlockData: AUTO_INCREMENT
  428. *DefaultCTT: 0