From: stu@c49395-a.wodhvn1.mi.home.com (Stuart R. Fuller)
Subject: Re: lpr file size troubles
Date: 2000/07/15 [thread overview]
Message-ID: <l9aqk8.rcn.ln@localhost> (raw)
In-Reply-To: 8knb4j$dkl$1@infosun2.rus.uni-stuttgart.de
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
prev parent reply other threads:[~2000-07-15 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-14 4:00 lpr file size troubles Stefan Schwarzer
2000-07-14 4:00 ` Ken Farmer
2000-07-15 4:00 ` Stuart R. Fuller [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox