home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / NextLibrary / PrinterTypes / English.lproj / Oki_OL840-PS.ppd < prev    next >
PostScript Printer Description  |  1997-03-29  |  12KB  |  377 lines

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