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.

456 lines
10 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: "vtlc2kk.gpd"
  9. *CodePage: 1252
  10. *ModelName: "VeriTek VLaser Color2000"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "QPLKRES.DLL"
  13. *PrinterType: SERIAL
  14. *MaxCopies: 32767
  15. *PrintRate: 12
  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.8
  27. *Cmd: "<1B>[0D"
  28. }
  29. }
  30. *Option: LANDSCAPE_CC270
  31. {
  32. *rcNameID: =LANDSCAPE_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.8
  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: MediaType
  82. {
  83. *Name: "Media Type"
  84. *DefaultOption: STANDARD
  85. *Option: STANDARD
  86. {
  87. *rcNameID: 100
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.3
  91. *Cmd: "<1B>^O0"
  92. }
  93. }
  94. *Option: TRANSPARENCY
  95. {
  96. *rcNameID: 101
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.3
  100. *Cmd: "<1B>^O1"
  101. }
  102. }
  103. }
  104. *Feature: Resolution
  105. {
  106. *rcNameID: =RESOLUTION_DISPLAY
  107. *DefaultOption: Option1
  108. *Option: Option1
  109. {
  110. *Name: "300 x 300 " =DOTS_PER_INCH
  111. *DPI: PAIR(300, 300)
  112. *TextDPI: PAIR(300, 300)
  113. *MinStripBlankPixels: 32
  114. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  115. *SpotDiameter: 100
  116. *Command: CmdSendBlockData { *CallbackID: 3 }
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.7
  120. *Cmd: "<1B>}0D<1B>}300R"
  121. }
  122. }
  123. }
  124. *Feature: PaperSize
  125. {
  126. *rcNameID: =PAPER_SIZE_DISPLAY
  127. *DefaultOption: A4
  128. *Option: A4
  129. {
  130. *rcNameID: =A4_DISPLAY
  131. *PrintableArea: PAIR(4762, 6714)
  132. *PrintableOrigin: PAIR(100, 100)
  133. *Command: CmdSelect
  134. {
  135. *Order: DOC_SETUP.4
  136. *Cmd: "<1B>{0p"
  137. }
  138. }
  139. *Option: A3
  140. {
  141. *rcNameID: =A3_DISPLAY
  142. *PrintableArea: PAIR(6714, 9524)
  143. *PrintableOrigin: PAIR(100, 100)
  144. *Command: CmdSelect
  145. {
  146. *Order: DOC_SETUP.4
  147. *Cmd: "<1B>{5p"
  148. }
  149. }
  150. *Option: B5
  151. {
  152. *rcNameID: =B5_DISPLAY
  153. *PrintableArea: PAIR(4002, 5772)
  154. *PrintableOrigin: PAIR(100, 100)
  155. *Command: CmdSelect
  156. {
  157. *Order: DOC_SETUP.4
  158. *Cmd: "<1B>{3p"
  159. }
  160. }
  161. *Option: B4
  162. {
  163. *rcNameID: =B4_DISPLAY
  164. *PrintableArea: PAIR(5722, 8298)
  165. *PrintableOrigin: PAIR(100, 100)
  166. *Command: CmdSelect
  167. {
  168. *Order: DOC_SETUP.4
  169. *Cmd: "<1B>{2p"
  170. }
  171. }
  172. *Option: LETTER
  173. {
  174. *rcNameID: =LETTER_DISPLAY
  175. *PrintableArea: PAIR(4750, 6300)
  176. *PrintableOrigin: PAIR(100, 100)
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.4
  180. *Cmd: "<1B>{1p"
  181. }
  182. }
  183. *Option: LEGAL
  184. {
  185. *rcNameID: =LEGAL_DISPLAY
  186. *PrintableArea: PAIR(4750, 7900)
  187. *PrintableOrigin: PAIR(100, 100)
  188. *Command: CmdSelect
  189. {
  190. *Order: DOC_SETUP.4
  191. *Cmd: "<1B>{4p"
  192. }
  193. }
  194. *Option: CUSTOMSIZE
  195. {
  196. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  197. *MinSize: PAIR(300, 600)
  198. *MaxSize: PAIR(7020, 10620)
  199. *MaxPrintableWidth: 7020
  200. *MinLeftMargin: 0
  201. *CenterPrintable?: FALSE
  202. }
  203. }
  204. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.LETTER)
  205. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.LETTER)
  206. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.LETTER)
  207. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.LEGAL)
  208. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.LEGAL)
  209. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.LEGAL)
  210. *Feature: EconoMode
  211. {
  212. *rcNameID: 105
  213. *DefaultOption: EconoModeOff
  214. *FeatureType: PRINTER_PROPERTY
  215. *Option: EconoModeOff
  216. {
  217. *rcNameID: 106
  218. *Command: CmdSelect
  219. {
  220. *Order: DOC_SETUP.5
  221. *Cmd: "<1B>}0t"
  222. }
  223. }
  224. *Option: EconoMode1
  225. {
  226. *rcNameID: 107
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.5
  230. *Cmd: "<1B>}1t"
  231. }
  232. }
  233. *Option: EconoMode2
  234. {
  235. *rcNameID: 108
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.5
  239. *Cmd: "<1B>}2t"
  240. }
  241. }
  242. *Option: EconoMode3
  243. {
  244. *rcNameID: 109
  245. *Command: CmdSelect
  246. {
  247. *Order: DOC_SETUP.5
  248. *Cmd: "<1B>}3t"
  249. }
  250. }
  251. }
  252. *Feature: ColorMode
  253. {
  254. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  255. *DefaultOption: Color
  256. *Option: Mono
  257. {
  258. *rcNameID: =MONO_DISPLAY
  259. *DevNumOfPlanes: 1
  260. *DevBPP: 1
  261. *Color? : FALSE
  262. *Command: CmdSelect
  263. {
  264. *Order: DOC_SETUP.6
  265. *Cmd: "<1B>^P0"
  266. }
  267. }
  268. *Option: Color
  269. {
  270. *rcNameID: =COLOR_DISPLAY
  271. *DevNumOfPlanes: 4
  272. *DevBPP: 1
  273. *DrvBPP: 4
  274. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  275. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  276. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW, BLACK)
  277. *Command: CmdSendCyanData { *CallbackID: 100 }
  278. *Command: CmdSendMagentaData { *CallbackID: 101 }
  279. *Command: CmdSendYellowData { *CallbackID: 102 }
  280. *Command: CmdSendBlackData { *CallbackID: 103 }
  281. *Command: CmdSelect
  282. {
  283. *Order: DOC_SETUP.6
  284. *Cmd: "<1B>^P3"
  285. }
  286. }
  287. }
  288. *Feature: Halftone
  289. {
  290. *rcNameID: =HALFTONING_DISPLAY
  291. *DefaultOption: HT_PATSIZE_AUTO
  292. *Option: HT_PATSIZE_AUTO
  293. {
  294. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  295. }
  296. *Option: HT_PATSIZE_SUPERCELL_M
  297. {
  298. *rcNameID: =HT_SUPERCELL_DISPLAY
  299. }
  300. *Option: HT_PATSIZE_6x6_M
  301. {
  302. *rcNameID: =HT_DITHER6X6_DISPLAY
  303. }
  304. *Option: HT_PATSIZE_8x8_M
  305. {
  306. *rcNameID: =HT_DITHER8X8_DISPLAY
  307. }
  308. }
  309. *Feature: Memory
  310. {
  311. *rcNameID: =PRINTER_MEMORY_DISPLAY
  312. *DefaultOption: 12MB
  313. *Option: 12MB
  314. {
  315. *rcNameID: 265
  316. *MemoryConfigMB: PAIR(12, 12)
  317. }
  318. *Option: 16MB
  319. {
  320. *rcNameID: 266
  321. *MemoryConfigMB: PAIR(16, 16)
  322. }
  323. *Option: 20MB
  324. {
  325. *rcNameID: 267
  326. *MemoryConfigMB: PAIR(20, 20)
  327. }
  328. *Option: 24MB
  329. {
  330. *rcNameID: 268
  331. *MemoryConfigMB: PAIR(24, 24)
  332. }
  333. *Option: 28MB
  334. {
  335. *rcNameID: 269
  336. *MemoryConfigMB: PAIR(28, 28)
  337. }
  338. *Option: 32MB
  339. {
  340. *rcNameID: 270
  341. *MemoryConfigMB: PAIR(32, 32)
  342. }
  343. *Option: 44MB
  344. {
  345. *rcNameID: 273
  346. *MemoryConfigMB: PAIR(44, 44)
  347. }
  348. }
  349. *Command: CmdStartDoc
  350. {
  351. *Order: DOC_SETUP.1
  352. *Cmd: "<1B>,0E"
  353. }
  354. *switch: ColorMode
  355. {
  356. *case: Mono
  357. {
  358. *Command: CmdStartPage
  359. {
  360. *Order: PAGE_SETUP.1
  361. *CallbackID: 4
  362. }
  363. }
  364. *case: Color
  365. {
  366. *switch: PaperSize
  367. {
  368. *case: A4
  369. {
  370. *Command: CmdStartPage
  371. {
  372. *Order: PAGE_SETUP.1
  373. *CallbackID: 5
  374. }
  375. }
  376. *case: B5
  377. {
  378. *Command: CmdStartPage
  379. {
  380. *Order: PAGE_SETUP.1
  381. *CallbackID: 5
  382. }
  383. }
  384. *case: LETTER
  385. {
  386. *Command: CmdStartPage
  387. {
  388. *Order: PAGE_SETUP.1
  389. *CallbackID: 5
  390. }
  391. }
  392. *default
  393. {
  394. *Command: CmdStartPage
  395. {
  396. *Order: PAGE_SETUP.1
  397. *CallbackID: 6
  398. }
  399. }
  400. }
  401. }
  402. }
  403. *Command: CmdEndJob
  404. {
  405. *Order: JOB_FINISH.1
  406. *Cmd: "<1B>}0D<1B>1S"
  407. }
  408. *Command: CmdEndPage
  409. {
  410. *Order: PAGE_FINISH.1
  411. *Cmd: "<030C>"
  412. }
  413. *Command: CmdCopies
  414. {
  415. *Order: DOC_SETUP.9
  416. *Cmd: "<1B>[" %d[1,32767]{NumOfCopies}"N"
  417. }
  418. *MemoryUsage : RASTER
  419. *RotateCoordinate?: FALSE
  420. *RotateRaster?: FALSE
  421. *RotateFont?: FALSE
  422. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  423. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  424. *YMoveUnit: 300
  425. *YMoveThreshold: *
  426. *Switch: ColorMode
  427. {
  428. *case: Mono
  429. {
  430. *Command: CmdYMoveRelDown
  431. {
  432. *Cmd : "<00>" %c[0,255]{max_repeat(DestYRel / 2 )}
  433. }
  434. }
  435. *case: Color
  436. {
  437. *Command: CmdYMoveRelDown
  438. {
  439. *CallbackID: 150
  440. *Params: LIST(DestYRel, TextYRes)
  441. }
  442. }
  443. }
  444. *Command: CmdCR { *CallbackID: 10 }
  445. *Command: CmdLF { *CallbackID: 11 }
  446. *Command: CmdFF { *CallbackID: 12 }
  447. *EjectPageWithFF?: TRUE
  448. *OutputDataFormat: H_BYTE
  449. *OptimizeLeftBound?: FALSE
  450. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  451. *CursorYAfterSendBlockData: AUTO_INCREMENT
  452. *ChangeColorModeOnDoc?: FALSE