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.

624 lines
17 KiB

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