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.

409 lines
11 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OLTR7706.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Triumph Adler SDR 7706"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "pcl4res.dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. *Command: CmdSelect
  22. {
  23. *Order: DOC_SETUP.4
  24. *Cmd: "<1B>&l0o1E"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.4
  33. *Cmd: "<1B>&l1o6d1E"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: UPPER
  41. *Option: UPPER
  42. {
  43. *rcNameID: =UPPER_TRAY_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.2
  47. *Cmd: "<1B>&l1H"
  48. }
  49. }
  50. *Option: MANUAL
  51. {
  52. *rcNameID: =MANUAL_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.2
  56. *Cmd: "<1B>&l2H"
  57. }
  58. }
  59. *Option: LOWER
  60. {
  61. *rcNameID: =LOWER_TRAY_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.2
  65. *Cmd: "<1B>&l4H"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "300 x 300 " =DOTS_PER_INCH
  76. *DPI: PAIR(300, 300)
  77. *TextDPI: PAIR(300, 300)
  78. *MinStripBlankPixels: 32
  79. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  80. *SpotDiameter: 100
  81. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  82. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.5
  87. *Cmd: "<1B>*t300R"
  88. }
  89. }
  90. *Option: Option2
  91. {
  92. *Name: "150 x 150 " =DOTS_PER_INCH
  93. *DPI: PAIR(150, 150)
  94. *TextDPI: PAIR(300, 300)
  95. *MinStripBlankPixels: 32
  96. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  97. *SpotDiameter: 100
  98. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  99. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  100. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  101. *Command: CmdSelect
  102. {
  103. *Order: DOC_SETUP.5
  104. *Cmd: "<1B>*t150R"
  105. }
  106. }
  107. }
  108. *Feature: PaperSize
  109. {
  110. *rcNameID: =PAPER_SIZE_DISPLAY
  111. *DefaultOption: LETTER
  112. *Option: LETTER
  113. {
  114. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  115. *switch: Orientation
  116. {
  117. *case: PORTRAIT
  118. {
  119. *PrintableArea: PAIR(2400, 3160)
  120. *PrintableOrigin: PAIR(60, 75)
  121. *switch: Resolution
  122. {
  123. *case: Option2
  124. {
  125. *PrintableArea: PAIR(2400, 3158)
  126. *PrintableOrigin: PAIR(60, 76)
  127. }
  128. }
  129. *CursorOrigin: PAIR(60, 75)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.3
  133. *Cmd: "<1B>&l2a4d1e42F"
  134. }
  135. }
  136. *case: LANDSCAPE_CC90
  137. {
  138. *PrintableArea: PAIR(2400, 3160)
  139. *PrintableOrigin: PAIR(60, 75)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(2400, 3158)
  145. *PrintableOrigin: PAIR(60, 76)
  146. }
  147. }
  148. *CursorOrigin: PAIR(60, 3240)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.3
  152. *Cmd: "<1B>&l2a4d1e42F"
  153. }
  154. }
  155. }
  156. }
  157. *Option: LEGAL
  158. {
  159. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160. *switch: Orientation
  161. {
  162. *case: PORTRAIT
  163. {
  164. *PrintableArea: PAIR(2400, 4060)
  165. *PrintableOrigin: PAIR(60, 75)
  166. *switch: Resolution
  167. {
  168. *case: Option2
  169. {
  170. *PrintableArea: PAIR(2400, 4058)
  171. *PrintableOrigin: PAIR(60, 76)
  172. }
  173. }
  174. *CursorOrigin: PAIR(60, 75)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.3
  178. *Cmd: "<1B>&l3a4d1e54F"
  179. }
  180. }
  181. *case: LANDSCAPE_CC90
  182. {
  183. *PrintableArea: PAIR(2400, 4060)
  184. *PrintableOrigin: PAIR(60, 75)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(2400, 4058)
  190. *PrintableOrigin: PAIR(60, 76)
  191. }
  192. }
  193. *CursorOrigin: PAIR(60, 4140)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.3
  197. *Cmd: "<1B>&l3a4d1e54F"
  198. }
  199. }
  200. }
  201. }
  202. *Option: EXECUTIVE
  203. {
  204. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  205. *switch: Orientation
  206. {
  207. *case: PORTRAIT
  208. {
  209. *PrintableArea: PAIR(2025, 3010)
  210. *PrintableOrigin: PAIR(60, 75)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(2024, 3008)
  216. *PrintableOrigin: PAIR(60, 76)
  217. }
  218. }
  219. *CursorOrigin: PAIR(60, 75)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.3
  223. *Cmd: "<1B>&l1a4d1e40F"
  224. }
  225. }
  226. *case: LANDSCAPE_CC90
  227. {
  228. *PrintableArea: PAIR(2025, 3010)
  229. *PrintableOrigin: PAIR(60, 75)
  230. *switch: Resolution
  231. {
  232. *case: Option2
  233. {
  234. *PrintableArea: PAIR(2024, 3008)
  235. *PrintableOrigin: PAIR(60, 76)
  236. }
  237. }
  238. *CursorOrigin: PAIR(60, 3090)
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.3
  242. *Cmd: "<1B>&l1a4d1e40F"
  243. }
  244. }
  245. }
  246. }
  247. *Option: A4
  248. {
  249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250. *switch: Orientation
  251. {
  252. *case: PORTRAIT
  253. {
  254. *PrintableArea: PAIR(2331, 3367)
  255. *PrintableOrigin: PAIR(60, 75)
  256. *switch: Resolution
  257. {
  258. *case: Option2
  259. {
  260. *PrintableArea: PAIR(2330, 3366)
  261. *PrintableOrigin: PAIR(60, 76)
  262. }
  263. }
  264. *CursorOrigin: PAIR(55, 75)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.3
  268. *Cmd: "<1B>&l26a4d1e45F"
  269. }
  270. }
  271. *case: LANDSCAPE_CC90
  272. {
  273. *PrintableArea: PAIR(2331, 3367)
  274. *PrintableOrigin: PAIR(60, 75)
  275. *switch: Resolution
  276. {
  277. *case: Option2
  278. {
  279. *PrintableArea: PAIR(2330, 3366)
  280. *PrintableOrigin: PAIR(60, 76)
  281. }
  282. }
  283. *CursorOrigin: PAIR(60, 3447)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.3
  287. *Cmd: "<1B>&l26a4d1e45F"
  288. }
  289. }
  290. }
  291. }
  292. }
  293. *Feature: Halftone
  294. {
  295. *rcNameID: =HALFTONING_DISPLAY
  296. *DefaultOption: HT_PATSIZE_AUTO
  297. *Option: HT_PATSIZE_AUTO
  298. {
  299. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  300. }
  301. *Ifdef: WINNT_50
  302. *Option: HT_PATSIZE_SUPERCELL_M
  303. {
  304. *rcNameID: =HT_SUPERCELL_DISPLAY
  305. }
  306. *Endif:
  307. *Option: HT_PATSIZE_6x6_M
  308. {
  309. *rcNameID: =HT_DITHER6X6_DISPLAY
  310. }
  311. *Option: HT_PATSIZE_8x8_M
  312. {
  313. *rcNameID: =HT_DITHER8X8_DISPLAY
  314. }
  315. }
  316. *Feature: Memory
  317. {
  318. *rcNameID: =PRINTER_MEMORY_DISPLAY
  319. *DefaultOption: 1536KB
  320. *Option: 512KB
  321. {
  322. *Name: "512KB"
  323. *MemoryConfigKB: PAIR(512, 369)
  324. }
  325. *Option: 1536KB
  326. {
  327. *Name: "1536KB"
  328. *MemoryConfigKB: PAIR(1536, 1419)
  329. }
  330. *Option: 2560KB
  331. {
  332. *Name: "2560KB"
  333. *MemoryConfigKB: PAIR(2560, 2417)
  334. }
  335. *Option: 4608KB
  336. {
  337. *Name: "4608KB"
  338. *MemoryConfigKB: PAIR(4608, 4491)
  339. }
  340. }
  341. *Command: CmdStartDoc
  342. {
  343. *Order: DOC_SETUP.1
  344. *Cmd: "<1B>E<1B>&l0L"
  345. }
  346. *Command: CmdStartPage
  347. {
  348. *Order: PAGE_SETUP.1
  349. *Cmd: "<0D>"
  350. }
  351. *Command: CmdEndJob
  352. {
  353. *Order: JOB_FINISH.1
  354. *Cmd: "<1B>E"
  355. }
  356. *Command: CmdCopies
  357. {
  358. *Order: DOC_SETUP.6
  359. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  360. }
  361. *RotateCoordinate?: TRUE
  362. *RotateRaster?: FALSE
  363. *RotateFont?: TRUE
  364. *TextCaps: LIST(TC_UA_ABLE)
  365. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  366. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  367. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  368. *XMoveThreshold: 0
  369. *YMoveThreshold: 0
  370. *XMoveUnit: 300
  371. *YMoveUnit: 300
  372. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  373. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  374. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  375. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  376. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  377. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  378. *Command: CmdCR { *Cmd : "<0D>" }
  379. *Command: CmdLF { *Cmd : "<0A>" }
  380. *Command: CmdFF { *Cmd : "<0C>" }
  381. *Command: CmdBackSpace { *Cmd : "<08>" }
  382. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  383. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  384. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  385. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  386. *EjectPageWithFF?: TRUE
  387. *OutputDataFormat: H_BYTE
  388. *OptimizeLeftBound?: TRUE
  389. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  390. *CursorYAfterSendBlockData: AUTO_INCREMENT
  391. *DefaultFont: 207
  392. *DefaultCTT: 0
  393. *CharPosition: BASELINE
  394. *DLSymbolSet: ROMAN_8
  395. *DeviceFonts: LIST(205,206,207,211)
  396. *MinFontID: 1
  397. *MaxFontID: 99
  398. *MaxNumDownFonts: 32
  399. *FontFormat: HPPCL
  400. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  401. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  402. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  403. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  404. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  405. *MinGrayFill: 1
  406. *MaxGrayFill: 100
  407. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  408. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  409. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }