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.

594 lines
17 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "DCD2100P.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital DEClaser 2100plus (LJ)"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "pcl4res.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.2
  24. *Cmd: "<1B>&l0O"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.2
  33. *Cmd: "<1B>&l1O"
  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.3
  47. *Cmd: "<1B>&l1H"
  48. }
  49. }
  50. *Option: ENVMANUAL
  51. {
  52. *rcNameID: =ENV_MANUAL_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.3
  56. *Cmd: "<1B>&l3H"
  57. }
  58. }
  59. *Option: MANUAL
  60. {
  61. *rcNameID: =MANUAL_FEED_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.3
  65. *Cmd: "<1B>&l2H"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "300 x 300 " =DOTS_PER_INCH
  76. *DPI: PAIR(300, 300)
  77. *TextDPI: PAIR(300, 300)
  78. *MinStripBlankPixels: 32
  79. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  80. *SpotDiameter: 100
  81. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  82. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.5
  87. *Cmd: "<1B>*t300R"
  88. }
  89. }
  90. *Option: Option2
  91. {
  92. *Name: "150 x 150 " =DOTS_PER_INCH
  93. *DPI: PAIR(150, 150)
  94. *TextDPI: PAIR(300, 300)
  95. *MinStripBlankPixels: 32
  96. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  97. *SpotDiameter: 100
  98. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  99. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  100. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  101. *Command: CmdSelect
  102. {
  103. *Order: DOC_SETUP.5
  104. *Cmd: "<1B>*t150R"
  105. }
  106. }
  107. }
  108. *Feature: PaperSize
  109. {
  110. *rcNameID: =PAPER_SIZE_DISPLAY
  111. *DefaultOption: LETTER
  112. *Option: LETTER
  113. {
  114. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  115. *switch: Orientation
  116. {
  117. *case: PORTRAIT
  118. {
  119. *PrintableArea: PAIR(2400, 3150)
  120. *PrintableOrigin: PAIR(75, 75)
  121. *switch: Resolution
  122. {
  123. *case: Option2
  124. {
  125. *PrintableArea: PAIR(2398, 3148)
  126. *PrintableOrigin: PAIR(76, 76)
  127. }
  128. }
  129. *CursorOrigin: PAIR(68, 75)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.4
  133. *Cmd: "<1B>&l2a4d1e42F"
  134. }
  135. }
  136. *case: LANDSCAPE_CC90
  137. {
  138. *PrintableArea: PAIR(2400, 3150)
  139. *PrintableOrigin: PAIR(75, 75)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(2398, 3148)
  145. *PrintableOrigin: PAIR(76, 76)
  146. }
  147. }
  148. *CursorOrigin: PAIR(66, 3240)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.4
  152. *Cmd: "<1B>&l2a4d1e42F"
  153. }
  154. }
  155. }
  156. }
  157. *Option: LEGAL
  158. {
  159. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160. *switch: Orientation
  161. {
  162. *case: PORTRAIT
  163. {
  164. *PrintableArea: PAIR(2400, 4050)
  165. *PrintableOrigin: PAIR(75, 75)
  166. *switch: Resolution
  167. {
  168. *case: Option2
  169. {
  170. *PrintableArea: PAIR(2398, 4048)
  171. *PrintableOrigin: PAIR(76, 76)
  172. }
  173. }
  174. *CursorOrigin: PAIR(68, 75)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.4
  178. *Cmd: "<1B>&l3a4d1e54F"
  179. }
  180. }
  181. *case: LANDSCAPE_CC90
  182. {
  183. *PrintableArea: PAIR(2400, 4050)
  184. *PrintableOrigin: PAIR(75, 75)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(2398, 4048)
  190. *PrintableOrigin: PAIR(76, 76)
  191. }
  192. }
  193. *CursorOrigin: PAIR(66, 4140)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.4
  197. *Cmd: "<1B>&l3a4d1e54F"
  198. }
  199. }
  200. }
  201. }
  202. *Option: EXECUTIVE
  203. {
  204. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  205. *switch: Orientation
  206. {
  207. *case: PORTRAIT
  208. {
  209. *PrintableArea: PAIR(2025, 3000)
  210. *PrintableOrigin: PAIR(75, 75)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(2024, 2998)
  216. *PrintableOrigin: PAIR(76, 76)
  217. }
  218. }
  219. *CursorOrigin: PAIR(68, 75)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.4
  223. *Cmd: "<1B>&l1a4d1e40F"
  224. }
  225. }
  226. *case: LANDSCAPE_CC90
  227. {
  228. *PrintableArea: PAIR(2025, 3000)
  229. *PrintableOrigin: PAIR(75, 75)
  230. *switch: Resolution
  231. {
  232. *case: Option2
  233. {
  234. *PrintableArea: PAIR(2024, 2998)
  235. *PrintableOrigin: PAIR(76, 76)
  236. }
  237. }
  238. *CursorOrigin: PAIR(66, 3090)
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.4
  242. *Cmd: "<1B>&l1a4d1e40F"
  243. }
  244. }
  245. }
  246. }
  247. *Option: A4
  248. {
  249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250. *switch: Orientation
  251. {
  252. *case: PORTRAIT
  253. {
  254. *PrintableArea: PAIR(2331, 3357)
  255. *PrintableOrigin: PAIR(75, 75)
  256. *switch: Resolution
  257. {
  258. *case: Option2
  259. {
  260. *PrintableArea: PAIR(2330, 3356)
  261. *PrintableOrigin: PAIR(76, 76)
  262. }
  263. }
  264. *CursorOrigin: PAIR(68, 75)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.4
  268. *Cmd: "<1B>&l26a4d1e45F"
  269. }
  270. }
  271. *case: LANDSCAPE_CC90
  272. {
  273. *PrintableArea: PAIR(2331, 3357)
  274. *PrintableOrigin: PAIR(75, 75)
  275. *switch: Resolution
  276. {
  277. *case: Option2
  278. {
  279. *PrintableArea: PAIR(2330, 3356)
  280. *PrintableOrigin: PAIR(76, 76)
  281. }
  282. }
  283. *CursorOrigin: PAIR(66, 3447)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.4
  287. *Cmd: "<1B>&l26a4d1e45F"
  288. }
  289. }
  290. }
  291. }
  292. *Option: ENV_10
  293. {
  294. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  295. *switch: Orientation
  296. {
  297. *case: PORTRAIT
  298. {
  299. *PrintableArea: PAIR(1089, 2700)
  300. *PrintableOrigin: PAIR(75, 75)
  301. *switch: Resolution
  302. {
  303. *case: Option2
  304. {
  305. *PrintableArea: PAIR(1088, 2698)
  306. *PrintableOrigin: PAIR(76, 76)
  307. }
  308. }
  309. *CursorOrigin: PAIR(68, 75)
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.4
  313. *Cmd: "<1B>&l81a4d1E"
  314. }
  315. }
  316. *case: LANDSCAPE_CC90
  317. {
  318. *PrintableArea: PAIR(1089, 2700)
  319. *PrintableOrigin: PAIR(75, 75)
  320. *switch: Resolution
  321. {
  322. *case: Option2
  323. {
  324. *PrintableArea: PAIR(1088, 2698)
  325. *PrintableOrigin: PAIR(76, 76)
  326. }
  327. }
  328. *CursorOrigin: PAIR(66, 2790)
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.4
  332. *Cmd: "<1B>&l81a4d1E"
  333. }
  334. }
  335. }
  336. }
  337. *Option: ENV_DL
  338. {
  339. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  340. *switch: Orientation
  341. {
  342. *case: PORTRAIT
  343. {
  344. *PrintableArea: PAIR(1149, 2448)
  345. *PrintableOrigin: PAIR(75, 75)
  346. *switch: Resolution
  347. {
  348. *case: Option2
  349. {
  350. *PrintableArea: PAIR(1148, 2446)
  351. *PrintableOrigin: PAIR(76, 76)
  352. }
  353. }
  354. *CursorOrigin: PAIR(68, 75)
  355. *Command: CmdSelect
  356. {
  357. *Order: DOC_SETUP.4
  358. *Cmd: "<1B>&l90a4d1E"
  359. }
  360. }
  361. *case: LANDSCAPE_CC90
  362. {
  363. *PrintableArea: PAIR(1149, 2448)
  364. *PrintableOrigin: PAIR(75, 75)
  365. *switch: Resolution
  366. {
  367. *case: Option2
  368. {
  369. *PrintableArea: PAIR(1148, 2446)
  370. *PrintableOrigin: PAIR(76, 76)
  371. }
  372. }
  373. *CursorOrigin: PAIR(66, 2538)
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.4
  377. *Cmd: "<1B>&l90a4d1E"
  378. }
  379. }
  380. }
  381. }
  382. *Option: ENV_C5
  383. {
  384. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  385. *switch: Orientation
  386. {
  387. *case: PORTRAIT
  388. {
  389. *PrintableArea: PAIR(1764, 2556)
  390. *PrintableOrigin: PAIR(75, 75)
  391. *switch: Resolution
  392. {
  393. *case: Option2
  394. {
  395. *PrintableArea: PAIR(1762, 2554)
  396. *PrintableOrigin: PAIR(76, 76)
  397. }
  398. }
  399. *CursorOrigin: PAIR(68, 75)
  400. *Command: CmdSelect
  401. {
  402. *Order: DOC_SETUP.4
  403. *Cmd: "<1B>&l91a4d1E"
  404. }
  405. }
  406. *case: LANDSCAPE_CC90
  407. {
  408. *PrintableArea: PAIR(1764, 2556)
  409. *PrintableOrigin: PAIR(75, 75)
  410. *switch: Resolution
  411. {
  412. *case: Option2
  413. {
  414. *PrintableArea: PAIR(1762, 2554)
  415. *PrintableOrigin: PAIR(76, 76)
  416. }
  417. }
  418. *CursorOrigin: PAIR(66, 2646)
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.4
  422. *Cmd: "<1B>&l91a4d1E"
  423. }
  424. }
  425. }
  426. }
  427. *Option: ENV_MONARCH
  428. {
  429. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  430. *switch: Orientation
  431. {
  432. *case: PORTRAIT
  433. {
  434. *PrintableArea: PAIR(1008, 2100)
  435. *PrintableOrigin: PAIR(75, 75)
  436. *switch: Resolution
  437. {
  438. *case: Option2
  439. {
  440. *PrintableArea: PAIR(1006, 2098)
  441. *PrintableOrigin: PAIR(76, 76)
  442. }
  443. }
  444. *CursorOrigin: PAIR(68, 75)
  445. *Command: CmdSelect
  446. {
  447. *Order: DOC_SETUP.4
  448. *Cmd: "<1B>&l80a4d1E"
  449. }
  450. }
  451. *case: LANDSCAPE_CC90
  452. {
  453. *PrintableArea: PAIR(1008, 2100)
  454. *PrintableOrigin: PAIR(75, 75)
  455. *switch: Resolution
  456. {
  457. *case: Option2
  458. {
  459. *PrintableArea: PAIR(1006, 2098)
  460. *PrintableOrigin: PAIR(76, 76)
  461. }
  462. }
  463. *CursorOrigin: PAIR(66, 2190)
  464. *Command: CmdSelect
  465. {
  466. *Order: DOC_SETUP.4
  467. *Cmd: "<1B>&l80a4d1E"
  468. }
  469. }
  470. }
  471. }
  472. }
  473. *Feature: Halftone
  474. {
  475. *rcNameID: =HALFTONING_DISPLAY
  476. *DefaultOption: HT_PATSIZE_AUTO
  477. *Option: HT_PATSIZE_AUTO
  478. {
  479. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  480. }
  481. *Ifdef: WINNT_50
  482. *Option: HT_PATSIZE_SUPERCELL_M
  483. {
  484. *rcNameID: =HT_SUPERCELL_DISPLAY
  485. }
  486. *Endif:
  487. *Option: HT_PATSIZE_6x6_M
  488. {
  489. *rcNameID: =HT_DITHER6X6_DISPLAY
  490. }
  491. *Option: HT_PATSIZE_8x8_M
  492. {
  493. *rcNameID: =HT_DITHER8X8_DISPLAY
  494. }
  495. }
  496. *Feature: Memory
  497. {
  498. *rcNameID: =PRINTER_MEMORY_DISPLAY
  499. *DefaultOption: 1536KB
  500. *MemConfigKB: PAIR(512, 369)
  501. *MemConfigKB: PAIR(1536, 1419)
  502. *MemConfigKB: PAIR(2560, 2243)
  503. *MemConfigKB: PAIR(3584, 3467)
  504. }
  505. *switch: Memory
  506. {
  507. *case: 512KB
  508. {
  509. *Command: CmdStartDoc
  510. {
  511. *Order: DOC_SETUP.1
  512. *Cmd: "<1B>E<1B>&l0L<1B>*r3F<1B>&l0S"
  513. }
  514. *RotateRaster?: FALSE
  515. }
  516. *default:
  517. {
  518. *Command: CmdStartDoc
  519. {
  520. *Order: DOC_SETUP.1
  521. *Cmd: "<1B>E<1B>&l0L<1B>*r0F<1B>&l0S"
  522. }
  523. *RotateRaster?: TRUE
  524. }
  525. }
  526. *Command: CmdStartPage
  527. {
  528. *Order: PAGE_SETUP.1
  529. *Cmd: "<1B>*b0M<0D>"
  530. }
  531. *Command: CmdEndJob
  532. {
  533. *Order: JOB_FINISH.1
  534. *Cmd: "<1B>E"
  535. }
  536. *Command: CmdCopies
  537. {
  538. *Order: DOC_SETUP.6
  539. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  540. }
  541. *RotateCoordinate?: TRUE
  542. *RotateFont?: TRUE
  543. *TextCaps: LIST(TC_UA_ABLE)
  544. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  545. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  546. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  547. *XMoveThreshold: 0
  548. *YMoveThreshold: 0
  549. *XMoveUnit: 300
  550. *YMoveUnit: 300
  551. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  552. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  553. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  554. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  555. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  556. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  557. *Command: CmdCR { *Cmd : "<0D>" }
  558. *Command: CmdLF { *Cmd : "<0A>" }
  559. *Command: CmdFF { *Cmd : "<0C>" }
  560. *Command: CmdBackSpace { *Cmd : "<08>" }
  561. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  562. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  563. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  564. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  565. *EjectPageWithFF?: TRUE
  566. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  567. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  568. *OutputDataFormat: H_BYTE
  569. *OptimizeLeftBound?: TRUE
  570. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  571. *CursorYAfterSendBlockData: AUTO_INCREMENT
  572. *DefaultFont: 207
  573. *DefaultCTT: 0
  574. *CharPosition: BASELINE
  575. *DeviceFonts: LIST(205,206,207,208,211,212,213)
  576. *MinFontID: 1
  577. *MaxFontID: 99
  578. *FontFormat: HPPCL
  579. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  580. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  581. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  582. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  583. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  584. *MinGrayFill: 1
  585. *MaxGrayFill: 100
  586. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  587. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  588. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  589. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }