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.

627 lines
18 KiB

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