From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c586e5b474bc9a54 X-Google-Attributes: gidfa528,public From: stu@c49395-a.wodhvn1.mi.home.com (Stuart R. Fuller) Subject: Re: lpr file size troubles Date: 2000/07/15 Message-ID: #1/1 X-Deja-AN: 646768458 Distribution: world References: <8knb4j$dkl$1@infosun2.rus.uni-stuttgart.de> X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 963688203 24.2.253.183 (Sat, 15 Jul 2000 12:10:03 PDT) Organization: @Home Network Reply-To: stufuller@usa.net NNTP-Posting-Date: Sat, 15 Jul 2000 12:10:03 PDT Newsgroups: comp.unix.tru64 Stefan Schwarzer (sts@boa.ica1.uni-stuttgart.de) wrote: : We have a pstscript network printer configured on both 4.0F and a 5.0 boxes: : : goethe|lp2|2|:\ : :af=/usr/adm/goethe_acc:\ : :lf=/usr/adm/goethe_err:\ : :lp=:\ : :rm=goethe:\ : :rp=goethe:\ : :sd=/usr/spool/lpd/goethe: : : /usr/adm and /usr/spool are links to /var/adm and /var/spool respectively. : The /var filesystem (and also /tmp for that matter) : is quite sufficient, about 300 MB free space available. : Files smaller than about 10 MB print without problems, but look at this : (on both OS versions) : : 17:12 tiger_sts> ls -l : -rw-r--r-- 1 sts fluid 10834730 Jul 14 16:51 f1.ps : 17:13 tiger_sts> /bin/lpr -Pgoethe f1.ps : /bin/lpr: f1.ps: copy file is too large : : I can print using the -s option (symbolic link instead of copy), : but I really wonder what's going on: isn't lpr just copying the file to : the spool area and then spawning a process to transfer the file to the : printer? : Is there maybe a limit for the file size compiled in? : Am I perhaps unknowingly using bizarre filters that could die on : me? Or, may you're just not reading the output of "man printcap", where it mentions the "mx" characteristic (the maximum file size), and that it has a default of 1000 blocks of BUFSIZ, where BUFSIZ is 8192. Stu