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.

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