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.

427 lines
12 KiB

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