From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1dac56d3d0c26f35,start X-Google-Attributes: gidfee84,public From: schwengeler@ubaclu.unibas.ch (Hans Schwengeler, Astronomical Institute, Tel. 2055422) Subject: epson styluscolor pro Date: 1996/10/16 Message-ID: <1996Oct16.115941.46994@yogi.urz.unibas.ch>#1/1 X-Deja-AN: 189781380 organization: University of Basel, Switzerland newsgroups: comp.unix.osf.osf1 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)