From: schwengeler@ubaclu.unibas.ch (Hans Schwengeler, Astronomical Institute, Tel. 2055422)
Subject: epson styluscolor pro
Date: 1996/10/16 [thread overview]
Message-ID: <1996Oct16.115941.46994@yogi.urz.unibas.ch> (raw)
Dear colleagues,
I would like to use a Epson Styluscolor Pro printer on my
DEC 3000/300X (running dUnix 4.0) via its serial interface. The
printer has a serail card in it which supports 19200 baud.
Now could some kind soul supply me with a printcap entry for
this printer, using the styluscolor driver of Ghostscript 3.33?
So far Im tried the following setup with no success: (it prints
only ASCII text):
lp5|5|epson_direct:\
:af=/usr/adm/lp5acct:\
:br#19200:\
# :br#57600:\
:ct=dev:\
:fc#0177777:\
:fs#023:\
:lf=/usr/adm/lp5err:\
:lp=/dev/tty00:\
:mx#0:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lpd5:\
:xc#0177777:\
:xf=/usr/lbin/xf:\
:xs#044000:
lp6|6|epson:\
:lp=:\
:if=/usr/local/bin/if_epson:\
:rm=neptun:\
:rp=lp5:
where /usr/local/bin/if_epson looks like:
read first_line
# echo $first_line
first_two_chars=`expr "$first_line" : '\(..\)'`
if [ "$first_two_chars" = "%!" ]; then
# it's PostScript
/usr/local/bin/gs -dNOPAUSE -q -sDEVICE=stcolor -sOutputFile=- -
else
# it's plain text
# echo -n $first_line
echo $first_line
cat
# printf "\014"
fi
Thank you.
Yours, H.Schwengeler (schweng@astro.unibas.ch)
reply other threads:[~1996-10-16 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox