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.

373 lines
9.5 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "DCLS1100.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital DEClaser 1100"
  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. *Cmd: "<9B>1;4220;4200;;4125;;;;;; z"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.6
  33. *Cmd: "<9B>2+v<9B>2;4220;4200;;4125;;;;;; z"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: UPPER
  41. *Option: UPPER
  42. {
  43. *rcNameID: =UPPER_TRAY_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.4
  47. *Cmd: "<9B>1!v"
  48. }
  49. }
  50. *Option: LOWER
  51. {
  52. *rcNameID: =LOWER_TRAY_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.4
  56. *Cmd: "<9B>2!v"
  57. }
  58. }
  59. }
  60. *Feature: Resolution
  61. {
  62. *rcNameID: =RESOLUTION_DISPLAY
  63. *DefaultOption: Option1
  64. *Option: Option1
  65. {
  66. *Name: "300 x 300 " =DOTS_PER_INCH
  67. *DPI: PAIR(300, 300)
  68. *TextDPI: PAIR(300, 300)
  69. *PinsPerLogPass: 24
  70. *PinsPerPhysPass: 24
  71. *MinStripBlankPixels: 32
  72. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  73. *SpotDiameter: 100
  74. *Command: CmdSendBlockData { *Cmd : "<90>0;0;1q%"100;100" }
  75. }
  76. *Option: Option2
  77. {
  78. *Name: "150 x 150 " =DOTS_PER_INCH
  79. *DPI: PAIR(150, 150)
  80. *TextDPI: PAIR(300, 300)
  81. *PinsPerLogPass: 24
  82. *PinsPerPhysPass: 24
  83. *MinStripBlankPixels: 32
  84. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  85. *SpotDiameter: 100
  86. *Command: CmdSendBlockData { *Cmd : "<90>0;0;2q%"100;100" }
  87. }
  88. *Option: Option3
  89. {
  90. *Name: "75 x 75 " =DOTS_PER_INCH
  91. *DPI: PAIR(75, 75)
  92. *TextDPI: PAIR(300, 300)
  93. *PinsPerLogPass: 24
  94. *PinsPerPhysPass: 24
  95. *MinStripBlankPixels: 32
  96. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  97. *SpotDiameter: 100
  98. *Command: CmdSendBlockData { *Cmd : "<90>0;0;4q%"100;100" }
  99. }
  100. }
  101. *Feature: PaperSize
  102. {
  103. *rcNameID: =PAPER_SIZE_DISPLAY
  104. *DefaultOption: LETTER
  105. *Option: LETTER
  106. {
  107. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  108. *PrintableArea: PAIR(2390, 3150)
  109. *PrintableOrigin: PAIR(70, 75)
  110. *switch: Resolution
  111. {
  112. *case: Option2
  113. {
  114. *PrintableArea: PAIR(2390, 3148)
  115. *PrintableOrigin: PAIR(70, 76)
  116. }
  117. *case: Option3
  118. {
  119. *PrintableArea: PAIR(2388, 3148)
  120. *PrintableOrigin: PAIR(72, 76)
  121. }
  122. }
  123. *CursorOrigin: PAIR(58, 40)
  124. }
  125. *Option: A4
  126. {
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *PrintableArea: PAIR(2321, 3357)
  129. *PrintableOrigin: PAIR(70, 75)
  130. *switch: Resolution
  131. {
  132. *case: Option2
  133. {
  134. *PrintableArea: PAIR(2320, 3356)
  135. *PrintableOrigin: PAIR(70, 76)
  136. }
  137. *case: Option3
  138. {
  139. *PrintableArea: PAIR(2316, 3356)
  140. *PrintableOrigin: PAIR(72, 76)
  141. }
  142. }
  143. *CursorOrigin: PAIR(58, 40)
  144. }
  145. *Option: LEGAL
  146. {
  147. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  148. *PrintableArea: PAIR(2390, 4050)
  149. *PrintableOrigin: PAIR(70, 75)
  150. *switch: Resolution
  151. {
  152. *case: Option2
  153. {
  154. *PrintableArea: PAIR(2390, 4048)
  155. *PrintableOrigin: PAIR(70, 76)
  156. }
  157. *case: Option3
  158. {
  159. *PrintableArea: PAIR(2388, 4048)
  160. *PrintableOrigin: PAIR(72, 76)
  161. }
  162. }
  163. *CursorOrigin: PAIR(58, 40)
  164. }
  165. *Option: EXECUTIVE
  166. {
  167. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  168. *PrintableArea: PAIR(2015, 3000)
  169. *PrintableOrigin: PAIR(70, 75)
  170. *switch: Resolution
  171. {
  172. *case: Option2
  173. {
  174. *PrintableArea: PAIR(2014, 2998)
  175. *PrintableOrigin: PAIR(70, 76)
  176. }
  177. *case: Option3
  178. {
  179. *PrintableArea: PAIR(2012, 2996)
  180. *PrintableOrigin: PAIR(72, 76)
  181. }
  182. }
  183. *CursorOrigin: PAIR(58, 40)
  184. }
  185. *Option: ENV_10
  186. {
  187. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  188. *PrintableArea: PAIR(1079, 2700)
  189. *PrintableOrigin: PAIR(70, 75)
  190. *switch: Resolution
  191. {
  192. *case: Option2
  193. {
  194. *PrintableArea: PAIR(1078, 2698)
  195. *PrintableOrigin: PAIR(70, 76)
  196. }
  197. *case: Option3
  198. {
  199. *PrintableArea: PAIR(1076, 2696)
  200. *PrintableOrigin: PAIR(72, 76)
  201. }
  202. }
  203. *CursorOrigin: PAIR(58, 40)
  204. }
  205. *Option: ENV_DL
  206. {
  207. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  208. *PrintableArea: PAIR(1139, 2448)
  209. *PrintableOrigin: PAIR(70, 75)
  210. *switch: Resolution
  211. {
  212. *case: Option2
  213. {
  214. *PrintableArea: PAIR(1138, 2446)
  215. *PrintableOrigin: PAIR(70, 76)
  216. }
  217. *case: Option3
  218. {
  219. *PrintableArea: PAIR(1136, 2444)
  220. *PrintableOrigin: PAIR(72, 76)
  221. }
  222. }
  223. *CursorOrigin: PAIR(58, 40)
  224. }
  225. *Option: ENV_C5
  226. {
  227. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  228. *PrintableArea: PAIR(1754, 2556)
  229. *PrintableOrigin: PAIR(70, 75)
  230. *switch: Resolution
  231. {
  232. *case: Option2
  233. {
  234. *PrintableArea: PAIR(1754, 2554)
  235. *PrintableOrigin: PAIR(70, 76)
  236. }
  237. *case: Option3
  238. {
  239. *PrintableArea: PAIR(1752, 2552)
  240. *PrintableOrigin: PAIR(72, 76)
  241. }
  242. }
  243. *CursorOrigin: PAIR(58, 40)
  244. }
  245. *Option: ENV_MONARCH
  246. {
  247. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  248. *PrintableArea: PAIR(998, 2100)
  249. *PrintableOrigin: PAIR(70, 75)
  250. *switch: Resolution
  251. {
  252. *case: Option2
  253. {
  254. *PrintableArea: PAIR(998, 2098)
  255. *PrintableOrigin: PAIR(70, 76)
  256. }
  257. *case: Option3
  258. {
  259. *PrintableArea: PAIR(996, 2096)
  260. *PrintableOrigin: PAIR(72, 76)
  261. }
  262. }
  263. *CursorOrigin: PAIR(58, 40)
  264. }
  265. }
  266. *Feature: Halftone
  267. {
  268. *rcNameID: =HALFTONING_DISPLAY
  269. *DefaultOption: HT_PATSIZE_AUTO
  270. *Option: HT_PATSIZE_AUTO
  271. {
  272. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  273. }
  274. *Ifdef: WINNT_50
  275. *Option: HT_PATSIZE_SUPERCELL_M
  276. {
  277. *rcNameID: =HT_SUPERCELL_DISPLAY
  278. }
  279. *Endif:
  280. *Option: HT_PATSIZE_6x6_M
  281. {
  282. *rcNameID: =HT_DITHER6X6_DISPLAY
  283. }
  284. *Option: HT_PATSIZE_8x8_M
  285. {
  286. *rcNameID: =HT_DITHER8X8_DISPLAY
  287. }
  288. }
  289. *Feature: Memory
  290. {
  291. *rcNameID: =PRINTER_MEMORY_DISPLAY
  292. *DefaultOption: 512KB
  293. *Option: 512KB
  294. {
  295. *Name: "512KB"
  296. *MemoryConfigKB: PAIR(512, 369)
  297. }
  298. *Option: 1536KB
  299. {
  300. *Name: "1536KB"
  301. *MemoryConfigKB: PAIR(1536, 1419)
  302. }
  303. *Option: 2560KB
  304. {
  305. *Name: "2560KB"
  306. *MemoryConfigKB: PAIR(2560, 2243)
  307. }
  308. }
  309. *Command: CmdStartDoc
  310. {
  311. *Order: DOC_SETUP.1
  312. *Cmd: "<9B>!p<9B>11h<9B>7 I"
  313. }
  314. *Command: CmdStartPage
  315. {
  316. *Order: PAGE_SETUP.1
  317. *Cmd: "<0D>"
  318. }
  319. *Command: CmdEndJob
  320. {
  321. *Order: JOB_FINISH.1
  322. *Cmd: "<9B>0 x<9B>1&q<1B>[0 s<9B>!p"
  323. }
  324. *Command: CmdEndPage
  325. {
  326. *Order: PAGE_FINISH.1
  327. *Cmd: "<0D>"
  328. }
  329. *Command: CmdCopies
  330. {
  331. *Order: DOC_SETUP.7
  332. *Cmd: "<9B>" %d[1,99]{NumOfCopies}"&q"
  333. }
  334. *RotateCoordinate?: TRUE
  335. *RotateRaster?: TRUE
  336. *RotateFont?: TRUE
  337. *switch: Orientation
  338. {
  339. *case: PORTRAIT
  340. {
  341. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE)
  342. }
  343. *case: LANDSCAPE_CC90
  344. {
  345. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE,TC_SO_ABLE)
  346. }
  347. }
  348. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  349. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  350. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  351. *YMoveAttributes: LIST(SEND_CR_FIRST)
  352. *XMoveThreshold: 0
  353. *YMoveThreshold: 0
  354. *XMoveUnit: 300
  355. *YMoveUnit: 300
  356. *Command: CmdXMoveAbsolute { *Cmd : "<9B>" %d{DestX}"`" }
  357. *Command: CmdXMoveRelRight { *Cmd : "<9B>" %d{DestXRel}"a" }
  358. *Command: CmdXMoveRelLeft { *Cmd : "<9B>" %d{DestXRel}"j" }
  359. *Command: CmdYMoveAbsolute { *Cmd : "<9B>" %d{DestY}"d" }
  360. *Command: CmdYMoveRelDown { *Cmd : "<9B>" %d{DestYRel}"e" }
  361. *Command: CmdYMoveRelUp { *Cmd : "<9B>" %d{DestYRel}"k" }
  362. *Command: CmdCR { *Cmd : "<0D>" }
  363. *Command: CmdLF { *Cmd : "<0A>" }
  364. *Command: CmdFF { *Cmd : "<0C>" }
  365. *EjectPageWithFF?: TRUE
  366. *OutputDataFormat: V_BYTE
  367. *OptimizeLeftBound?: FALSE
  368. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  369. *CursorYAfterSendBlockData: AUTO_INCREMENT
  370. *DefaultFont: 1
  371. *DefaultCTT: 0
  372. *DLSymbolSet: ROMAN_8
  373. *DeviceFonts: LIST(1,2,3,4)