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.

380 lines
13 KiB

  1. *PPD-Adobe: "4.1"
  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. *%
  10. *FormatVersion: "4.1"
  11. *FileVersion: "2.1"
  12. *LanguageEncoding: ISOLatin1
  13. *LanguageVersion: English
  14. *PCFileName: "OKI850US.PPD"
  15. *Product: "(OL850)"
  16. *PSVersion: "(52.5) 0"
  17. *ModelName: "Oki OL850-PS"
  18. *ShortNickName: "Okidata OL850 PostScript"
  19. *NickName: "Okidata OL850 PostScript"
  20. *% General Information and Defaults ===============
  21. *FreeVM: "445616"
  22. *LanguageLevel: "1"
  23. *ColorDevice: False
  24. *DefaultColorSpace: Gray
  25. *VariablePaperSize: False
  26. *FileSystem: False
  27. *Throughput: "8"
  28. *Password: "0"
  29. *ExitServer: "
  30. count 0 eq { % is the password on the stack?
  31. true
  32. }{
  33. dup % potential password
  34. statusdict /checkpassword get exec not
  35. } ifelse
  36. { % if no password or not valid
  37. (WARNING : Cannot perform the exitserver command.) =
  38. (Password supplied is not valid.) =
  39. (Please contact the author of this software.) = flush
  40. quit
  41. } if
  42. serverdict /exitserver get exec
  43. "
  44. *End
  45. *Reset: "
  46. count 0 eq { % is the password on the stack?
  47. true
  48. }{
  49. dup % potential password
  50. statusdict /checkpassword get exec not
  51. } ifelse
  52. { % if no password or not valid
  53. (WARNING : Cannot reset printer.) =
  54. (Password supplied is not valid.) =
  55. (Please contact the author of this software.) = flush
  56. quit
  57. } if
  58. serverdict /exitserver get exec
  59. systemdict /quit get exec
  60. (WARNING : Printer Reset Failed.) = flush
  61. "
  62. *End
  63. *DefaultResolution: 300dpi
  64. *?Resolution: "
  65. save
  66. initgraphics
  67. 0 0 moveto currentpoint matrix defaultmatrix transform
  68. 0 72 lineto currentpoint matrix defaultmatrix transform
  69. 3 -1 roll sub dup mul
  70. 3 1 roll exch sub dup mul
  71. add sqrt round cvi
  72. ( ) cvs print (dpi) = flush
  73. restore
  74. "
  75. *End
  76. *% Halftone Information ===============
  77. *ScreenFreq: "60.0"
  78. *ScreenAngle: "45.0"
  79. *DefaultScreenProc: Dot
  80. *ScreenProc Dot: "
  81. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  82. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  83. "
  84. *End
  85. *ScreenProc Line: "{ pop }"
  86. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  87. *DefaultTransfer: Null
  88. *Transfer Null: "{ }"
  89. *Transfer Null.Inverse: "{ 1 exch sub }"
  90. *% Paper Handling ===================
  91. *% Use these entries to set paper size most of the time, unless there is
  92. *% specific reason to use PageRegion.
  93. *OpenUI *PageSize: PickOne
  94. *OrderDependency: 30 AnySetup *PageSize
  95. *DefaultPageSize: Letter
  96. *PageSize Letter: "statusdict /lettertray get exec"
  97. *PageSize Legal: "statusdict /legaltray get exec"
  98. *PageSize Executive: "statusdict /executivetray get exec"
  99. *PageSize A4: "statusdict /a4tray get exec"
  100. *PageSize A5: "statusdict /a5tray get exec"
  101. *PageSize B5: "statusdict /b5tray get exec"
  102. *PageSize Envelope.297.684/Comm #10 Envelope:"statusdict /com10tray get exec"
  103. *PageSize Envelope.312.624/DL Envelope:"statusdict /dltray get exec"
  104. *PageSize Envelope.459.649/C5 Envelope:"statusdict /c5tray get exec"
  105. *PageSize Envelope.279.540/Monarch Envelope:"statusdict /monarchtray get exec"
  106. *?PageSize: "
  107. save
  108. 10 dict
  109. dup /letter (Letter) put
  110. dup /legal (Legal) put
  111. dup /executivepage (Executive) put
  112. dup /a4 (A4) put
  113. dup /a5 (A5) put
  114. dup /b5 (B5) put
  115. dup /com10 (Envelope.297.684) put
  116. dup /dl (Envelope.312.624) put
  117. dup /c5 (Envelope.459.649) put
  118. dup /monarch (Envelope.279.540) put
  119. statusdict /papersize get exec
  120. 3 1 roll {get} stopped {(Unknown)}if
  121. exch not { print (.Transverse) }if
  122. = flush
  123. restore
  124. "
  125. *End
  126. *CloseUI: *PageSize
  127. *% These entries will set up the frame buffer. Usually used with manual feed.
  128. *OpenUI *PageRegion: PickOne
  129. *OrderDependency: 40 AnySetup *PageRegion
  130. *DefaultPageRegion: A4
  131. *PageRegion Letter: "letter"
  132. *PageRegion Legal: "legal"
  133. *PageRegion Executive: "executivepage"
  134. *PageRegion A4: "a4"
  135. *PageRegion A5: "a5"
  136. *PageRegion B5: "b5"
  137. *PageRegion Envelope.297.684/Comm #10 Envelope: "com10"
  138. *PageRegion Envelope.312.624/DL Envelope: "dl"
  139. *PageRegion Envelope.459.649/C5 Envelope: "c5"
  140. *PageRegion Envelope.279.540/Monarch Envelope: "monarch"
  141. *CloseUI: *PageRegion
  142. *% The following entries provide information about specific paper keywords.
  143. *DefaultImageableArea: A4
  144. *ImageableArea Letter: "8 8 606 776 "
  145. *ImageableArea Legal: "8 8 606 992 "
  146. *ImageableArea Executive: "8 8 513 743"
  147. *ImageableArea A4: "8 8 586 826 "
  148. *ImageableArea A5: "8 8 410 579 "
  149. *ImageableArea B5: "8 8 506 713 "
  150. *ImageableArea Envelope.297.684/Comm #10 Envelope: "7 10 290 674"
  151. *ImageableArea Envelope.279.540/Monarch Envelope: "7 10 272 530"
  152. *ImageableArea Envelope.312.624/DL Envelope: "8 11 305 614"
  153. *ImageableArea Envelope.459.649/C5 Envelope: "7 10 452 639"
  154. *?ImageableArea: "
  155. save
  156. /cvp {( ) cvs print ( ) print } bind def
  157. /upperright {10000 mul floor 10000 div} bind def
  158. /lowerleft {10000 mul ceiling 10000 div} bind def
  159. newpath clippath pathbbox
  160. 4 -2 roll exch 2 {lowerleft cvp} repeat
  161. exch 2 {upperright cvp} repeat flush
  162. restore
  163. "
  164. *End
  165. *% These provide the physical dimensions of the paper (by keyword)
  166. *DefaultPaperDimension: A4
  167. *PaperDimension Letter: "612 792"
  168. *PaperDimension Legal: "612 1008"
  169. *PaperDimension Executive: "522 756"
  170. *PaperDimension A4: "595 842"
  171. *PaperDimension A5: "420 595"
  172. *PaperDimension B5: "516 729"
  173. *PaperDimension Envelope.297.684/Comm #10 Envelope:"297 684"
  174. *PaperDimension Envelope.312.624/DL Envelope:"312 624"
  175. *PaperDimension Envelope.459.649/C5 Envelope:"459 649"
  176. *PaperDimension Envelope.279.540/Monarch Envelope:"279 540"
  177. *RequiresPageRegion All: True
  178. *OpenUI *InputSlot: PickOne
  179. *OrderDependency: 20 AnySetup *InputSlot
  180. *DefaultInputSlot: Upper
  181. *InputSlot Upper: "0 statusdict /setpapertray get exec"
  182. *InputSlot Lower: "1 statusdict /setpapertray get exec"
  183. *InputSlot Envelope: "2 statusdict /setpapertray get exec"
  184. *?InputSlot: "
  185. save
  186. [ (Upper) (Lower) (Envelope) ] statusdict /papertray get exec
  187. {get exec} stopped { pop pop (Unknown)} if = flush
  188. restore
  189. "
  190. *End
  191. *CloseUI: *InputSlot
  192. *OpenUI *ManualFeed: Boolean
  193. *OrderDependency: 20 AnySetup *ManualFeed
  194. *DefaultManualFeed: False
  195. *ManualFeed True: "statusdict /manualfeed true put"
  196. *ManualFeed False: "statusdict /manualfeed false put"
  197. *?ManualFeed: "
  198. save
  199. statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  200. restore
  201. "
  202. *End
  203. *CloseUI: *ManualFeed
  204. *DefaultOutputOrder: Normal
  205. *% Font Information =====================
  206. *DefaultFont: Courier
  207. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  208. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  209. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  210. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  211. *Font Bookman-Demi: Standard "(001.003)" Standard ROM
  212. *Font Bookman-DemiItalic: Standard "(001.003)" Standard ROM
  213. *Font Bookman-Light: Standard "(001.003)" Standard ROM
  214. *Font Bookman-LightItalic: Standard "(001.003)" Standard ROM
  215. *Font Courier: Standard "(002.003)" Standard ROM
  216. *Font Courier-Bold: Standard "(002.003)" Standard ROM
  217. *Font Courier-BoldOblique: Standard "(002.003)" Standard ROM
  218. *Font Courier-Oblique: Standard "(002.003)" Standard ROM
  219. *Font Helvetica: Standard "(001.006)" Standard ROM
  220. *Font Helvetica-Bold: Standard "(001.007)" Standard ROM
  221. *Font Helvetica-BoldOblique: Standard "(001.007)" Standard ROM
  222. *Font Helvetica-Narrow: Standard "(001.006)" Standard ROM
  223. *Font Helvetica-Narrow-Bold: Standard "(001.007)" Standard ROM
  224. *Font Helvetica-Narrow-BoldOblique: Standard "(001.007)" Standard ROM
  225. *Font Helvetica-Narrow-Oblique: Standard "(001.006)" Standard ROM
  226. *Font Helvetica-Oblique: Standard "(001.006)" Standard ROM
  227. *Font NewCenturySchlbk-Bold: Standard "(001.008)" Standard ROM
  228. *Font NewCenturySchlbk-BoldItalic: Standard "(001.006)" Standard ROM
  229. *Font NewCenturySchlbk-Italic: Standard "(001.005)" Standard ROM
  230. *Font NewCenturySchlbk-Roman: Standard "(001.006)" Standard ROM
  231. *Font Palatino-Bold: Standard "(001.005)" Standard ROM
  232. *Font Palatino-BoldItalic: Standard "(001.005)" Standard ROM
  233. *Font Palatino-Italic: Standard "(001.005)" Standard ROM
  234. *Font Palatino-Roman: Standard "(001.005)" Standard ROM
  235. *Font Symbol: Special "(001.007)" Special ROM
  236. *Font Times-Bold: Standard "(001.007)" Standard ROM
  237. *Font Times-BoldItalic: Standard "(001.009)" Standard ROM
  238. *Font Times-Italic: Standard "(001.007)" Standard ROM
  239. *Font Times-Roman: Standard "(001.007)" Standard ROM
  240. *Font ZapfChancery-MediumItalic: Standard "(001.006)" Standard ROM
  241. *Font ZapfDingbats: Special "(001.004)" Special ROM
  242. *?FontQuery: "
  243. save
  244. /str 100 string dup 0 (fonts/) putinterval def
  245. {
  246. count 1 gt
  247. {
  248. exch dup str 6 94 getinterval cvs
  249. (/) print print (:) print
  250. FontDirectory exch known
  251. {(Yes)}{(No)} ifelse =
  252. }
  253. {exit} ifelse
  254. }bind loop
  255. (*) = flush
  256. restore
  257. "
  258. *End
  259. *?FontList: "
  260. save
  261. FontDirectory { pop == } bind forall flush
  262. /filenameforall where
  263. {
  264. pop (fonts/*)
  265. { dup length 6 sub 6 exch getinterval cvn == } bind
  266. 128 string filenameforall flush
  267. } if
  268. (*) = flush
  269. restore
  270. "
  271. *End
  272. *% Printer Messages (verbatim from printer):
  273. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  274. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  275. *Message: "\FontName\ not found, using Courier"
  276. *% Status (format: %%[ status: <one of these> ]%% )
  277. *Status: "idle"
  278. *Status: "busy"
  279. *Status: "waiting"
  280. *Status: "printing"
  281. *Status: "warming up"
  282. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  283. *Source: "serial9"
  284. *Source: "serial25"
  285. *Source: "AppleTalk"
  286. *Source: "Centronics"
  287. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  288. *PrinterError: "ERROR ENGINE"
  289. *PrinterError: "ERROR ENGINE FAN"
  290. *PrinterError: "ERROR ENGINE FUSER"
  291. *PrinterError: "ERROR OPTION RAM"
  292. *PrinterError: "ERROR RESIDENT RAM"
  293. *PrinterError: "ERROR EEPROM"
  294. *PrinterError: "ERROR PROGRAM ROM"
  295. *PrinterError: "COVER OPEN"
  296. *PrinterError: "PAPER JAM TRAY1"
  297. *PrinterError: "PAPER JAM TRAY2"
  298. *PrinterError: "PAPER FEED JAM TRAY1"
  299. *PrinterError: "PAPER FEED JAM TRAY2"
  300. *PrinterError: "PAPER OUT TRAY1"
  301. *PrinterError: "PAPER OUT TRAY2"
  302. *PrinterError: "FUSER LIFE"
  303. *PrinterError: "DRUM LIFE"
  304. *PrinterError: "TONER LOW"
  305. *PrinterError: "Image is too light"
  306. *PrinterError: "Image is too dark"
  307. *PrinterError: "Blank page"
  308. *PrinterError: "Full black image"
  309. *PrinterError: "Stains on paper"
  310. *PrinterError: "Cyclic abnormality"
  311. *PrinterError: "Dark vertical lines"
  312. *PrinterError: "White vertical lines"
  313. *PrinterError: "Dirty back ground"
  314. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  315. *% Color Separation Information =====================
  316. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  317. *InkName: ProcessBlack/Process Black
  318. *InkName: CustomColor/Custom Color
  319. *InkName: ProcessCyan/Process Cyan
  320. *InkName: ProcessMagenta/Process Magenta
  321. *InkName: ProcessYellow/Process Yellow
  322. *% For 60 lpi / 300 dpi ===============================
  323. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  324. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  325. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  326. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  327. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  328. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  329. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  330. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  331. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  332. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  333. *% For 53 lpi / 300 dpi ===============================
  334. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  335. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  336. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  337. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  338. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  339. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  340. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  341. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  342. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  343. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  344. *% For "OL850" version 52.5
  345. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  346. *% Converted to meet 4.1 specification
  347. *% Last Edit Date: 9 Mar 1994
  348. *% The byte count of this file should be exactly 13165
  349. *% End of PPD file for OL850