Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeed.internetmci.com!in3.uu.net!206.15.105.113!news-feed.newscorp.com!news.delphi.com!news From: W Marshall <ywmarshall@delphi.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How does one print postscript correctly via lpr????? Date: Mon, 7 Jul 97 23:27:55 -0500 Organization: Delphi (info@delphi.com email, 800-695-4005 voice) Lines: 28 Message-ID: <pdFfUcL.ywmarshall@delphi.com> References: <5pc5q0$nt7@uni00nw.unity.ncsu.edu> NNTP-Posting-Host: 199.93.4.4 X-To: Bob Keys <rdkeys@unity.ncsu.edu> Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44126 Bob Keys <rdkeys@unity.ncsu.edu> writes: >I have been trying to get a postscript printer hooked up on lpt0 >(common occurrance, right?????). > >Cat filename.ps > /dev/lpt0 prints things just fine from root. > >Lpr filename.ps flushes prints in the printer buffer, > regardless of who is printing. > I'm no expert, but I think you need to set up a filter for your postscript printer anyway, even though it just cats the file from stdin to stdout. My own postscript printer filter is simply: #!/usr/bin/perl while ($_ = <STDIN>) print $_ } Of course the filter is referenced by the :if field of the postscript printcap entry. W. Marshall just cats