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.

506 lines
13 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "T7080.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Tally Color T7080"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "tly3res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: AUTO
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.4
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. *Option: ENVFEED
  40. {
  41. *rcNameID: =ENV_FEED_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.4
  45. *Cmd: "<1B>&l3H"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "600 x 600 " =DOTS_PER_INCH
  56. *DPI: PAIR(600, 600)
  57. *TextDPI: PAIR(600, 600)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 120
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.6
  66. *Cmd: "<1B>*t600R"
  67. }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "300 x 300 " =DOTS_PER_INCH
  72. *DPI: PAIR(300, 300)
  73. *TextDPI: PAIR(300, 300)
  74. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  75. *SpotDiameter: 170
  76. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  77. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.6
  82. *Cmd: "<1B>*t300R"
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "150 x 150 " =DOTS_PER_INCH
  88. *DPI: PAIR(150, 150)
  89. *TextDPI: PAIR(150, 150)
  90. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  91. *SpotDiameter: 140
  92. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  93. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.6
  98. *Cmd: "<1B>*t150R"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: LETTER
  106. *Option: LETTER
  107. {
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *PrintableArea: PAIR(4800, 6152)
  110. *PrintableOrigin: PAIR(150, 24)
  111. *CursorOrigin: PAIR(150, 24)
  112. *Command: CmdSelect
  113. {
  114. *Order: DOC_SETUP.5
  115. *Cmd: "<1B>&l2a1E"
  116. }
  117. }
  118. *Option: LEGAL
  119. {
  120. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  121. *PrintableArea: PAIR(4800, 7950)
  122. *PrintableOrigin: PAIR(150, 24)
  123. *CursorOrigin: PAIR(150, 24)
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.5
  127. *Cmd: "<1B>&l3a1E"
  128. }
  129. }
  130. *Option: A4
  131. {
  132. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  133. *PrintableArea: PAIR(4784, 6566)
  134. *PrintableOrigin: PAIR(78, 24)
  135. *CursorOrigin: PAIR(78, 24)
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.5
  139. *Cmd: "<1B>&l26a1E"
  140. }
  141. }
  142. *Option: A5
  143. {
  144. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  145. *PrintableArea: PAIR(3352, 4502)
  146. *PrintableOrigin: PAIR(78, 24)
  147. *CursorOrigin: PAIR(78, 24)
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.5
  151. *Cmd: "<1B>&l29a1E"
  152. }
  153. }
  154. *Option: EXECUTIVE
  155. {
  156. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  157. *PrintableArea: PAIR(4200, 5802)
  158. *PrintableOrigin: PAIR(76, 24)
  159. *CursorOrigin: PAIR(76, 24)
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.5
  163. *Cmd: "<1B>&l1a1E"
  164. }
  165. }
  166. *Option: FOLIO
  167. {
  168. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  169. *PrintableArea: PAIR(4944, 7302)
  170. *PrintableOrigin: PAIR(78, 24)
  171. *CursorOrigin: PAIR(78, 24)
  172. *Command: CmdSelect
  173. {
  174. *Order: DOC_SETUP.5
  175. *Cmd: "<1B>&l103a1E"
  176. }
  177. }
  178. *Option: STATEMENT
  179. {
  180. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  181. *PrintableArea: PAIR(3144, 4612)
  182. *PrintableOrigin: PAIR(78, 24)
  183. *CursorOrigin: PAIR(78, 24)
  184. *Command: CmdSelect
  185. {
  186. *Order: DOC_SETUP.5
  187. *Cmd: "<1B>&l104a1E"
  188. }
  189. }
  190. *Option: B5
  191. {
  192. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  193. *PrintableArea: PAIR(4144, 5600)
  194. *PrintableOrigin: PAIR(78, 24)
  195. *CursorOrigin: PAIR(78, 24)
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.5
  199. *Cmd: "<1B>&l101a1E"
  200. }
  201. }
  202. *Option: A6
  203. {
  204. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  205. *PrintableArea: PAIR(2324, 3028)
  206. *PrintableOrigin: PAIR(78, 24)
  207. *CursorOrigin: PAIR(78, 24)
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.5
  211. *Cmd: "<1B>&l73a1E"
  212. }
  213. }
  214. *Option: ENV_10
  215. {
  216. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  217. *PrintableArea: PAIR(1996, 5252)
  218. *PrintableOrigin: PAIR(240, 24)
  219. *CursorOrigin: PAIR(240, 24)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.5
  223. *Cmd: "<1B>&l81a1E"
  224. }
  225. }
  226. *Option: ENV_C5
  227. {
  228. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  229. *PrintableArea: PAIR(3348, 4956)
  230. *PrintableOrigin: PAIR(240, 24)
  231. *CursorOrigin: PAIR(240, 24)
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.5
  235. *Cmd: "<1B>&l91a1E"
  236. }
  237. }
  238. *Option: ENV_DL
  239. {
  240. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  241. *PrintableArea: PAIR(2118, 4746)
  242. *PrintableOrigin: PAIR(240, 24)
  243. *CursorOrigin: PAIR(240, 24)
  244. *Command: CmdSelect
  245. {
  246. *Order: DOC_SETUP.5
  247. *Cmd: "<1B>&l90a1E"
  248. }
  249. }
  250. *Option: ENV_C6
  251. {
  252. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  253. *PrintableArea: PAIR(2212, 3376)
  254. *PrintableOrigin: PAIR(240, 24)
  255. *CursorOrigin: PAIR(240, 24)
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.5
  259. *Cmd: "<1B>&l92a1E"
  260. }
  261. }
  262. *Option: ENV_B6
  263. {
  264. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  265. *PrintableArea: PAIR(3958, 2952)
  266. *PrintableOrigin: PAIR(240, 24)
  267. *CursorOrigin: PAIR(240, 24)
  268. *Command: CmdSelect
  269. {
  270. *Order: DOC_SETUP.5
  271. *Cmd: "<1B>&l95a1E"
  272. }
  273. }
  274. *Option: ENV_B5
  275. {
  276. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  277. *PrintableArea: PAIR(3678, 5456)
  278. *PrintableOrigin: PAIR(240, 24)
  279. *CursorOrigin: PAIR(240, 24)
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.5
  283. *Cmd: "<1B>&l102a1E"
  284. }
  285. }
  286. *Option: ENV_MONARCH
  287. {
  288. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289. *PrintableArea: PAIR(1846, 4052)
  290. *PrintableOrigin: PAIR(240, 24)
  291. *CursorOrigin: PAIR(240, 24)
  292. *Command: CmdSelect
  293. {
  294. *Order: DOC_SETUP.5
  295. *Cmd: "<1B>&l105a1E"
  296. }
  297. }
  298. }
  299. *Feature: MediaType
  300. {
  301. *rcNameID: =MEDIA_TYPE_DISPLAY
  302. *DefaultOption: STANDARD
  303. *Option: STANDARD
  304. {
  305. *rcNameID: =PLAIN_PAPER_DISPLAY
  306. *Command: CmdSelect
  307. {
  308. *Order: PAGE_SETUP.8
  309. *Cmd: "<1B>&l0M"
  310. }
  311. }
  312. *Option: Option2
  313. {
  314. *rcNameID: 268
  315. *Command: CmdSelect
  316. {
  317. *Order: PAGE_SETUP.8
  318. *Cmd: "<1B>&l1M"
  319. }
  320. }
  321. *Option: Option3
  322. {
  323. *rcNameID: 269
  324. *Command: CmdSelect
  325. {
  326. *Order: PAGE_SETUP.8
  327. *Cmd: "<1B>&l2M"
  328. }
  329. }
  330. *Option: GLOSSY
  331. {
  332. *rcNameID: =GLOSSY_PAPER_DISPLAY
  333. *Command: CmdSelect
  334. {
  335. *Order: PAGE_SETUP.8
  336. *Cmd: "<1B>&l3M"
  337. }
  338. }
  339. *Option: TRANSPARENCY
  340. {
  341. *rcNameID: =TRANSPARENCY_DISPLAY
  342. *Command: CmdSelect
  343. {
  344. *Order: PAGE_SETUP.8
  345. *Cmd: "<1B>&l4M"
  346. }
  347. }
  348. }
  349. *Feature: PrintQuality
  350. {
  351. *rcNameID: =TEXT_QUALITY_DISPLAY
  352. *DefaultOption: Option1
  353. *Option: Option1
  354. {
  355. *rcNameID: 272
  356. *Command: CmdSelect
  357. {
  358. *Order: DOC_SETUP.3
  359. *Cmd: "<1B>*o0M"
  360. }
  361. }
  362. *Option: Option2
  363. {
  364. *rcNameID: 273
  365. *Command: CmdSelect
  366. {
  367. *Order: DOC_SETUP.3
  368. *Cmd: "<1B>*o-1M"
  369. }
  370. }
  371. *Option: Option3
  372. {
  373. *rcNameID: 274
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.3
  377. *Cmd: "<1B>*o1M"
  378. }
  379. }
  380. }
  381. *Feature: ColorMode
  382. {
  383. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  384. *DefaultOption: Color
  385. *Option: Mono
  386. {
  387. *rcNameID: =MONO_DISPLAY
  388. *DevNumOfPlanes: 1
  389. *DevBPP: 1
  390. *Color? : FALSE
  391. }
  392. *Option: Color
  393. {
  394. *rcNameID: =COLOR_DISPLAY
  395. *DevNumOfPlanes: 3
  396. *DevBPP: 1
  397. *DrvBPP: 4
  398. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  399. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  400. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  401. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  402. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  403. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  404. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  405. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  406. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  407. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  408. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  409. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  410. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  411. *Command: CmdSelect
  412. {
  413. *Order: PAGE_SETUP.9
  414. *Cmd: "<1B>*r-3U"
  415. }
  416. }
  417. }
  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. *Command: CmdStartDoc
  442. {
  443. *Order: DOC_SETUP.1
  444. *Cmd: "<1B>E<1B>&l0O<1B>&l0L<1B>*r1U"
  445. }
  446. *Command: CmdStartPage
  447. {
  448. *Order: PAGE_SETUP.1
  449. *Cmd: "<0D>"
  450. }
  451. *Command: CmdEndJob
  452. {
  453. *Order: JOB_FINISH.1
  454. *Cmd: "<1B>E"
  455. }
  456. *Command: CmdEndPage
  457. {
  458. *Order: PAGE_FINISH.1
  459. *Cmd: "<0D>"
  460. }
  461. *RotateCoordinate?: FALSE
  462. *RotateRaster?: FALSE
  463. *RotateFont?: FALSE
  464. *switch: Orientation
  465. {
  466. *case: PORTRAIT
  467. {
  468. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  469. }
  470. *case: LANDSCAPE_CC270
  471. {
  472. *TextCaps: LIST()
  473. }
  474. }
  475. *ChangeColorModeOnDoc?: FALSE
  476. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  477. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  478. *XMoveThreshold: 0
  479. *YMoveThreshold: *
  480. *XMoveUnit: 300
  481. *YMoveUnit: 300
  482. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  483. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  484. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  485. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  486. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  487. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  488. *Command: CmdCR { *Cmd : "<0D>" }
  489. *Command: CmdLF { *Cmd : "<0A>" }
  490. *Command: CmdFF { *Cmd : "<0C>" }
  491. *EjectPageWithFF?: TRUE
  492. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  493. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  494. *OutputDataFormat: H_BYTE
  495. *OptimizeLeftBound?: FALSE
  496. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  497. *CursorYAfterSendBlockData: AUTO_INCREMENT
  498. *LookAheadRegion: 360
  499. *DefaultFont: 1
  500. *DefaultCTT: 0
  501. *CharPosition: BASELINE
  502. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  503. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  504.