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.

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