*BSD News Article 38886


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!purdue!lerc.nasa.gov!usenet.ins.cwru.edu!howland.reston.ans.net!news.sprintlink.net!sundog.tiac.net!sundog.tiac.net!rick
From: rick@vox.trystero.com (Richard E. Nickle)
Newsgroups: comp.os.386bsd.questions
Subject: printcap filters
Date: 24 Nov 1994 09:50:24 GMT
Organization: The Internet Access Company
Lines: 38
Distribution: world
Message-ID: <RICK.94Nov24045024@vox.trystero.com>
NNTP-Posting-Host: vox.trystero.com


Hi,

Well, this might be an FAQ, or at least a previously asked
question.

I tried to install a fake printer that filters postscript
through the ghostscript program before putting it out to
the device (in this case, a remote printer running on a
non-Unix system).

What I tried is various iterations of setting the 'if'
(and later 'of') variable in /etc/printcap.  

When the printjob is spooled, however, it is never passed
to the filter program.  I even went so far as to have the
filter program emit some text to a seperate logfile to at
least verify if it was ever called.

A cursory search of the sources turned up no references
to anything that looks like a run of the 'if' or 'of' strings
running the of or if' program specified in printcap.

I also did a string search for strings looking like a 
call to a filter (fil, if, of, etc) and turned up nothing.

Anybody solve this problem before?  



--
--
"When personal freedom's being abused, you have to move to limit it."

- President Bill Clinton (sworn defender of the Constitution)
  3-22-94, MTV's "Enough is Enough" 

Richard Nickle                      http://www.trystero.com/rick.html