home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!seas.smu.edu!vivaldi!necbsd!gilbert
- From: gilbert@esd.dl.nec.com (Russell Gilbert)
- Subject: Re: printcap to send to a process instead of a printer - needed.
- Message-ID: <1992Aug26.135342.11756@esd.dl.nec.com>
- Lines: 27
- Organization: NEC America, Engineering & Support
- References: <1992Aug24.210331.26056@esd.dl.nec.com>
- Date: Wed, 26 Aug 1992 13:53:42 GMT
-
- From article <1992Aug24.210331.26056@esd.dl.nec.com>, by gilbert@esd.dl.nec.com (Russell Gilbert):
- > I'm trying to make an entry in /etc/printcap so that lpr will send the
- > file to a process.
- >
- > I want the file to be mailed to me instead of actually being printed.
- > Something like... lpr -Ptest file would mail the file to me.
-
- Thanks to all who mailed me the solution:
-
-
- test:
- :lp=/dev/null:if=/usr/lib/test_filter:rp=test:
-
-
- And test_filter contains:
-
- cat - | mail gilbert
-
-
- Thanks again,
-
- Russell (gilbert@esd.dl.nec.com)
-