From owner-freebsd-questions Fri Jun 26 19:20:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA24121 for freebsd-questions-outgoing; Fri, 26 Jun 1998 19:20:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from flarn.dyn.ml.org (root@usr215.third-wave.com [147.72.122.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA24011 for ; Fri, 26 Jun 1998 19:19:48 -0700 (PDT) (envelope-from mph@flarn.dyn.ml.org) Received: (from mph@localhost) by flarn.dyn.ml.org (8.8.8/8.8.8) id WAA00600; Fri, 26 Jun 1998 22:09:45 -0400 (EDT) (envelope-from mph) Message-ID: <19980626220945.C363@flarn.dyn.ml.org> Date: Fri, 26 Jun 1998 22:09:45 -0400 From: Matthew Hunt To: Joe McGuckin , questions@FreeBSD.ORG Subject: Re: LPR: copy file too large... References: <199806270054.RAA27221@monk.via.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199806270054.RAA27221@monk.via.net>; from Joe McGuckin on Fri, Jun 26, 1998 at 05:54:37PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 26, 1998 at 05:54:37PM -0700, Joe McGuckin wrote: > What's happening here? The file is only about 1.3Megs of postscript. It is an artificial limit. From "man printcap", the "mx" capability: mx num 1000 maximum file size (in BUFSIZ blocks), zero = unlimited 1000 is the default setting; BUFSIZ is 1024. So, by default, print jobs are limited to 1000 kB, or about 1 MB. To remove the limitation, add a "mx#0" capability to /etc/printcap for the printer of interest, for example: lj4|lp|ps|atherton-ps:\ :sd=/var/spool/lj-ps:\ :rm=123.123.123.123:\ :mx#0:\ :sh:\ :sb:\ :rp=raw Or, use some appropriate number of kB instead of 0. (Note that in printcap, termcap, etc., capabilities taking numbers use "#" isntead of "=". I always forget that!) -- Matthew Hunt * Stay close to the Vorlon. http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message