From owner-freebsd-questions Fri Dec 11 10:15:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA07063 for freebsd-questions-outgoing; Fri, 11 Dec 1998 10:15:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06999 for ; Fri, 11 Dec 1998 10:15:36 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.054 #18) id 0zoVaH-0006Hp-00; Fri, 11 Dec 1998 16:38:29 +0000 Date: Fri, 11 Dec 1998 16:38:29 +0000 From: Ben Smithurst To: Oleg Ogurok Cc: questions@FreeBSD.ORG Subject: Re: lpr: copy file is too large Message-ID: <19981211163829.C24115@scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: User-Agent: Mutt/0.94.17i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oleg Ogurok wrote: > If I try to print big files, or big pages from netscape, I get "lpr: copy > file is too large". I have no problems with small files and I have > plenty of space for spooler (/var). Any suggestions? > > Here's string from /etc/printcap: > lp|Operations printer:\ > :sh:\ > :rm=ops-print.pfmc.net:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/hpif: Check the manpage, $ man printcap PRINTCAP(5) FreeBSD File Formats Manual PRINTCAP(5) NAME printcap - printer capability data base [...] CAPABILITIES Refer to termcap(5) for a description of the file layout. Name Type Default Description [...] mx num 1000 maximum file size (in BUFSIZ blocks), zero = unlimited I think that's what you need to change anyway. Try this: lp|Operations printer:\ :sh:mx#0:\ :rm=ops-print.pfmc.net:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/hpif: (note that's mx#0, not mx=0. This caught me at first :-) -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message