[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Jan 16 15:28:33 2004 -->
- <!--x-from-r13: quhefg ng xraarfnj.rqh (Rbj Vhefg) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: Pine.LNX.4.44.0401152218010.3911-[email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Setting up pseudo-printer -->
- <li><em>date</em>: Fri Jan 16 15:28:33 2004</li>
- <li><em>from</em>: dhurst at kennesaw.edu (Dow Hurst)</li>
- <li><em>in-reply-to</em>: <[email protected]></li>
- <li><em>references</em>: <[email protected]></li>
- <li><em>subject</em>: [ale] Setting up pseudo-printer</li>
viewer < ./file >| lpr
However, even the lp system can use filters, so a little
searching might find a HOWTO on setting a filter that would
do what you want. The Netpbm library is a powerful package
for converting image files. I looked at a tiff2ps package
that looked very nice. I don't have the link for that with me.
Am I understanding the question correctly? Which is that
you want to print an image? Gimp will print images
fantastically after you set it up for your printer.
Dow
John Mills wrote:
> ALErs -
>
> 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
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
--
__________________________________________________________
Dow Hurst Office: 770-499-3428 *
Systems Support Specialist Fax: 770-423-6744 *
1000 Chastain Rd. Bldg. 12 *
Chemistry Department SC428 Email: dhurst at kennesaw.edu *
Kennesaw State University Dow.Hurst at mindspring.com *
Kennesaw, GA 30144 *
************************************************************
This message (including any attachments) contains *
confidential information intended for a specific individual*
and purpose, and is protected by law. If you are not the *
intended recipient, you should delete this message and are *
hereby notified that any disclosure, copying, distribution *
of this message, or the taking of any action based on it, *
is strictly prohibited. *
************************************************************
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00662" href="msg00662.html">[ale] Setting up pseudo-printer</a></strong>
<ul><li><em>From:</em> johnmills at speakeasy.net (John Mills)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00612" href="msg00612.html">[ale] Setting up pseudo-printer</a></strong>
<ul><li><em>From:</em> johnmills at speakeasy.net (John Mills)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00644.html">[ale] Ripping CD's</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00646.html">[ale] recommendations for a easy to configure Linux compatible 802.11B pcmcia card</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00612.html">[ale] Setting up pseudo-printer</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00662.html">[ale] Setting up pseudo-printer</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00645"><strong>Date</strong></a></li>
<li><a href="threads.html#00645"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>