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.

667 lines
19 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.0"
  7. *GPDFileName: "DC1800.GPD"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital DEClaser 1800 (PCL)"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "pcl5eres.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.6
  47. *Cmd: "<1B>&l1H"
  48. }
  49. }
  50. *Option: MANUAL
  51. {
  52. *rcNameID: =MANUAL_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.6
  56. *Cmd: "<1B>&l2H"
  57. }
  58. }
  59. *Option: LOWER
  60. {
  61. *rcNameID: =LOWER_TRAY_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.6
  65. *Cmd: "<1B>&l4H"
  66. }
  67. }
  68. *Option: ENVFEED
  69. {
  70. *rcNameID: =ENV_FEED_DISPLAY
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.6
  74. *Cmd: "<1B>&l6H"
  75. }
  76. }
  77. *Option: Option5
  78. {
  79. *rcNameID: 274
  80. *Command: CmdSelect
  81. {
  82. *Order: DOC_SETUP.6
  83. *Cmd: "<1B>&l6H"
  84. }
  85. }
  86. }
  87. *Feature: Resolution
  88. {
  89. *rcNameID: =RESOLUTION_DISPLAY
  90. *DefaultOption: Option1
  91. *Option: Option1
  92. {
  93. *Name: "300 x 300 " =DOTS_PER_INCH
  94. *DPI: PAIR(300, 300)
  95. *TextDPI: PAIR(300, 300)
  96. *MinStripBlankPixels: 32
  97. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  98. *SpotDiameter: 100
  99. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  100. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  101. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  102. *Command: CmdSelect
  103. {
  104. *Order: DOC_SETUP.8
  105. *Cmd: "<1B>*t300R"
  106. }
  107. }
  108. *Option: Option2
  109. {
  110. *Name: "150 x 150 " =DOTS_PER_INCH
  111. *DPI: PAIR(150, 150)
  112. *TextDPI: PAIR(300, 300)
  113. *MinStripBlankPixels: 32
  114. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  115. *SpotDiameter: 100
  116. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  117. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  118. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.8
  122. *Cmd: "<1B>*t150R"
  123. }
  124. }
  125. }
  126. *Feature: PaperSize
  127. {
  128. *rcNameID: =PAPER_SIZE_DISPLAY
  129. *DefaultOption: LETTER
  130. *Option: LETTER
  131. {
  132. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  133. *PageProtectMem: 1028
  134. *switch: Orientation
  135. {
  136. *case: PORTRAIT
  137. {
  138. *PrintableArea: PAIR(4800, 6342)
  139. *PrintableOrigin: PAIR(150, 108)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(4796, 6340)
  145. *PrintableOrigin: PAIR(152, 108)
  146. }
  147. }
  148. *CursorOrigin: PAIR(150, 104)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.7
  152. *Cmd: "<1B>&l2a8c1E"
  153. }
  154. }
  155. *case: LANDSCAPE_CC90
  156. {
  157. *PrintableArea: PAIR(4850, 6300)
  158. *PrintableOrigin: PAIR(150, 150)
  159. *switch: Resolution
  160. {
  161. *case: Option2
  162. {
  163. *PrintableArea: PAIR(4848, 6296)
  164. *PrintableOrigin: PAIR(152, 152)
  165. }
  166. }
  167. *CursorOrigin: PAIR(152, 6450)
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.7
  171. *Cmd: "<1B>&l2a8c1E"
  172. }
  173. }
  174. }
  175. }
  176. *Option: LEGAL
  177. {
  178. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  179. *PageProtectMem: 1692
  180. *switch: Orientation
  181. {
  182. *case: PORTRAIT
  183. {
  184. *PrintableArea: PAIR(4800, 8200)
  185. *PrintableOrigin: PAIR(150, 100)
  186. *switch: Resolution
  187. {
  188. *case: Option2
  189. {
  190. *PrintableArea: PAIR(4796, 8200)
  191. *PrintableOrigin: PAIR(152, 100)
  192. }
  193. }
  194. *CursorOrigin: PAIR(160, 100)
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.7
  198. *Cmd: "<1B>&l3a8c1E"
  199. }
  200. }
  201. *case: LANDSCAPE_CC90
  202. {
  203. *PrintableArea: PAIR(4800, 8160)
  204. *PrintableOrigin: PAIR(140, 120)
  205. *CursorOrigin: PAIR(140, 8280)
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.7
  209. *Cmd: "<1B>&l3a8c1E"
  210. }
  211. }
  212. }
  213. }
  214. *Option: EXECUTIVE
  215. {
  216. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  217. *PageProtectMem: 1028
  218. *switch: Orientation
  219. {
  220. *case: PORTRAIT
  221. {
  222. *PrintableArea: PAIR(4000, 6050)
  223. *PrintableOrigin: PAIR(150, 100)
  224. *switch: Resolution
  225. {
  226. *case: Option2
  227. {
  228. *PrintableOrigin: PAIR(152, 100)
  229. }
  230. }
  231. *CursorOrigin: PAIR(150, 100)
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.7
  235. *Cmd: "<1B>&l1a8c1E"
  236. }
  237. }
  238. *case: LANDSCAPE_CC90
  239. {
  240. *PrintableArea: PAIR(4000, 6000)
  241. *PrintableOrigin: PAIR(100, 120)
  242. *CursorOrigin: PAIR(120, 6180)
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.7
  246. *Cmd: "<1B>&l1a8c1E"
  247. }
  248. }
  249. }
  250. }
  251. *Option: A4
  252. {
  253. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  254. *PageProtectMem: 1063
  255. *switch: Orientation
  256. {
  257. *case: PORTRAIT
  258. {
  259. *PrintableArea: PAIR(4680, 6814)
  260. *PrintableOrigin: PAIR(160, 100)
  261. *CursorOrigin: PAIR(160, 100)
  262. *Command: CmdSelect
  263. {
  264. *Order: DOC_SETUP.7
  265. *Cmd: "<1B>&l26a8c1E"
  266. }
  267. }
  268. *case: LANDSCAPE_CC90
  269. {
  270. *PrintableArea: PAIR(4680, 6756)
  271. *PrintableOrigin: PAIR(150, 108)
  272. *switch: Resolution
  273. {
  274. *case: Option2
  275. {
  276. *PrintableArea: PAIR(4760, 6788)
  277. }
  278. }
  279. *CursorOrigin: PAIR(100, 6898)
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.7
  283. *Cmd: "<1B>&l26a8c1E"
  284. }
  285. }
  286. }
  287. }
  288. *Option: A5
  289. {
  290. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  291. *PageProtectMem: 1063
  292. *switch: Orientation
  293. {
  294. *case: PORTRAIT
  295. {
  296. *PrintableArea: PAIR(3148, 4724)
  297. *PrintableOrigin: PAIR(150, 100)
  298. *CursorOrigin: PAIR(150, 100)
  299. *Command: CmdSelect
  300. {
  301. *Order: DOC_SETUP.7
  302. *Cmd: "<1B>&l13a8c1E"
  303. }
  304. }
  305. *case: LANDSCAPE_CC90
  306. {
  307. *PrintableArea: PAIR(3148, 4722)
  308. *PrintableOrigin: PAIR(100, 120)
  309. *switch: Resolution
  310. {
  311. *case: Option2
  312. {
  313. *PrintableArea: PAIR(3296, 4720)
  314. }
  315. }
  316. *CursorOrigin: PAIR(100, 4842)
  317. *Command: CmdSelect
  318. {
  319. *Order: DOC_SETUP.7
  320. *Cmd: "<1B>&l13a8c1E"
  321. }
  322. }
  323. }
  324. }
  325. *Option: B5
  326. {
  327. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  328. *PageProtectMem: 1063
  329. *switch: Orientation
  330. {
  331. *case: PORTRAIT
  332. {
  333. *PrintableArea: PAIR(4000, 5820)
  334. *PrintableOrigin: PAIR(152, 100)
  335. *CursorOrigin: PAIR(152, 100)
  336. *Command: CmdSelect
  337. {
  338. *Order: DOC_SETUP.7
  339. *Cmd: "<1B>&l12a8c1E"
  340. }
  341. }
  342. *case: LANDSCAPE_CC90
  343. {
  344. *PrintableArea: PAIR(4060, 5832)
  345. *PrintableOrigin: PAIR(100, 120)
  346. *CursorOrigin: PAIR(100, 5952)
  347. *Command: CmdSelect
  348. {
  349. *Order: DOC_SETUP.7
  350. *Cmd: "<1B>&l12a8c1E"
  351. }
  352. }
  353. }
  354. }
  355. *Option: ENV_10
  356. {
  357. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  358. *PageProtectMem: 1028
  359. *switch: Orientation
  360. {
  361. *case: PORTRAIT
  362. {
  363. *PrintableArea: PAIR(2178, 5500)
  364. *PrintableOrigin: PAIR(150, 100)
  365. *switch: Resolution
  366. {
  367. *case: Option2
  368. {
  369. *PrintableArea: PAIR(2176, 5500)
  370. *PrintableOrigin: PAIR(152, 100)
  371. }
  372. }
  373. *CursorOrigin: PAIR(150, 100)
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.7
  377. *Cmd: "<1B>&l81a1E"
  378. }
  379. }
  380. *case: LANDSCAPE_CC90
  381. {
  382. *PrintableArea: PAIR(2178, 5460)
  383. *PrintableOrigin: PAIR(200, 120)
  384. *switch: Resolution
  385. {
  386. *case: Option2
  387. {
  388. *PrintableArea: PAIR(2276, 5460)
  389. }
  390. }
  391. *CursorOrigin: PAIR(150, 5580)
  392. *Command: CmdSelect
  393. {
  394. *Order: DOC_SETUP.7
  395. *Cmd: "<1B>&l81a1E"
  396. }
  397. }
  398. }
  399. }
  400. *Option: ENV_DL
  401. {
  402. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  403. *PageProtectMem: 1028
  404. *switch: Orientation
  405. {
  406. *case: PORTRAIT
  407. {
  408. *PrintableArea: PAIR(2298, 4996)
  409. *PrintableOrigin: PAIR(150, 100)
  410. *switch: Resolution
  411. {
  412. *case: Option2
  413. {
  414. *PrintableArea: PAIR(2296, 4996)
  415. *PrintableOrigin: PAIR(152, 100)
  416. }
  417. }
  418. *CursorOrigin: PAIR(150, 100)
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.7
  422. *Cmd: "<1B>&l90a8c1E"
  423. }
  424. }
  425. *case: LANDSCAPE_CC90
  426. {
  427. *PrintableArea: PAIR(2298, 4956)
  428. *PrintableOrigin: PAIR(200, 120)
  429. *switch: Resolution
  430. {
  431. *case: Option2
  432. {
  433. *PrintableArea: PAIR(2296, 4956)
  434. }
  435. }
  436. *CursorOrigin: PAIR(150, 5076)
  437. *Command: CmdSelect
  438. {
  439. *Order: DOC_SETUP.7
  440. *Cmd: "<1B>&l90a8c1E"
  441. }
  442. }
  443. }
  444. }
  445. *Option: ENV_C5
  446. {
  447. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  448. *PageProtectMem: 1028
  449. *switch: Orientation
  450. {
  451. *case: PORTRAIT
  452. {
  453. *PrintableArea: PAIR(3528, 5160)
  454. *PrintableOrigin: PAIR(150, 100)
  455. *switch: Resolution
  456. {
  457. *case: Option2
  458. {
  459. *PrintableArea: PAIR(3524, 51602)
  460. *PrintableOrigin: PAIR(152, 100)
  461. }
  462. }
  463. *CursorOrigin: PAIR(150, 100)
  464. *Command: CmdSelect
  465. {
  466. *Order: DOC_SETUP.7
  467. *Cmd: "<1B>&l91a8c1E"
  468. }
  469. }
  470. *case: LANDSCAPE_CC90
  471. {
  472. *PrintableArea: PAIR(3500, 5140)
  473. *PrintableOrigin: PAIR(100, 120)
  474. *CursorOrigin: PAIR(80, 5292)
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.7
  478. *Cmd: "<1B>&l91a8c1E"
  479. }
  480. }
  481. }
  482. }
  483. *Option: ENV_MONARCH
  484. {
  485. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  486. *PageProtectMem: 1028
  487. *switch: Orientation
  488. {
  489. *case: PORTRAIT
  490. {
  491. *PrintableArea: PAIR(2028, 4160)
  492. *PrintableOrigin: PAIR(150, 152)
  493. *switch: Resolution
  494. {
  495. *case: Option2
  496. {
  497. *PrintableArea: PAIR(2024, 4160)
  498. *PrintableOrigin: PAIR(152, 100)
  499. }
  500. }
  501. *CursorOrigin: PAIR(150, 52)
  502. *Command: CmdSelect
  503. {
  504. *Order: DOC_SETUP.7
  505. *Cmd: "<1B>&l80a8c1E"
  506. }
  507. }
  508. *case: LANDSCAPE_CC90
  509. {
  510. *PrintableArea: PAIR(2028, 4160)
  511. *PrintableOrigin: PAIR(152, 120)
  512. *CursorOrigin: PAIR(152, 4280)
  513. *Command: CmdSelect
  514. {
  515. *Order: DOC_SETUP.7
  516. *Cmd: "<1B>&l80a8c1E"
  517. }
  518. }
  519. }
  520. }
  521. }
  522. *Feature: Halftone
  523. {
  524. *rcNameID: =HALFTONING_DISPLAY
  525. *DefaultOption: HT_PATSIZE_AUTO
  526. *Option: HT_PATSIZE_AUTO
  527. {
  528. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  529. }
  530. *Ifdef: WINNT_50
  531. *Option: HT_PATSIZE_SUPERCELL_M
  532. {
  533. *rcNameID: =HT_SUPERCELL_DISPLAY
  534. }
  535. *Endif:
  536. *Option: HT_PATSIZE_6x6_M
  537. {
  538. *rcNameID: =HT_DITHER6X6_DISPLAY
  539. }
  540. *Option: HT_PATSIZE_8x8_M
  541. {
  542. *rcNameID: =HT_DITHER8X8_DISPLAY
  543. }
  544. }
  545. *Feature: Memory
  546. {
  547. *rcNameID: =PRINTER_MEMORY_DISPLAY
  548. *DefaultOption: 1024KB
  549. *MemConfigKB: PAIR(1024, 700)
  550. *MemConfigKB: PAIR(2048, 1645)
  551. *MemConfigKB: PAIR(3072, 2590)
  552. *MemConfigKB: PAIR(4096, 3535)
  553. *MemConfigKB: PAIR(5120, 4480)
  554. }
  555. *switch: Memory
  556. {
  557. *case: 1024KB
  558. {
  559. *Command: CmdStartDoc
  560. {
  561. *Order: DOC_SETUP.1
  562. *Cmd: "<1B>E<1B>&l0S<1B>*r3F"
  563. }
  564. *RotateRaster?: FALSE
  565. }
  566. *case: 2048KB
  567. {
  568. *Command: CmdStartDoc
  569. {
  570. *Order: DOC_SETUP.1
  571. *Cmd: "<1B>E<1B>&l0S<1B>*r3F"
  572. }
  573. *RotateRaster?: FALSE
  574. }
  575. *case: 3072KB
  576. {
  577. *Command: CmdStartDoc
  578. {
  579. *Order: DOC_SETUP.1
  580. *Cmd: "<1B>E<1B>&l0S<1B>*r3F"
  581. }
  582. *RotateRaster?: FALSE
  583. }
  584. *default:
  585. {
  586. *Command: CmdStartDoc
  587. {
  588. *Order: DOC_SETUP.1
  589. *Cmd: "<1B>E<1B>&l0S<1B>*r0F"
  590. }
  591. *RotateRaster?: TRUE
  592. }
  593. }
  594. *Command: CmdStartPage
  595. {
  596. *Order: PAGE_SETUP.1
  597. *Cmd: "<1B>*b0M<0D>"
  598. }
  599. *Command: CmdEndJob
  600. {
  601. *Order: JOB_FINISH.1
  602. *Cmd: "<1B>E"
  603. }
  604. *Command: CmdCopies
  605. {
  606. *Order: DOC_SETUP.9
  607. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  608. }
  609. *RotateCoordinate?: TRUE
  610. *RotateFont?: TRUE
  611. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  612. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  613. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  614. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  615. *XMoveThreshold: 0
  616. *YMoveThreshold: 0
  617. *XMoveUnit: 300
  618. *YMoveUnit: 300
  619. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  620. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
  621. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
  622. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  623. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
  624. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
  625. *Command: CmdCR { *Cmd : "<0D>" }
  626. *Command: CmdLF { *Cmd : "<0A>" }
  627. *Command: CmdFF { *Cmd : "<0C>" }
  628. *Command: CmdBackSpace { *Cmd : "<08>" }
  629. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  630. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  631. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  632. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  633. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  634. *EjectPageWithFF?: TRUE
  635. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  636. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  637. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  638. *OutputDataFormat: H_BYTE
  639. *OptimizeLeftBound?: TRUE
  640. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  641. *CursorYAfterSendBlockData: AUTO_INCREMENT
  642. *DefaultFont: 136
  643. *DefaultCTT: 0
  644. *CharPosition: BASELINE
  645. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153)
  646. *MinFontID: 16534
  647. *MaxFontID: 32768
  648. *FontFormat: HPPCL
  649. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  650. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  651. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  652. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  653. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  654. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  655. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  656. *MinGrayFill: 1
  657. *MaxGrayFill: 100
  658. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  659. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  660. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  661. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }