Subject: Re: Ghostscript, now remote printing troubles.
To: None <mjreilly@flashcom.net>
From: John Valdes <valdes@macavity.uchicago.edu>
List: port-mac68k
Date: 07/18/1999 23:42:37
Matthew Reilly writes:
> 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.
[...]
> 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:
[...]
> 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?
Try adding the option ':mx#0:' to each printcap entry. The :mx:
variable defines the maximum size file that can be printed, defaulting
to about 1000 blocks by default. Setting it to 0 makes the max size
unlimited. See the printcap man page for details.
John
-------------------------------------------------------------------------
John Valdes Department of Astronomy & Astrophysics
j-valdes@uchicago.edu University of Chicago