Subject: Re: PDF Printing
To: Phillip Rulon <pjr@gnu.org>
From: Rex McMaster <rmcm@cebes.org>
List: netbsd-help
Date: 04/26/2002 08:32:41
On Friday 26 April 2002 08:40, Phillip Rulon wrote:
> I'm trying to print a large (>1Mb) pdf file (multi-page).
>
> $ lpr foo.pdf
>
> reports that the 'copy file is to large'.  The lpr man page says
> that 'If you try to spool too large a file, it will be truncated.'
> without saying what 'too large' actually is.  I checked the docs
> and mx=0 is supposed to shut this off but no joy.
>
> Tried building LPRng in pkgsrc, builds fine, same problem.
>
> Printing other, smaller, stuff works fine.
>
> printcap looks like:
> lp:\
>
>            :cm=Local Deskjet(GhostScript):\
>            :sd=/var/spool/lj1100:sf:sh:mx=0:\
>            :lp=/dev/lpt0:\
>            :if=/usr/pkg/libexec/magicfilter/ljet4l-filter:\
>            :lf=/var/log/lpd-errs:
>

you need :mx#0 to set maximum file size to unlimited.

> Is there a FAQ or HOWTO on NetBSD printing I've missed?
>