[EMAIL PROTECTED] wrote:
> Hi!
> 
> Next iteration comes.
> Those who wanna print from BB should try it out!
> 
> Do we _have to_ specify the length of data file?
> RFC 1179 states:
> 
> ------
>  6.3 03 - Receive data file
> 
>        +----+-------+----+------+----+
>        | 03 | Count | SP | Name | LF |
>        +----+-------+----+------+----+
>        Command code - 3
>        Operand 1 - Number of bytes in data file
>        Operand 2 - Name of data file
> 
>     The data file may contain any 8 bit values at all.
> 
> !!!!!!!
> The total number of bytes in the stream may be sent as the first operand,
> otherwise the field should be cleared to 0.
> !!!!!!!

> ------
> 
> What should be sent if Count is set equal to zero?!
> 

Interessting question, is guess the answer is it "implementation defined".
The number is important so the system can decide to reject a job when it is
to large for its spool dir.
Several printer do not check this propperly and fail misserably.

re,
 wh






_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to