Subject: Ghostscript, now remote printing troubles.
To: port-mac68k <port-mac68k@netbsd.org>
From: Matthew Reilly <mjreilly@flashcom.net>
List: port-mac68k
Date: 07/15/1999 23:36:33
OK I've got around my problems with my Stylus 740 not liking my Q700's
serial ports by getting an ethernet printserver that supports lpr. I've
got it printing straight from the command line but I'm having some
troubles with ghostscript. Once i figured out that you can't use an
input filter for a remote printer and set up a second spool it seemed
like smooth sailing. Here's my printcap now:

lp|stylus740|Epson Stylus 740:\
        :lp=/dev/null:sd=/var/spool/lp:lf=/var/log/lpd-errs:\
        :if=/usr/local/libexec/lpr/stc-if:

lp-remote|192.168.0.4-pr| Network printer on Print server 192.168.0.4:\
                 :lp=:\
                 :sd=/var/spool/lp-remote:\
                 :lf=/var/spool/lpd/192.168.0.4-pr/log:\
                 :rm=192.168.0.4:\
                 :rp=lpt1:

the filter stc-if is as follows:

/usr/pkg/bin/gs -q @stc740p.upp -sOutputFile=- tiger.ps -c quit | lpr -P lp-remote

It prints fine as long as the resulting file isn't too big, if it is lpr
craps out with the following:

lpr:  : copy file is too large
Broken pipe

So what's a guy to do? I can't use ghostscript as  filter because my
printer is remote but gs doesn't like the big binary files. Is there a
work around?

cheers, 

Matthew