old-www/LDP/LG/issue58/tag/5.html

185 lines
6.4 KiB
HTML

<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.3E.e">
<TITLE>The Answer Gang 58: Printing Trouble in Linux</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<P> <hr>
<CENTER>
<!-- *** BEGIN navbar *** -->
<!-- *** END navbar *** -->
</CENTER>
</p>
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<center>
<H1><A NAME="answer">
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
border="0" align="middle">
<font color="#B03060">The Answer Gang</font>
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
border="0" align="middle">
</A></H1>
<BR>
<H4>By James T. Dennis,
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a><BR>
LinuxCare,
<A HREF="http://www.linuxcare.com/">http://www.linuxcare.com/</A>
</H4>
</center>
<p><hr><p>
<!-- endcut ======================================================= -->
<!-- begin 5 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Printing Trouble in Linux</H3>
<p><strong>From Gaurav on Fri, 8 Sep 2000
</strong></p>
<p align="right">Answered by: Ben Okopnik</p>
<P><STRONG>
On Fri, Sep 08, 2000 at 12:01:38AM +0530, root wrote:
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Might want to check out your mail setup as well... See my
article on setting up Sendmail under Redhat this coming
month (if Mike doesn't shoot it on sight, that is.
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I have been trying to get my EPSON Stylus COLOR IIs (TRIGEM) printer
working on redhat 6.1 for about three months on and off,
"UNSUCCESSFULLY" of course.
</STRONG></P>
<P><STRONG>
The problem is that i want to print using black ink-cartrege,
as most of my printing is black documents.
</STRONG></P>
<P><STRONG>
I have tried various Ghostscript devices, uniprint drivers
read the docs over and over again, posted on the net....and
done many unmentionable things but to no avail.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The unmentionable things are probably the ones worth mentioning,
just to avoid repetition.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The closest i have come to getting some sane output is
with the following GS options
</STRONG></P>
<Pre><STRONG>
gs -sDEVICE=stcolor -r360x360 -dnoWeave -descp_Band=1 -sOutputFile=\|lpr fileName.ps
</STRONG></Pre>
<P><STRONG>
and
</STRONG></P>
<Pre><STRONG>
gs -sDEVICE=stcolor -sModel=st800 -sOutputFile=\|lpr fileName.ps
</STRONG></Pre>
<P><STRONG>
they both give me ouptut that is elongated in length and the verticals
lines are mis-aligned.
</STRONG></P>
<P><STRONG>
Please Please Please Please Please help me out herex
cause it is a real bother booting into windows again and again
just to get printouts.. and i cant buy a new printer just yet.
</STRONG></P>
<P><STRONG>
Gaurav
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I have an Epson Stylus 720, myself (can't see where it would be very
different). Try installing "<tt>magicfilter</tt>" and modifying the "gs" lines
in "<TT>/etc/magicfilter/stylus_color_720_filter</TT>" as follows:
</BLOCKQUOTE>
<BLOCKQUOTE><pre>
/usr/bin/gs -sDEVICE=stcolor -r720 -q -dSAFER -dNOPAUSE -dSpotSize='{2.6 2.4 2.6 2}' -sOutputFile=- -
</pre></BLOCKQUOTE>
<BLOCKQUOTE>
<EM>Remove</EM> the resolution ("<tt>-rXXX</tt>") switch.
</BLOCKQUOTE>
<BLOCKQUOTE>
That one took a while of experimenting to find (with it in place,
"<tt>magicfilter</tt>" <EM>swallowed</EM> the output without a trace), but it works
fine. I haven't tried <em>just</em> a black cartridge, but if it works
with Windows, it should work with Linux.
</BLOCKQUOTE>
<BLOCKQUOTE>
By the way - as far as I know, the horizontal and the vertical
resolution on my printer (and probably on yours) are not the
same; I believe the numbers are something like 360x720. This
is probably the reason for the "elongation" problem.
</BLOCKQUOTE>
<BLOCKQUOTE>
Ben Okopnik
</BLOCKQUOTE>
<!-- sig -->
<!-- end 5 -->
<!--startcut ======================================================= -->
<P> <hr> </p>
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
>Copyright &copy;</a> 2000, James T. Dennis
<BR>Published in the <I>Linux Gazette</I> Issue 58 October 2000</H5>
<H6 ALIGN="center">HTML transformation by
<A HREF="mailto:star@tuxtops.com">Heather Stern</a> of
Tuxtops, Inc.,
<A HREF="http://www.tuxtops.com/">http://www.tuxtops.com/</A>
</H6>
<P> <hr>
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<p align="center">
<table width="100%" border="0"><tr>
<td align="right" valign="center"
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0">
<A HREF="../lg_answer58.html"
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
<td align="center" valign="center"><A HREF="../lg_answer58.html#greeting"><img align="middle"
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A> &nbsp;
<A HREF="1.html">1</A> &nbsp;
<A HREF="2.html">2</A> &nbsp;
<A HREF="3.html">3</A> &nbsp;
<A HREF="4.html">4</A> &nbsp;
<A HREF="5.html">5</A> &nbsp;
<A HREF="6.html">6</A> &nbsp;
<A HREF="7.html">7</A></td>
<td align="left" valign="center"><A HREF="../../tag/kb.html"
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
ALT="[ Index of Past Answers ]" border="0"></A>
<IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
</p>
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<P> <hr>
<CENTER>
<!-- *** BEGIN navbar *** -->
<!-- *** END navbar *** -->
</CENTER>
</p>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
</BODY></HTML>
<!--endcut ========================================================= -->