Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* epson styluscolor pro
@ 1996-10-16  4:00 Hans Schwengeler, Astronomical Institute, Tel. 2055422
  0 siblings, 0 replies; only message in thread
From: Hans Schwengeler, Astronomical Institute, Tel. 2055422 @ 1996-10-16  4:00 UTC (permalink / 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)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-10-16  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-16  4:00 epson styluscolor pro Hans Schwengeler, Astronomical Institute, Tel. 2055422

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox