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.

596 lines
16 KiB

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