[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]

I have a script to pipe through a decoding filter, and uses 'display' to
show an image on the screen. For example, I can show an image with:
 % cat <encoded_jpeg_file> | /usr/local/bin/viewer_filter

I'm having some trouble setting this up as a printer, so that I could
invoke it with [say]:
 % lpr -P viewer <encoded_jpeg_file>

I'm running RH-7.3. Using the printer configuration tool I defined
'viewer' as a text printer, connected to /dev/null. I then went to
/etc/printcap and made viewer's if=/usr/local/bin/viewer_filter

This doesn't work. Print jobs to 'viewer' just end up as files in 

Any hints on setting this up?


 - John Mills
   john.m.mills at alum.mit.edu

<li><strong><a name="00645" href="msg00645.html">[ale] Setting up pseudo-printer</a></strong>
<ul><li><em>From:</em> dhurst at kennesaw.edu (Dow Hurst)</li></ul></li>
<li>Prev by Date:
<strong><a href="msg00611.html">[ale] Subversion?</a></strong>
<li>Next by Date:
<strong><a href="msg00613.html">[ale] USB -&gt; IDE enclosuers</a></strong>
<li>Previous by thread:
<strong><a href="msg00609.html">[ale] Compatibility problem: Linksys WRT54G &amp; D-Link DFE-570TX NIC</a></strong>
<li>Next by thread:
<strong><a href="msg00645.html">[ale] Setting up pseudo-printer</a></strong>
<li><a href="maillist.html#00612"><strong>Date</strong></a></li>
<li><a href="threads.html#00612"><strong>Thread</strong></a></li>