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.

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