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