home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6554 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.4 KB

  1. Path: sparky!uunet!decwrl!purdue!hsdndev!news.cs.umb.edu!rouilj
  2. From: rouilj@dl5000.bc.edu (John P. Rouillard)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: problem with lpr
  5. Message-ID: <ROUILJ.92Aug28223210@dl5000.bc.edu>
  6. Date: 29 Aug 92 03:32:10 GMT
  7. Sender: news@cs.umb.edu (USENET News System)
  8. Organization: Institute for Space Research, Boston College
  9. Lines: 27
  10.  
  11.  
  12. Well I am trying to use lprps on a DECstation 5000/120 running Ultrix
  13. 4.2A. If I don't specify a of=... in the printcap, the psif filter
  14. gets executed, and everything works fine. If however, I use of, in
  15. conjunction with sb, the of ffilter gets executed, followed by the
  16. following in the error log:
  17.  
  18.  /usr/lib/lpd: lp1: output filter died (0)
  19.  /usr/lib/lpd: lp1: Fri Aug 28 22:22:06 1992: Job 336 aborted
  20.  /usr/lib/lpd: lp1: Closing output connection for dev
  21.  /usr/lib/lpd: lp1: open failure (2) of control file cfA336dlws12.bc.edu
  22.  /usr/lib/lpd: lp1: Fri Aug 28 22:22:06 1992: daemon 8004 exit
  23.  
  24. Well, how am I supposed to exit the of so that the "if" can get called?
  25.  
  26. Everything works fine with the ln03rof filters in both the of and if
  27. locations, but I want syslogging of major errors like out of paper
  28. etc. Also having the error messages mailed back to the user is very
  29. useful since we have people writing their own postscript here.
  30.  
  31. So does anybody have any ideas as to how the "of" filter should be set
  32. up to produce a banner page, and still have the "if" filter get
  33. executed?
  34.  
  35. Thanks.
  36.  
  37. -- John
  38.