home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!caen!batcomputer!cornell!rochester!rit!isc-newsserver!mstacc
- From: mstacc@ultb.isc.rit.edu (M.S. Tremblay)
- Subject: Questions about printcap
- Message-ID: <1992Nov6.184414.13812@ultb.isc.rit.edu>
- Originator: mstacc@ultb
- Sender: news@ultb.isc.rit.edu (USENET News System)
- Nntp-Posting-Host: ultb-gw.isc.rit.edu
- Reply-To: mstacc@ultb.rit.edu ()
- Organization: Rochester Institute of Technology
- Date: Fri, 6 Nov 1992 18:44:14 GMT
- Lines: 39
-
-
- Have a question about using filters in printcap. We have the
- following printcap entry setup:
-
-
- n_cad2:\
- :lp=:\
- :rm=ritvax.isc.rit.edu:\
- :rp=rfk:\
- :lf=/usr/adm/lpd-errs:
-
- A file sent to n_cad2 will end up on a print queue on our VMS systems
- via the network. We run into trouble when we send an HPGL file to this
- queue that is one large record. The file makes it into the queue OK,
- just once the VMS print daemon gets it, things barf on record too
- large...
-
- So what we need to do, is put a filter on the Ultrix side that will
- change the HPGL file into manageable records. I've written one that
- does the job OK interactively, reads from stdin and writes to stdout,
- but when I try and put this 'filter' into the printcap entry, either
- xf, of, if, the resulting entry in the queue on VMS still has huge
- records. It is as if the filter entry is ignored with remote
- printers.
-
- We have even tried making a filter that simply outputs 'Hello World',
- so no matter what file is printed, we should only see Hello World on
- the other end.
-
- I have managed to get all of this to work with a LAT printer. It seems
- that only when going to the network for the remote queue does this
- fail.
-
- Any suggestions would be greatly apprciated.
-
- --
- -Mark Tremblay
- software specialist Internet: mstacc@ultb.isc.rit.edu
- Rochester Institute of Technology Phone: 716.475.2986
-