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.

673 lines
19 KiB

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