* lpr file size troubles
@ 2000-07-14 4:00 Stefan Schwarzer
2000-07-14 4:00 ` Ken Farmer
2000-07-15 4:00 ` Stuart R. Fuller
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Schwarzer @ 2000-07-14 4:00 UTC (permalink / raw)
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?
A thoroughly confused
Stefan.
--
Stefan Schwarzer office: +49-(0)711-685-7606 fax: x-3658
Uni Stuttgart, ICA 1 (?-
Pfaffenwaldring 27 //\ sts@ica1.uni-stuttgart.de
70569 Stuttgart, Germany -V_/---- http://www.ica1.uni-stuttgart.de/~sts
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: lpr file size troubles
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
1 sibling, 0 replies; 3+ messages in thread
From: Ken Farmer @ 2000-07-14 4:00 UTC (permalink / raw)
Stefan,
Try adding :mx#0:\ to your printcap. Remove the backslash if it is the last item.
Let me know if that works. I've had a problem like yours trying to print from
Optio DCS for Oracle forms. Nothing has worked yet. :(
Ken
--
W W W . T R U 6 4 . O R G
Ken Farmer, kfarmer@tru64.org
Stefan Schwarzer 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?
>
> A thoroughly confused
>
> Stefan.
>
> --
> Stefan Schwarzer office: +49-(0)711-685-7606 fax: x-3658
> Uni Stuttgart, ICA 1 (?-
> Pfaffenwaldring 27 //\ sts@ica1.uni-stuttgart.de
> 70569 Stuttgart, Germany -V_/---- http://www.ica1.uni-stuttgart.de/~sts
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: lpr file size troubles
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
1 sibling, 0 replies; 3+ messages in thread
From: Stuart R. Fuller @ 2000-07-15 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-07-15 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox