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).
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
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------