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.

474 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "DCLS3200.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital DEClaser 3200"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "dclsres.dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. *Command: CmdSelect
  22. {
  23. *Order: DOC_SETUP.6
  24. *NoPageEject?: TRUE
  25. *Cmd: "<9B>1;4220;4200;;4125;;;;;; z"
  26. }
  27. }
  28. *Option: LANDSCAPE_CC90
  29. {
  30. *rcNameID: =LANDSCAPE_DISPLAY
  31. *Command: CmdSelect
  32. {
  33. *Order: DOC_SETUP.6
  34. *NoPageEject?: TRUE
  35. *Cmd: "<9B>2+v<9B>2;4220;4200;;4125;;;;;; z"
  36. }
  37. }
  38. }
  39. *Feature: InputBin
  40. {
  41. *rcNameID: =PAPER_SOURCE_DISPLAY
  42. *DefaultOption: UPPER
  43. *Option: UPPER
  44. {
  45. *rcNameID: =UPPER_TRAY_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.4
  49. *Cmd: "<9B>1!v"
  50. }
  51. }
  52. *Option: LOWER
  53. {
  54. *rcNameID: =LOWER_TRAY_DISPLAY
  55. *Command: CmdSelect
  56. {
  57. *Order: DOC_SETUP.4
  58. *Cmd: "<9B>2!v"
  59. }
  60. }
  61. *Option: Option3
  62. {
  63. *rcNameID: 258
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.4
  67. *Cmd: "<9B>3!v"
  68. }
  69. }
  70. *Option: Option4
  71. {
  72. *rcNameID: 259
  73. *Command: CmdSelect
  74. {
  75. *Order: DOC_SETUP.4
  76. *Cmd: "<9B>4!v"
  77. }
  78. }
  79. *Option: MANUAL
  80. {
  81. *rcNameID: =MANUAL_FEED_DISPLAY
  82. *Command: CmdSelect
  83. {
  84. *Order: DOC_SETUP.4
  85. *Cmd: "<9B>99!v"
  86. }
  87. }
  88. }
  89. *Feature: Resolution
  90. {
  91. *rcNameID: =RESOLUTION_DISPLAY
  92. *DefaultOption: Option1
  93. *Option: Option1
  94. {
  95. *Name: "300 x 300 " =DOTS_PER_INCH
  96. *DPI: PAIR(300, 300)
  97. *TextDPI: PAIR(300, 300)
  98. *PinsPerLogPass: 24
  99. *PinsPerPhysPass: 24
  100. *MinStripBlankPixels: 32
  101. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  102. *SpotDiameter: 100
  103. *Command: CmdSendBlockData { *Cmd : "<90>0;0;1q%"100;100" }
  104. }
  105. *Option: Option2
  106. {
  107. *Name: "150 x 150 " =DOTS_PER_INCH
  108. *DPI: PAIR(150, 150)
  109. *TextDPI: PAIR(300, 300)
  110. *PinsPerLogPass: 24
  111. *PinsPerPhysPass: 24
  112. *MinStripBlankPixels: 32
  113. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  114. *SpotDiameter: 100
  115. *Command: CmdSendBlockData { *Cmd : "<90>0;0;2q%"100;100" }
  116. }
  117. *Option: Option3
  118. {
  119. *Name: "75 x 75 " =DOTS_PER_INCH
  120. *DPI: PAIR(75, 75)
  121. *TextDPI: PAIR(300, 300)
  122. *PinsPerLogPass: 24
  123. *PinsPerPhysPass: 24
  124. *MinStripBlankPixels: 32
  125. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  126. *SpotDiameter: 100
  127. *Command: CmdSendBlockData { *Cmd : "<90>0;0;4q%"100;100" }
  128. }
  129. }
  130. *Feature: PaperSize
  131. {
  132. *rcNameID: =PAPER_SIZE_DISPLAY
  133. *DefaultOption: LETTER
  134. *Option: LETTER
  135. {
  136. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  137. *switch: Orientation
  138. {
  139. *case: PORTRAIT
  140. {
  141. *PrintableArea: PAIR(2390, 3150)
  142. *PrintableOrigin: PAIR(70, 75)
  143. *switch: Resolution
  144. {
  145. *case: Option2
  146. {
  147. *PrintableArea: PAIR(2390, 3148)
  148. *PrintableOrigin: PAIR(70, 76)
  149. }
  150. *case: Option3
  151. {
  152. *PrintableArea: PAIR(2388, 3148)
  153. *PrintableOrigin: PAIR(72, 76)
  154. }
  155. }
  156. *CursorOrigin: PAIR(58, 48)
  157. }
  158. *case: LANDSCAPE_CC90
  159. {
  160. *PrintableArea: PAIR(2376, 3150)
  161. *PrintableOrigin: PAIR(70, 34)
  162. *switch: Resolution
  163. {
  164. *case: Option2
  165. {
  166. *PrintableArea: PAIR(2376, 3148)
  167. *PrintableOrigin: PAIR(64, 76)
  168. }
  169. *case: Option3
  170. {
  171. *PrintableArea: PAIR(2376, 3148)
  172. *PrintableOrigin: PAIR(64, 76)
  173. }
  174. }
  175. *CursorOrigin: PAIR(70, 3428)
  176. }
  177. }
  178. }
  179. *Option: A4
  180. {
  181. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  182. *PrintableArea: PAIR(2321, 3336)
  183. *PrintableOrigin: PAIR(76, 80)
  184. *switch: Resolution
  185. {
  186. *case: Option2
  187. {
  188. *PrintableArea: PAIR(2320, 3336)
  189. *PrintableOrigin: PAIR(70, 76)
  190. }
  191. *case: Option3
  192. {
  193. *PrintableArea: PAIR(2316, 3336)
  194. *PrintableOrigin: PAIR(72, 76)
  195. }
  196. }
  197. *CursorOrigin: PAIR(58, 40)
  198. }
  199. *Option: LEGAL
  200. {
  201. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  202. *PrintableArea: PAIR(2390, 4032)
  203. *PrintableOrigin: PAIR(70, 75)
  204. *switch: Resolution
  205. {
  206. *case: Option2
  207. {
  208. *PrintableArea: PAIR(2390, 4032)
  209. *PrintableOrigin: PAIR(70, 76)
  210. }
  211. *case: Option3
  212. {
  213. *PrintableArea: PAIR(2388, 4032)
  214. *PrintableOrigin: PAIR(72, 76)
  215. }
  216. }
  217. *CursorOrigin: PAIR(58, 40)
  218. }
  219. *Option: EXECUTIVE
  220. {
  221. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  222. *PrintableArea: PAIR(2015, 3000)
  223. *PrintableOrigin: PAIR(70, 75)
  224. *switch: Resolution
  225. {
  226. *case: Option2
  227. {
  228. *PrintableArea: PAIR(2014, 2976)
  229. *PrintableOrigin: PAIR(70, 76)
  230. }
  231. *case: Option3
  232. {
  233. *PrintableArea: PAIR(2012, 2976)
  234. *PrintableOrigin: PAIR(72, 76)
  235. }
  236. }
  237. *CursorOrigin: PAIR(58, 40)
  238. }
  239. *Option: ENV_10
  240. {
  241. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  242. *PrintableArea: PAIR(1079, 2688)
  243. *PrintableOrigin: PAIR(70, 75)
  244. *switch: Resolution
  245. {
  246. *case: Option2
  247. {
  248. *PrintableArea: PAIR(1078, 2688)
  249. *PrintableOrigin: PAIR(70, 76)
  250. }
  251. *case: Option3
  252. {
  253. *PrintableArea: PAIR(1076, 2688)
  254. *PrintableOrigin: PAIR(72, 76)
  255. }
  256. }
  257. *CursorOrigin: PAIR(58, 40)
  258. }
  259. *Option: ENV_DL
  260. {
  261. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  262. *PrintableArea: PAIR(1139, 2448)
  263. *PrintableOrigin: PAIR(70, 75)
  264. *switch: Resolution
  265. {
  266. *case: Option2
  267. {
  268. *PrintableArea: PAIR(1138, 2448)
  269. *PrintableOrigin: PAIR(70, 76)
  270. }
  271. *case: Option3
  272. {
  273. *PrintableArea: PAIR(1136, 2448)
  274. *PrintableOrigin: PAIR(72, 76)
  275. }
  276. }
  277. *CursorOrigin: PAIR(58, 40)
  278. }
  279. *Option: ENV_C5
  280. {
  281. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  282. *PrintableArea: PAIR(1754, 2544)
  283. *PrintableOrigin: PAIR(70, 75)
  284. *switch: Resolution
  285. {
  286. *case: Option2
  287. {
  288. *PrintableArea: PAIR(1754, 2544)
  289. *PrintableOrigin: PAIR(70, 76)
  290. }
  291. *case: Option3
  292. {
  293. *PrintableArea: PAIR(1752, 2544)
  294. *PrintableOrigin: PAIR(72, 76)
  295. }
  296. }
  297. *CursorOrigin: PAIR(58, 40)
  298. }
  299. *Option: ENV_MONARCH
  300. {
  301. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  302. *PrintableArea: PAIR(998, 2088)
  303. *PrintableOrigin: PAIR(70, 75)
  304. *switch: Resolution
  305. {
  306. *case: Option2
  307. {
  308. *PrintableArea: PAIR(998, 2088)
  309. *PrintableOrigin: PAIR(70, 76)
  310. }
  311. *case: Option3
  312. {
  313. *PrintableArea: PAIR(996, 2088)
  314. *PrintableOrigin: PAIR(72, 76)
  315. }
  316. }
  317. *CursorOrigin: PAIR(58, 40)
  318. }
  319. }
  320. *Feature: Halftone
  321. {
  322. *rcNameID: =HALFTONING_DISPLAY
  323. *DefaultOption: HT_PATSIZE_AUTO
  324. *Option: HT_PATSIZE_AUTO
  325. {
  326. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  327. }
  328. *Ifdef: WINNT_50
  329. *Option: HT_PATSIZE_SUPERCELL_M
  330. {
  331. *rcNameID: =HT_SUPERCELL_DISPLAY
  332. }
  333. *Endif:
  334. *Option: HT_PATSIZE_6x6_M
  335. {
  336. *rcNameID: =HT_DITHER6X6_DISPLAY
  337. }
  338. *Option: HT_PATSIZE_8x8_M
  339. {
  340. *rcNameID: =HT_DITHER8X8_DISPLAY
  341. }
  342. }
  343. *Feature: Memory
  344. {
  345. *rcNameID: =PRINTER_MEMORY_DISPLAY
  346. *DefaultOption: 1024KB
  347. *Option: 1024KB
  348. {
  349. *Name: "1MB"
  350. *MemoryConfigKB: PAIR(1024, 907)
  351. }
  352. *Option: 3072KB
  353. {
  354. *Name: "3MB"
  355. *MemoryConfigKB: PAIR(3072, 2995)
  356. }
  357. *Option: 5120KB
  358. {
  359. *Name: "5MB"
  360. *MemoryConfigKB: PAIR(5120, 5003)
  361. }
  362. *Option: 7168KB
  363. {
  364. *Name: "7MB"
  365. *MemoryConfigKB: PAIR(7168, 6370)
  366. }
  367. *Option: 9216KB
  368. {
  369. *Name: "9MB"
  370. *MemoryConfigKB: PAIR(9216, 8260)
  371. }
  372. *Option: 11264KB
  373. {
  374. *Name: "11MB"
  375. *MemoryConfigKB: PAIR(11264, 10150)
  376. }
  377. }
  378. *Feature: Duplex
  379. {
  380. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  381. *DefaultOption: NONE
  382. *Option: NONE
  383. {
  384. *rcNameID: =NONE_DISPLAY
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.2
  388. *Cmd: "<9B>0 x"
  389. }
  390. }
  391. *Option: VERTICAL
  392. {
  393. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  394. *Command: CmdSelect
  395. {
  396. *Order: DOC_SETUP.3
  397. *Cmd: "<9B>4+v<9B>3 x"
  398. }
  399. }
  400. *Option: HORIZONTAL
  401. {
  402. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  403. *Command: CmdSelect
  404. {
  405. *Order: DOC_SETUP.3
  406. *Cmd: "<9B>4+v<9B>4 x"
  407. }
  408. }
  409. }
  410. *Command: CmdStartDoc
  411. {
  412. *Order: DOC_SETUP.1
  413. *Cmd: "<9B>!p<9B>11h<9B>7 I"
  414. }
  415. *Command: CmdStartPage
  416. {
  417. *Order: PAGE_SETUP.1
  418. *Cmd: "<0D>"
  419. }
  420. *Command: CmdEndJob
  421. {
  422. *Order: JOB_FINISH.1
  423. *Cmd: "<9B>0 x<9B>1&q<1B>[0 s<9B>!p"
  424. }
  425. *Command: CmdEndPage
  426. {
  427. *Order: PAGE_FINISH.1
  428. *Cmd: "<0D>"
  429. }
  430. *Command: CmdCopies
  431. {
  432. *Order: DOC_SETUP.7
  433. *Cmd: "<9B>" %d[1,99]{NumOfCopies}"&q"
  434. }
  435. *RotateCoordinate?: TRUE
  436. *RotateRaster?: TRUE
  437. *RotateFont?: TRUE
  438. *switch: Orientation
  439. {
  440. *case: PORTRAIT
  441. {
  442. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE)
  443. }
  444. *case: LANDSCAPE_CC90
  445. {
  446. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE,TC_SO_ABLE)
  447. }
  448. }
  449. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  450. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  451. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  452. *YMoveAttributes: LIST(SEND_CR_FIRST)
  453. *XMoveThreshold: 0
  454. *YMoveThreshold: 0
  455. *XMoveUnit: 300
  456. *YMoveUnit: 300
  457. *Command: CmdXMoveAbsolute { *Cmd : "<9B>" %d{DestX}"`" }
  458. *Command: CmdXMoveRelRight { *Cmd : "<9B>" %d{DestXRel}"a" }
  459. *Command: CmdXMoveRelLeft { *Cmd : "<9B>" %d{DestXRel}"j" }
  460. *Command: CmdYMoveAbsolute { *Cmd : "<9B>" %d{DestY}"d" }
  461. *Command: CmdYMoveRelDown { *Cmd : "<9B>" %d{DestYRel}"e" }
  462. *Command: CmdYMoveRelUp { *Cmd : "<9B>" %d{DestYRel}"k" }
  463. *Command: CmdCR { *Cmd : "<0D>" }
  464. *Command: CmdLF { *Cmd : "<0A>" }
  465. *Command: CmdFF { *Cmd : "<0C>" }
  466. *EjectPageWithFF?: TRUE
  467. *OutputDataFormat: V_BYTE
  468. *OptimizeLeftBound?: FALSE
  469. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  470. *CursorYAfterSendBlockData: AUTO_INCREMENT
  471. *DefaultFont: 1
  472. *DefaultCTT: 0
  473. *DLSymbolSet: ROMAN_8
  474. *DeviceFonts: LIST(1,2,3,4)