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.

386 lines
11 KiB

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