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.

454 lines
9.9 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: "vtlsf65k.gpd"
  9. *CodePage: 1252
  10. *ModelName: "VeriTek VLaser SF650"
  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: 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: 4MB
  265. *Option: 4MB
  266. {
  267. *rcNameID: 263
  268. *MemoryConfigMB: PAIR(4, 4)
  269. }
  270. *Option: 8MB
  271. {
  272. *rcNameID: 264
  273. *MemoryConfigMB: PAIR(8, 8)
  274. }
  275. *Option: 12MB
  276. {
  277. *rcNameID: 265
  278. *MemoryConfigMB: PAIR(12, 12)
  279. }
  280. *Option: 20MB
  281. {
  282. *rcNameID: 267
  283. *MemoryConfigMB: PAIR(20, 20)
  284. }
  285. *Option: 36MB
  286. {
  287. *rcNameID: 271
  288. *MemoryConfigMB: PAIR(36, 36)
  289. }
  290. }
  291. *Feature: Duplex
  292. {
  293. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  294. *Installable?: TRUE
  295. *rcInstallableFeatureNameID: 120
  296. *DefaultOption: NONE
  297. *Option: NONE
  298. {
  299. *rcNameID: =NONE_DISPLAY
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.8
  303. *Cmd: "<1B>}0;0d"
  304. }
  305. }
  306. *Option: VERTICAL
  307. {
  308. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  309. *Command: CmdSelect
  310. {
  311. *Order: DOC_SETUP.8
  312. *Cmd: "<1B>}1;0d"
  313. }
  314. }
  315. *Option: HORIZONTAL
  316. {
  317. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  318. *Command: CmdSelect
  319. {
  320. *Order: DOC_SETUP.8
  321. *Cmd: "<1B>}1;1d"
  322. }
  323. }
  324. }
  325. *Command: CmdStartDoc
  326. {
  327. *Order: DOC_SETUP.1
  328. *Cmd: "<1B>,0E"
  329. }
  330. *switch: PaperSize
  331. {
  332. *case: A4
  333. {
  334. *switch: Orientation
  335. {
  336. *case: PORTRAIT
  337. {
  338. *Command: CmdStartPage
  339. {
  340. *Order: PAGE_SETUP.1
  341. *CallbackID: 4
  342. }
  343. }
  344. *case: LANDSCAPE_CC270
  345. {
  346. *Command: CmdStartPage
  347. {
  348. *Order: PAGE_SETUP.1
  349. *CallbackID: 7
  350. }
  351. }
  352. }
  353. }
  354. *case: B5
  355. {
  356. *switch: Orientation
  357. {
  358. *case: PORTRAIT
  359. {
  360. *Command: CmdStartPage
  361. {
  362. *Order: PAGE_SETUP.1
  363. *CallbackID: 4
  364. }
  365. }
  366. *case: LANDSCAPE_CC270
  367. {
  368. *Command: CmdStartPage
  369. {
  370. *Order: PAGE_SETUP.1
  371. *CallbackID: 7
  372. }
  373. }
  374. }
  375. }
  376. *case: LETTER
  377. {
  378. *switch: Orientation
  379. {
  380. *case: PORTRAIT
  381. {
  382. *Command: CmdStartPage
  383. {
  384. *Order: PAGE_SETUP.1
  385. *CallbackID: 4
  386. }
  387. }
  388. *case: LANDSCAPE_CC270
  389. {
  390. *Command: CmdStartPage
  391. {
  392. *Order: PAGE_SETUP.1
  393. *CallbackID: 7
  394. }
  395. }
  396. }
  397. }
  398. *default
  399. {
  400. *Command: CmdStartPage
  401. {
  402. *Order: PAGE_SETUP.1
  403. *CallbackID: 4
  404. }
  405. }
  406. }
  407. *Command: CmdEndJob
  408. {
  409. *Order: JOB_FINISH.1
  410. *Cmd: "<1B>}0D<1B>1S"
  411. }
  412. *Command: CmdEndPage
  413. {
  414. *Order: PAGE_FINISH.1
  415. *Cmd: "<030C>"
  416. }
  417. *Command: CmdCopies
  418. {
  419. *Order: DOC_SETUP.9
  420. *Cmd: "<1B>[" %d[1,32767]{NumOfCopies}"N"
  421. }
  422. *MemoryUsage : RASTER
  423. *RotateCoordinate?: FALSE
  424. *RotateRaster?: FALSE
  425. *RotateFont?: FALSE
  426. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  427. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  428. *YMoveThreshold: *
  429. *switch: Resolution
  430. {
  431. *case: Option1
  432. {
  433. *YMoveUnit: 300
  434. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 4 )} }
  435. }
  436. *case: Option2
  437. {
  438. *YMoveUnit: 600
  439. *Command: CmdYMoveRelDown { *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 2 )} }
  440. }
  441. }
  442. *Command: CmdCR { *CallbackID: 10 }
  443. *Command: CmdLF { *CallbackID: 11 }
  444. *Command: CmdFF { *CallbackID: 12 }
  445. *EjectPageWithFF?: TRUE
  446. *OutputDataFormat: H_BYTE
  447. *OptimizeLeftBound?: FALSE
  448. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  449. *CursorYAfterSendBlockData: AUTO_INCREMENT
  450. *DefaultCTT: 0