[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Thu Jan 15 22:33:45 2004 -->
- <!--x-from-r13: wbuazvyyf ng fcrnxrnfl.arg (Xbua [vyyf) -->
- <!--x-message-id: Pine.LNX.4.44.0401152218010.3911-[email protected] -->
- <!--x-subject: [ale] Setting up pseudo-printer -->
- <li><em>date</em>: Thu Jan 15 22:33:45 2004</li>
- <li><em>from</em>: johnmills at speakeasy.net (John Mills)</li>
- <li><em>subject</em>: [ale] Setting up pseudo-printer</li>
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
/var/spool/lpd/viewer/
Any hints on setting this up?
TIA.
- John Mills
john.m.mills at alum.mit.edu
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<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>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00611.html">[ale] Subversion?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00613.html">[ale] USB -> IDE enclosuers</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00609.html">[ale] Compatibility problem: Linksys WRT54G & D-Link DFE-570TX NIC</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00645.html">[ale] Setting up pseudo-printer</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00612"><strong>Date</strong></a></li>
<li><a href="threads.html#00612"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>