*BSD News Article 92960


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeeds.sol.net!news.ececs.uc.edu!newsrelay.netins.net!usenet.cat.pdx.edu!sirius.cs.pdx.edu!daver
From: daver@sirius.cs.pdx.edu (Dave Roethig)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: lpr: copy file too large
Date: 5 Apr 1997 19:26:49 GMT
Organization: Portland State University, Portland, OR
Lines: 19
Message-ID: <5i691p$bom$1@spaceghost.cat.pdx.edu>
References: <3344a560.3482046@news.demon.co.uk>
NNTP-Posting-Host: sirius.cs.pdx.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38605

Alan Hunter (A.Hunter@dunaad.co.uk) wrote:
: printing a large ghostscript file stops with "copy file is too large"
: message.  If I fix this in lpr.c thern the process just stops when the spool
: file reaches 1,841,325 bytes, wherever the spool directory is located. lpr
: -s doesn't help.  How is this fixable?

: Thanks
: Alan

If I remember correctly, there is a flag to the printer definition
in the printcap file.  I think it is mx#0.

I think this allows files of any size to be printed.

I hope this helps,
Dave