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.
!!!!!!!
The name of the data file should
start with ASCII "dfA". This should be followed by a three digit job
number. The job number should be followed by the host name which has
constructed the data file. Interpretation of the contents of the
data file is determined by the contents of the corresponding control
file. If a data file length has been specified, the next "Operand 1"
octets over the same TCP connection are the intended contents of the
data file. In this case, once all of the contents have been
delivered, an octet of zero bits is sent as an indication that the
file being sent is complete. A second level of acknowledgement
processing must occur at this point.
------
What should be sent if Count is set equal to zero?!
--
Vladimir
lpr.patch
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
