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.

623 lines
17 KiB

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