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.

450 lines
14 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated.
  4. *% All Rights Reserved.
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "1.0"
  11. *LanguageVersion: English
  12. *PCFileName: "OKOL8501.PPD"
  13. *Product: "(OL850)"
  14. *PSVersion: "(52.5) 1"
  15. *ModelName: "OKI OL850"
  16. *NickName: "OKI OL850 v52.5"
  17. *% General Information and Defaults ===============
  18. *FreeVM: "445616"
  19. *VMOption None/2 MB: "445616"
  20. *VMOption 4Meg/4 MB: "2542768"
  21. *OpenGroup: InstallableOptions
  22. *OpenUI *Option1/Memory Configuration: PickOne
  23. *DefaultOption1: None
  24. *Option1 None/2 MB: ""
  25. *Option1 4Meg/4 MB: ""
  26. *CloseUI: *Option1
  27. *OpenUI *Option2/Lower Tray: Boolean
  28. *DefaultOption2: False
  29. *Option2 True/Installed: ""
  30. *Option2 False/Not Installed: ""
  31. *CloseUI: *Option2
  32. *OpenUI *Option3/Envolope Feeder: Boolean
  33. *DefaultOption3: False
  34. *Option3 True/Installed: ""
  35. *Option3 False/Not Installed: ""
  36. *CloseUI: *Option3
  37. *CloseGroup: InstallableOptions
  38. *UIConstraints: *Option1 None *VMOption
  39. *UIConstraints: *Option1 4Meg *VMOption None
  40. *UIConstraints: *Option2 False *InputSlot Lower
  41. *UIConstraints: *InputSlot Lower *ManualFeed True
  42. *UIConstraints: *ManualFeed True *InputSlot Lower
  43. *UIConstraints: *Option1 None *PageSize Legal
  44. *UIConstraints: *Option1 None *PageRegion Legal
  45. *% ==== Device Capabilities ===============
  46. *LanguageLevel: "1"
  47. *Extensions: FileSystem
  48. *StartEmulator_hplj: "currentfile /hpcl statusdict /emulate get exec "
  49. *StopEmulator_hplj: "<1B7F>0"
  50. *StartEmulator_diablo: "
  51. 0 serverdict /exitserver get exec
  52. currentfile 2 statusdict /setsoftwareiomode get exec
  53. "
  54. *End
  55. *StopEmulator_diablo: ""
  56. *ColorDevice: False
  57. *DefaultColorSpace: Gray
  58. *VariablePaperSize: False
  59. *FileSystem: True
  60. *?FileSystem: "
  61. save
  62. statusdict /diskonline get exec {(True)}{(False)} ifelse = flush
  63. restore
  64. "
  65. *End
  66. *Throughput: "8"
  67. *Password: "0"
  68. *ExitServer: "
  69. count 0 eq { % is the password on the stack?
  70. true
  71. }{
  72. dup % potential password
  73. statusdict /checkpassword get exec not
  74. } ifelse
  75. { % if no password or not valid
  76. (WARNING : Cannot perform the exitserver command.) =
  77. (Password supplied is not valid.) =
  78. (Please contact the author of this software.) = flush
  79. quit
  80. } if
  81. serverdict /exitserver get exec
  82. "
  83. *End
  84. *Reset: "
  85. count 0 eq { % is the password on the stack?
  86. true
  87. }{
  88. dup % potential password
  89. statusdict /checkpassword get exec not
  90. } ifelse
  91. { % if no password or not valid
  92. (WARNING : Cannot reset printer.) =
  93. (Password supplied is not valid.) =
  94. (Please contact the author of this software.) = flush
  95. quit
  96. } if
  97. serverdict /exitserver get exec
  98. systemdict /quit get exec
  99. (WARNING : Printer Reset Failed.) = flush
  100. "
  101. *End
  102. *DefaultResolution: 300dpi
  103. *?Resolution: "
  104. save
  105. initgraphics
  106. matrix defaultmatrix dup
  107. 0 get dup mul exch 1 get dup mul add sqrt
  108. 72 mul round cvi
  109. ( ) cvs print (dpi) = flush
  110. restore
  111. "
  112. *End
  113. *% Halftone Information ===============
  114. *ScreenFreq: "60.0"
  115. *ScreenAngle: "45.0"
  116. *DefaultScreenProc: Dot
  117. *ScreenProc Dot: "
  118. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  119. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  120. "
  121. *End
  122. *ScreenProc Line: "{ pop }"
  123. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  124. *DefaultTransfer: Null
  125. *Transfer Null: "{ }"
  126. *Transfer Null.Inverse: "{ 1 exch sub }"
  127. *% Paper Handling ===================
  128. *% Code in this section selects a tray and sets up a frame buffer.
  129. *OpenUI *PageSize: PickOne
  130. *OrderDependency: 30 AnySetup *PageSize
  131. *DefaultPageSize: Letter
  132. *PageSize Letter: "statusdict /lettertray get exec"
  133. *PageSize Legal: "statusdict /legaltray get exec"
  134. *PageSize Executive: "statusdict /executivetray get exec"
  135. *PageSize A4: "statusdict /a4tray get exec"
  136. *PageSize A5: "statusdict /a5tray get exec"
  137. *PageSize B5: "statusdict /b5tray get exec"
  138. *?PageSize: "
  139. save
  140. 6 dict
  141. dup /letter (Letter) put
  142. dup /legal (Legal) put
  143. dup /executivepage (Executive) put
  144. dup /a4 (A4) put
  145. dup /a5 (A5) put
  146. dup /b5 (B5) put
  147. statusdict /papersize get exec
  148. 3 1 roll {get} stopped {(Unknown)}if
  149. exch not { print (.Transverse) }if
  150. = flush
  151. restore
  152. "
  153. *End
  154. *CloseUI: *PageSize
  155. *% These entries will set up the frame buffer. Usually used with manual feed.
  156. *OpenUI *PageRegion: PickOne
  157. *OrderDependency: 40 AnySetup *PageRegion
  158. *DefaultPageRegion: Letter
  159. *PageRegion Letter: "letter"
  160. *PageRegion Legal: "legal"
  161. *PageRegion A4: "a4"
  162. *PageRegion A5: "a5"
  163. *PageRegion B5: "b5"
  164. *PageRegion Executive: "executivepage"
  165. *CloseUI: *PageRegion
  166. *% The following entries provide information about specific paper keywords.
  167. *DefaultImageableArea: Letter
  168. *ImageableArea Letter: "7.2 7.4401 606.0 779.04 "
  169. *ImageableArea Legal: "7.2 7.4401 606.0 995.04 "
  170. *ImageableArea A4: "7.2 7.4401 586.8 828.96 "
  171. *ImageableArea A5: "7.2 7.4401 410.16 582.24 "
  172. *ImageableArea B5: "7.2 7.4401 506.16 715.44 "
  173. *ImageableArea Executive: "7.2 7.4401 513.84 743.04 "
  174. *?ImageableArea: "
  175. save
  176. /cvp { ( ) cvs print ( ) print } bind def
  177. /upperright {10000 mul floor 10000 div} bind def
  178. /lowerleft {10000 mul ceiling 10000 div} bind def
  179. newpath clippath pathbbox
  180. 4 -2 roll exch 2 {lowerleft cvp} repeat
  181. exch 2 {upperright cvp} repeat flush
  182. restore
  183. "
  184. *End
  185. *% These provide the physical dimensions of the paper (by keyword)
  186. *DefaultPaperDimension: Letter
  187. *PaperDimension Letter: "612 792"
  188. *PaperDimension Legal: "612 1008"
  189. *PaperDimension A4: "595 842"
  190. *PaperDimension A5: "420 595"
  191. *PaperDimension B5: "516 729"
  192. *PaperDimension Executive: "540 756"
  193. *OpenUI *ManualFeed: Boolean
  194. *OrderDependency: 20 AnySetup *ManualFeed
  195. *DefaultManualFeed: False
  196. *ManualFeed True: "statusdict /manualfeed true put"
  197. *ManualFeed False: "statusdict /manualfeed false put"
  198. *?ManualFeed: "
  199. save
  200. statusdict /manualfeed get
  201. {(True)}{(False)}ifelse = flush
  202. restore
  203. "
  204. *End
  205. *CloseUI: *ManualFeed
  206. *RequiresPageRegion All: True
  207. *OpenUI *InputSlot: PickOne
  208. *OrderDependency: 20 AnySetup *InputSlot
  209. *DefaultInputSlot: Upper
  210. *InputSlot Upper: "0 statusdict /setpapertray get exec"
  211. *InputSlot Lower: "1 statusdict /setpapertray get exec"
  212. *?InputSlot: "
  213. save
  214. [
  215. (Upper) 0
  216. (Lower) 1
  217. ] statusdict /papertray get exec
  218. {get exec} stopped { pop pop (Unknown) } if = flush
  219. restore
  220. "
  221. *End
  222. *CloseUI: *InputSlot
  223. *PageStackOrder: Normal
  224. *DefaultOutputOrder: Normal
  225. *OpenUI *TraySwitch: Boolean
  226. *OrderDependency: 50 AnySetup *TraySwitch
  227. *DefaultTraySwitch: False
  228. *TraySwitch True: "statusdict /trayswitch true put"
  229. *TraySwitch False: "statusdict /trayswitch false put"
  230. *?TraySwitch: "
  231. save
  232. statusdict /trayswitch get {(True)}{(False)}ifelse = flush
  233. restore
  234. "
  235. *End
  236. *CloseUI: *TraySwitch
  237. *% Font Information =====================
  238. *DefaultFont: Courier
  239. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  240. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  241. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  242. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  243. *Font Bookman-Demi: Standard "(001.003)" Standard ROM
  244. *Font Bookman-DemiItalic: Standard "(001.003)" Standard ROM
  245. *Font Bookman-Light: Standard "(001.003)" Standard ROM
  246. *Font Bookman-LightItalic: Standard "(001.003)" Standard ROM
  247. *Font Courier: Standard "(002.003)" Standard ROM
  248. *Font Courier-Bold: Standard "(002.003)" Standard ROM
  249. *Font Courier-BoldOblique: Standard "(002.003)" Standard ROM
  250. *Font Courier-Oblique: Standard "(002.003)" Standard ROM
  251. *Font Helvetica: Standard "(001.006)" Standard ROM
  252. *Font Helvetica-Bold: Standard "(001.007)" Standard ROM
  253. *Font Helvetica-BoldOblique: Standard "(001.007)" Standard ROM
  254. *Font Helvetica-Narrow: Standard "(001.006)" Standard ROM
  255. *Font Helvetica-Narrow-Bold: Standard "(001.007)" Standard ROM
  256. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007)" Standard ROM
  257. *Font Helvetica-Narrow-Oblique: Standard "(001.006)" Standard ROM
  258. *Font Helvetica-Oblique: Standard "(001.006)" Standard ROM
  259. *Font NewCenturySchlbk-Bold: Standard "(001.008)" Standard ROM
  260. *Font NewCenturySchlbk-BoldItalic: Standard "(001.006)" Standard ROM
  261. *Font NewCenturySchlbk-Italic: Standard "(001.005)" Standard ROM
  262. *Font NewCenturySchlbk-Roman: Standard "(001.006)" Standard ROM
  263. *Font Palatino-Bold: Standard "(001.005)" Standard ROM
  264. *Font Palatino-BoldItalic: Standard "(001.005)" Standard ROM
  265. *Font Palatino-Italic: Standard "(001.005)" Standard ROM
  266. *Font Palatino-Roman: Standard "(001.005)" Standard ROM
  267. *Font Symbol: Special "(001.007)" Special ROM
  268. *Font Times-Bold: Standard "(001.007)" Standard ROM
  269. *Font Times-BoldItalic: Standard "(001.009)" Standard ROM
  270. *Font Times-Italic: Standard "(001.007)" Standard ROM
  271. *Font Times-Roman: Standard "(001.007)" Standard ROM
  272. *Font ZapfChancery-MediumItalic: Standard "(001.006)" Standard ROM
  273. *Font ZapfDingbats: Special "(001.004)" Special ROM
  274. *?FontQuery: "
  275. save
  276. /str 100 string dup 0 (fonts/) putinterval def
  277. {
  278. count 1 gt
  279. {
  280. exch dup str 6 94 getinterval cvs
  281. (/) print dup print (:) print exch
  282. FontDirectory exch known
  283. { pop (Yes) }
  284. {
  285. length 6 add str 0 3 -1 roll getinterval
  286. mark exch status
  287. {cleartomark (Yes)}{cleartomark (No)} ifelse
  288. } ifelse =
  289. }
  290. {exit} ifelse
  291. }bind loop
  292. (*) = flush
  293. restore
  294. "
  295. *End
  296. *?FontList: "
  297. save
  298. FontDirectory { pop == } bind forall flush
  299. /filenameforall where
  300. {
  301. pop (fonts/*)
  302. {dup length 6 sub 6 exch getinterval cvn == } bind
  303. 128 string filenameforall flush
  304. } if
  305. (*) = flush
  306. restore
  307. "
  308. *End
  309. *% Printer Messages (verbatim from printer):
  310. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  311. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  312. *Message: "\FontName\ not found, using Courier"
  313. *% Status (format: %%[ status: <one of these> ]%% )
  314. *Status: "idle"
  315. *Status: "busy"
  316. *Status: "waiting"
  317. *Status: "printing"
  318. *Status: "warming up"
  319. *Status: "Printer Error: ERROR ENGINE"
  320. *Status: "Printer Error: ERROR ENGINE FAN"
  321. *Status: "Printer Error: ERROR ENGINE FUSER"
  322. *Status: "Printer Error: ERROR OPTION RAM"
  323. *Status: "Printer Error: ERROR RESIDENT RAM"
  324. *Status: "Printer Error: ERROR EEPROM"
  325. *Status: "Printer Error: ERROR PROGRAM ROM"
  326. *Status: "Printer Error: COVER OPEN"
  327. *Status: "Printer Error: PAPER JAM TRAY1"
  328. *Status: "Printer Error: PAPER JAM TRAY2"
  329. *Status: "Printer Error: PAPER FEED JAM TRAY1"
  330. *Status: "Printer Error: PAPER FEED JAM TRAY2"
  331. *Status: "Printer Error: PAPER OUT TRAY1"
  332. *Status: "Printer Error: PAPER OUT TRAY2"
  333. *Status: "Printer Error: FUSER LIFE"
  334. *Status: "Printer Error: DRUM LIFE"
  335. *Status: "Printer Error: TONER LOW"
  336. *Status: "Printer Error: Image is too light"
  337. *Status: "Printer Error: Image is too dark"
  338. *Status: "Printer Error: Blank page"
  339. *Status: "Printer Error: Full black image"
  340. *Status: "Printer Error: Stains on paper"
  341. *Status: "Printer Error: Cyclic abnormality"
  342. *Status: "Printer Error: Dark vertical lines"
  343. *Status: "Pirinter Error: White vertical lines"
  344. *Status: "Printer Error: Dirty back ground"
  345. *PrinterError: "ERROR ENGINE"
  346. *PrinterError: "ERROR ENGINE FAN"
  347. *PrinterError: "ERROR ENGINE FUSER"
  348. *PrinterError: "ERROR OPTION RAM"
  349. *PrinterError: "ERROR RESIDENT RAM"
  350. *PrinterError: "ERROR EEPROM"
  351. *PrinterError: "ERROR PROGRAM ROM"
  352. *PrinterError: "COVER OPEN"
  353. *PrinterError: "PAPER JAM TRAY1"
  354. *PrinterError: "PAPER JAM TRAY2"
  355. *PrinterError: "PAPER FEED JAM TRAY1"
  356. *PrinterError: "PAPER FEED JAM TRAY2"
  357. *PrinterError: "PAPER OUT TRAY1"
  358. *PrinterError: "PAPER OUT TRAY2"
  359. *PrinterError: "FUSER LIFE"
  360. *PrinterError: "DRUM LIFE"
  361. *PrinterError: "TONER LOW"
  362. *PrinterError: "Image is too light"
  363. *PrinterError: "Image is too dark"
  364. *PrinterError: "Blank page"
  365. *PrinterError: "Full black image"
  366. *PrinterError: "Stains on paper"
  367. *PrinterError: "Cyclic abnormality"
  368. *PrinterError: "Dark vertical lines"
  369. *PrinterError: "White vertical lines"
  370. *PrinterError: "Dirty back ground"
  371. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  372. *Source: "serial9"
  373. *Source: "serial25"
  374. *Source: "AppleTalk"
  375. *Source: "Centronics"
  376. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  377. *% Color Separation Information =====================
  378. *DefaultColorSep: ProcessBlack.60lpi.300dpi/ 60 lpi / 300 dpi
  379. *InkName: ProcessBlack/Process Black
  380. *InkName: CustomColor/Custom Color
  381. *InkName: ProcessCyan/Process Cyan
  382. *InkName: ProcessMagenta/Process Magenta
  383. *InkName: ProcessYellow/Process Yellow
  384. *% For 60 lpi / 300 dpi ===============================
  385. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  386. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  387. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  388. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  389. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  390. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  391. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  392. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  393. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  394. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  395. *% For 53 lpi / 300 dpi ===============================
  396. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  397. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  398. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  399. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  400. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  401. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  402. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  403. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  404. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  405. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  406. *% The byte count of this file should be exactly 014227 or 014677
  407. *% depending on the filesystem it resides in.
  408. *% end of PPD file for OL850