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.

598 lines
17 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: "Sml8xres.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.2
  20. *Cmd: "<1B>&l0O"
  21. }
  22. }
  23. *Option: LANDSCAPE_CC90
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. *Command: CmdSelect
  27. {
  28. *Order: DOC_SETUP.2
  29. *Cmd: "<1B>&l1O"
  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.3
  43. *Cmd: "<1B>&l1H"
  44. }
  45. }
  46. *Option: MANUAL
  47. {
  48. *rcNameID: =MANUAL_FEED_DISPLAY
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.3
  52. *Cmd: "<1B>&l2H"
  53. }
  54. }
  55. }
  56. *Feature: Resolution
  57. {
  58. *rcNameID: =RESOLUTION_DISPLAY
  59. *DefaultOption: Option1
  60. *Option: Option1
  61. {
  62. *Name: "300 x 300 " =DOTS_PER_INCH
  63. *DPI: PAIR(300, 300)
  64. *TextDPI: PAIR(300, 300)
  65. *MinStripBlankPixels: 32
  66. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  67. *SpotDiameter: 100
  68. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  69. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  70. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.5
  74. *Cmd: "<1B>*t300R"
  75. }
  76. }
  77. *Option: Option2
  78. {
  79. *Name: "150 x 150 " =DOTS_PER_INCH
  80. *DPI: PAIR(150, 150)
  81. *TextDPI: PAIR(300, 300)
  82. *MinStripBlankPixels: 32
  83. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  84. *SpotDiameter: 100
  85. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  86. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  87. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.5
  91. *Cmd: "<1B>*t150R"
  92. }
  93. }
  94. }
  95. *Feature: PaperSize
  96. {
  97. *rcNameID: =PAPER_SIZE_DISPLAY
  98. *DefaultOption: LETTER
  99. *Option: LETTER
  100. {
  101. *rcNameID: =LETTER_DISPLAY
  102. *switch: Orientation
  103. {
  104. *case: PORTRAIT
  105. {
  106. *PrintableArea: PAIR(2395, 3175)
  107. *PrintableOrigin: PAIR(75, 75)
  108. *switch: Resolution
  109. {
  110. *case: Option2
  111. {
  112. *PrintableArea: PAIR(2394, 3174)
  113. *PrintableOrigin: PAIR(76, 76)
  114. }
  115. }
  116. *CursorOrigin: PAIR(45, 90)
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.4
  120. *Cmd: "<1B>&l2a4d1e42F"
  121. }
  122. }
  123. *case: LANDSCAPE_CC90
  124. {
  125. *PrintableArea: PAIR(2418, 3180)
  126. *PrintableOrigin: PAIR(72, 65)
  127. *switch: Resolution
  128. {
  129. *case: Option2
  130. {
  131. *PrintableArea: PAIR(2418, 3178)
  132. *PrintableOrigin: PAIR(72, 66)
  133. }
  134. }
  135. *CursorOrigin: PAIR(90, 3255)
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.4
  139. *Cmd: "<1B>&l2a4d1e42F"
  140. }
  141. }
  142. }
  143. }
  144. *Option: LEGAL
  145. {
  146. *rcNameID: =LEGAL_DISPLAY
  147. *switch: Orientation
  148. {
  149. *case: PORTRAIT
  150. {
  151. *PrintableArea: PAIR(2415, 4075)
  152. *PrintableOrigin: PAIR(75, 75)
  153. *switch: Resolution
  154. {
  155. *case: Option2
  156. {
  157. *PrintableArea: PAIR(2414, 4074)
  158. *PrintableOrigin: PAIR(76, 76)
  159. }
  160. }
  161. *CursorOrigin: PAIR(75, 75)
  162. *Command: CmdSelect
  163. {
  164. *Order: DOC_SETUP.4
  165. *Cmd: "<1B>&l3a4d1e54F"
  166. }
  167. }
  168. *case: LANDSCAPE_CC90
  169. {
  170. *PrintableArea: PAIR(2418, 4080)
  171. *PrintableOrigin: PAIR(72, 65)
  172. *switch: Resolution
  173. {
  174. *case: Option2
  175. {
  176. *PrintableArea: PAIR(2418, 4078)
  177. *PrintableOrigin: PAIR(72, 66)
  178. }
  179. }
  180. *CursorOrigin: PAIR(72, 4145)
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.4
  184. *Cmd: "<1B>&l3a4d1e54F"
  185. }
  186. }
  187. }
  188. }
  189. *Option: EXECUTIVE
  190. {
  191. *rcNameID: =EXECUTIVE_DISPLAY
  192. *switch: Orientation
  193. {
  194. *case: PORTRAIT
  195. {
  196. *PrintableArea: PAIR(2053, 3025)
  197. *PrintableOrigin: PAIR(69, 75)
  198. *switch: Resolution
  199. {
  200. *case: Option2
  201. {
  202. *PrintableArea: PAIR(2052, 3024)
  203. *PrintableOrigin: PAIR(70, 76)
  204. }
  205. }
  206. *CursorOrigin: PAIR(69, 75)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.4
  210. *Cmd: "<1B>&l1a4d1e40F"
  211. }
  212. }
  213. *case: LANDSCAPE_CC90
  214. {
  215. *PrintableArea: PAIR(2040, 3028)
  216. *PrintableOrigin: PAIR(75, 72)
  217. *switch: Resolution
  218. {
  219. *case: Option2
  220. {
  221. *PrintableArea: PAIR(2038, 3028)
  222. *PrintableOrigin: PAIR(76, 72)
  223. }
  224. }
  225. *CursorOrigin: PAIR(75, 3100)
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.4
  229. *Cmd: "<1B>&l1a4d1e40F"
  230. }
  231. }
  232. }
  233. }
  234. *Option: A4
  235. {
  236. *rcNameID: =A4_DISPLAY
  237. *switch: Orientation
  238. {
  239. *case: PORTRAIT
  240. {
  241. *PrintableArea: PAIR(2333, 3382)
  242. *PrintableOrigin: PAIR(75, 75)
  243. *switch: Resolution
  244. {
  245. *case: Option2
  246. {
  247. *PrintableArea: PAIR(2332, 3380)
  248. *PrintableOrigin: PAIR(76, 76)
  249. }
  250. }
  251. *CursorOrigin: PAIR(45, 85)
  252. *Command: CmdSelect
  253. {
  254. *Order: DOC_SETUP.4
  255. *Cmd: "<1B>&l26a4d1e45F"
  256. }
  257. }
  258. *case: LANDSCAPE_CC90
  259. {
  260. *PrintableArea: PAIR(2346, 3385)
  261. *PrintableOrigin: PAIR(75, 72)
  262. *switch: Resolution
  263. {
  264. *case: Option2
  265. {
  266. *PrintableArea: PAIR(2344, 3384)
  267. *PrintableOrigin: PAIR(76, 72)
  268. }
  269. }
  270. *CursorOrigin: PAIR(75, 3462)
  271. *Command: CmdSelect
  272. {
  273. *Order: DOC_SETUP.4
  274. *Cmd: "<1B>&l26a4d1e45F"
  275. }
  276. }
  277. }
  278. }
  279. *Option: ENV_10
  280. {
  281. *rcNameID: =ENV_10_DISPLAY
  282. *switch: Orientation
  283. {
  284. *case: PORTRAIT
  285. {
  286. *PrintableArea: PAIR(1117, 2725)
  287. *PrintableOrigin: PAIR(69, 75)
  288. *switch: Resolution
  289. {
  290. *case: Option2
  291. {
  292. *PrintableArea: PAIR(1116, 2724)
  293. *PrintableOrigin: PAIR(70, 76)
  294. }
  295. }
  296. *CursorOrigin: PAIR(69, 75)
  297. *Command: CmdSelect
  298. {
  299. *Order: DOC_SETUP.4
  300. *Cmd: "<1B>&l81a4d1E"
  301. }
  302. }
  303. *case: LANDSCAPE_CC90
  304. {
  305. *PrintableArea: PAIR(1104, 2739)
  306. *PrintableOrigin: PAIR(75, 72)
  307. *switch: Resolution
  308. {
  309. *case: Option2
  310. {
  311. *PrintableArea: PAIR(1102, 2738)
  312. *PrintableOrigin: PAIR(76, 72)
  313. }
  314. }
  315. *CursorOrigin: PAIR(75, 2811)
  316. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.4
  319. *Cmd: "<1B>&l81a4d1E"
  320. }
  321. }
  322. }
  323. }
  324. *Option: ENV_DL
  325. {
  326. *rcNameID: =ENV_DL_DISPLAY
  327. *switch: Orientation
  328. {
  329. *case: PORTRAIT
  330. {
  331. *PrintableArea: PAIR(1177, 2473)
  332. *PrintableOrigin: PAIR(69, 75)
  333. *switch: Resolution
  334. {
  335. *case: Option2
  336. {
  337. *PrintableArea: PAIR(1176, 2472)
  338. *PrintableOrigin: PAIR(70, 76)
  339. }
  340. }
  341. *CursorOrigin: PAIR(69, 75)
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.4
  345. *Cmd: "<1B>&l90a4d1e45F"
  346. }
  347. }
  348. *case: LANDSCAPE_CC90
  349. {
  350. *PrintableArea: PAIR(1164, 2487)
  351. *PrintableOrigin: PAIR(75, 72)
  352. *switch: Resolution
  353. {
  354. *case: Option2
  355. {
  356. *PrintableArea: PAIR(1162, 2486)
  357. *PrintableOrigin: PAIR(76, 72)
  358. }
  359. }
  360. *CursorOrigin: PAIR(75, 2559)
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.4
  364. *Cmd: "<1B>&l90a4d1e45F"
  365. }
  366. }
  367. }
  368. }
  369. *Option: ENV_C5
  370. {
  371. *rcNameID: =ENV_C5_DISPLAY
  372. *switch: Orientation
  373. {
  374. *case: PORTRAIT
  375. {
  376. *PrintableArea: PAIR(1792, 2581)
  377. *PrintableOrigin: PAIR(69, 75)
  378. *switch: Resolution
  379. {
  380. *case: Option2
  381. {
  382. *PrintableArea: PAIR(1790, 2580)
  383. *PrintableOrigin: PAIR(70, 76)
  384. }
  385. }
  386. *CursorOrigin: PAIR(69, 75)
  387. *Command: CmdSelect
  388. {
  389. *Order: DOC_SETUP.4
  390. *Cmd: "<1B>&l91a4d1e45F"
  391. }
  392. }
  393. *case: LANDSCAPE_CC90
  394. {
  395. *PrintableArea: PAIR(1779, 2595)
  396. *PrintableOrigin: PAIR(75, 72)
  397. *switch: Resolution
  398. {
  399. *case: Option2
  400. {
  401. *PrintableArea: PAIR(1778, 2594)
  402. *PrintableOrigin: PAIR(76, 72)
  403. }
  404. }
  405. *CursorOrigin: PAIR(75, 2667)
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.4
  409. *Cmd: "<1B>&l91a4d1e45F"
  410. }
  411. }
  412. }
  413. }
  414. *Option: ENV_MONARCH
  415. {
  416. *rcNameID: =ENV_MONARCH_DISPLAY
  417. *switch: Orientation
  418. {
  419. *case: PORTRAIT
  420. {
  421. *PrintableArea: PAIR(1042, 2125)
  422. *PrintableOrigin: PAIR(69, 75)
  423. *switch: Resolution
  424. {
  425. *case: Option2
  426. {
  427. *PrintableArea: PAIR(1040, 2124)
  428. *PrintableOrigin: PAIR(70, 76)
  429. }
  430. }
  431. *CursorOrigin: PAIR(69, 75)
  432. *Command: CmdSelect
  433. {
  434. *Order: DOC_SETUP.4
  435. *Cmd: "<1B>&l80a4d1e45F"
  436. }
  437. }
  438. *case: LANDSCAPE_CC90
  439. {
  440. *PrintableArea: PAIR(1029, 2139)
  441. *PrintableOrigin: PAIR(75, 72)
  442. *switch: Resolution
  443. {
  444. *case: Option2
  445. {
  446. *PrintableArea: PAIR(1028, 2138)
  447. *PrintableOrigin: PAIR(76, 72)
  448. }
  449. }
  450. *CursorOrigin: PAIR(75, 2211)
  451. *Command: CmdSelect
  452. {
  453. *Order: DOC_SETUP.4
  454. *Cmd: "<1B>&l80a4d1e45F"
  455. }
  456. }
  457. }
  458. }
  459. }
  460. *Feature: Halftone
  461. {
  462. *rcNameID: =HALFTONING_DISPLAY
  463. *DefaultOption: HT_PATSIZE_AUTO
  464. *Option: HT_PATSIZE_AUTO
  465. {
  466. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  467. }
  468. *Ifdef: WINNT_50
  469. *Option: HT_PATSIZE_SUPERCELL_M
  470. {
  471. *rcNameID: =HT_SUPERCELL_DISPLAY
  472. }
  473. *Endif:
  474. *Option: HT_PATSIZE_6x6_M
  475. {
  476. *rcNameID: =HT_DITHER6X6_DISPLAY
  477. }
  478. *Option: HT_PATSIZE_8x8_M
  479. {
  480. *rcNameID: =HT_DITHER8X8_DISPLAY
  481. }
  482. }
  483. *Feature: Memory
  484. {
  485. *rcNameID: =PRINTER_MEMORY_DISPLAY
  486. *DefaultOption: 1024KB
  487. *Option: 1024KB
  488. {
  489. *Name: "1MB"
  490. *MemoryConfigKB: PAIR(1024, 700)
  491. }
  492. *Option: 1536KB
  493. {
  494. *Name: "1536KB"
  495. *MemoryConfigKB: PAIR(1536, 1419)
  496. }
  497. *Option: 2048KB
  498. {
  499. *Name: "2MB"
  500. *MemoryConfigKB: PAIR(2048, 1645)
  501. }
  502. *Option: 2560KB
  503. {
  504. *Name: "2560KB"
  505. *MemoryConfigKB: PAIR(2560, 2243)
  506. }
  507. *Option: 5120KB
  508. {
  509. *Name: "5MB"
  510. *MemoryConfigKB: PAIR(5120, 4480)
  511. }
  512. *Option: 5632KB
  513. {
  514. *Name: "5632KB"
  515. *MemoryConfigKB: PAIR(5632, 5000)
  516. }
  517. *Option: 17400KB
  518. {
  519. *Name: "17400KB"
  520. *MemoryConfigKB: PAIR(17400, 14950)
  521. }
  522. *Option: 17900KB
  523. {
  524. *Name: "17900KB"
  525. *MemoryConfigKB: PAIR(17900, 15250)
  526. }
  527. }
  528. *Command: CmdStartDoc
  529. {
  530. *Order: DOC_SETUP.1
  531. *Cmd: "<1B>E<1B>&l0S<1B>&l0L<1B>*r0F"
  532. }
  533. *Command: CmdStartPage
  534. {
  535. *Order: PAGE_SETUP.1
  536. *Cmd: "<1B>*b0M<0D>"
  537. }
  538. *Command: CmdEndJob
  539. {
  540. *Order: JOB_FINISH.1
  541. *Cmd: "<1B>E"
  542. }
  543. *Command: CmdCopies
  544. {
  545. *Order: DOC_SETUP.6
  546. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  547. }
  548. *RotateCoordinate?: TRUE
  549. *RotateRaster?: TRUE
  550. *RotateFont?: TRUE
  551. *TextCaps: LIST(TC_UA_ABLE)
  552. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  553. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  554. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  555. *XMoveThreshold: 0
  556. *YMoveThreshold: 0
  557. *XMoveUnit: 300
  558. *YMoveUnit: 300
  559. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  560. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  561. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  562. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  563. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  564. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  565. *Command: CmdCR { *Cmd : "<0D>" }
  566. *Command: CmdLF { *Cmd : "<0A>" }
  567. *Command: CmdFF { *Cmd : "<0C>" }
  568. *Command: CmdBackSpace { *Cmd : "<08>" }
  569. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  570. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  571. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  572. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  573. *EjectPageWithFF?: TRUE
  574. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  575. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  576. *OutputDataFormat: H_BYTE
  577. *OptimizeLeftBound?: TRUE
  578. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  579. *CursorYAfterSendBlockData: AUTO_INCREMENT
  580. *DefaultFont: 3
  581. *DefaultCTT: 0
  582. *CharPosition: BASELINE
  583. *DeviceFonts: LIST(1,2,48,49,50,51,52)
  584. *MinFontID: 16384
  585. *MaxFontID: 32768
  586. *FontFormat: HPPCL
  587. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  588. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  589. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  590. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  591. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  592. *MinGrayFill: 1
  593. *MaxGrayFill: 100
  594. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  595. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  596. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  597. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  598. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }