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