Daniel F. Montagnese wrote:
> 
> This is a multi-part message in MIME format.
> --------------60321BE1198F8C2E3D2BCD77
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> 
> 
> --------------60321BE1198F8C2E3D2BCD77
> Content-Type: text/plain; charset=us-ascii;
>  name="0916.txt"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="0916.txt"
> 
> When a file of over 2147483647 is printed, lpr generates the
> following error message:
> 
> Warning - Cannot open file 'big', File too large
> TBIRD_1: nothing to print
> 
> 
> The file is named 'big' and the queue is 'TBIRD_1'.
> 
> printcap has the entry mx#0 and no minfree entry.
> The spooling directory has space.
> 
> 
> I have seen nothing in the documentation about a file size
> limitation.
> 
> Does lprNG have a size limitation ?
> 
> --------------60321BE1198F8C2E3D2BCD77--
> 

I was hoping someone more specifically knowledgeable would answer, but
haven't seen anything, so here goes:

2147483647 is 2^31-1, so I'd have to suspect that this is the result of
using a signed 4-byte int type for the size.  Since (on the Linux system
I just checked) sizeof(int) and sizeof(long) are both 4 bytes, this is
probably a result of not going to special trouble to allow anything bigger.


-- 
- Dave Lovelace
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to