> From [EMAIL PROTECTED] Wed Sep 13 06:58:26 2000
> Date: Wed, 13 Sep 2000 07:47:48 -0500
> From: Kent Schumacher <[EMAIL PROTECTED]>
> To: LPRng mailing list <[EMAIL PROTECTED]>
> Subject: LPRng: Epson740 and ifhp does not seem to work as advertised
>
>
> I've taken my first stab at getting lprng/ifhp working and I am
> having some difficulties.  In the IFHP-howto it states that the
> epson 740 is supported and then lists the gs_uniprint driver for
> postscript conversion.
>
> I've set up my printcap, run things in debug mode, and it appears
> that the postscript file is correctly identified by ifhp, correctly
> run through gs with all the right options which results in an
> esc/P2 formatted stream, and then ifhp prepends a PCL header and
> possibly appends a PCL footer and sends it to my printer.  Obviously
> the mixture of PCL and Esc/P2 makes my printer quite unhappy (pure
> garbage prints).
>
> Is this right? (or has someone put something in my coffee).

Yes. Sugar, milk, and Bovine Growth Hormone, which is why there
is a lot of ... umm... B.S. on the net lately :-)  --- sorry,
 I could not help it...

>
> As a reality check I defined and tested an "Epson740" printer in
> ifhp.conf.   This worked fine for postscript.
>
> [ escp2 ]
> status@
> pcl@
> pjl@
> ps@
> text@
> gs_converter=[ %s{gs_unidriver} ]
> gs_unidriver= [ /usr/bin/gs -q -dSAFER -dBATCH -sOutputFile=-
> @\%s{gs_device}.upp \%s{gs_options} - ]
> a2ps_converter= [ /usr/bin/a2ps -q -B -1 -M Letter --borders=no -o- ]
>
> file_output_match = [
>   *postscript*       raw     \%s{gs_unidriver}
>   *text*             filter  \%s{a2ps_converter}
>   *gzip_compressed*  filter  \%s{gzip_decompress}
>  ]
>
> [ eps740 epson740 ]
> tc=escp2
> gs_device=stc500p

I stared and stared and stared at this for an hour.

Ummm... modify your ifhp.conf file,  and change the
following entry,  and then see if it works correctly.
It appears that PCL must be 'raw' for these printers:

[ pcl_gs ]
status@
pjl@
pcl
ps@
text@
gs_device=ljet4
file_output_match = [
  *pcl*  raw
  *text*  pcl                          <--- this forces the correct operation for
                                       <--- text files.
#  postscript to PCL conversion
  *postscript*  raw \%s{gs_converter}
  *gzip_compressed*  filter  \%s{gzip_decompress}
 ]



Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to