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.

640 lines
18 KiB

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