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.

423 lines
12 KiB

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