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.

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