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.

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