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.

500 lines
13 KiB

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