hit counter script

Brother HL Series Technical Reference Manual page 103

Hide thumbs Also See for HL Series:
Table of Contents

Advertisement

If the control bit is 1, replacement data is repeated data. Bits 6 to 5 contain the offset count and bits 4 to 0
contain the 'replacement count (repeat count) - 2'.
If bit 6 and bit 5 are '1', then an optional offset byte follows the control byte. If the value of this optional
offset byte is 255, another (second) optional offset byte follows the first optional offset byte. The addition of
the offset count in the control byte and any optional offset bytes gives the total offset count.
If bits 4 to 0 are all '1', an optional replacement count byte follows the control byte or any optional offset
byte(s). If the first optional replacement count byte has a value of 255, a second optional replacement count
byte follows the first optional replacement count byte. Optional replacement count bytes will continue until
the value becomes less than 255.
<Example>
Seed row
55 55 55 55 55 55 55 55 55 55 55 55 55
Current row
55 55 55 11 11 11 55 55 66 66 66 66 55
<First section 11 11 11>
Offset count = 3
Replacement count = 3
Replacement data = 11
<Second section 66 66 66 66>
Offset count = 2
Replacement count = 4
Replacement data = 66
7
6
5
4
1 1
1
0
Replacement count = 1 + 2 = 3
Offset count = 3
# = 1152 indicates that CCITT G3/G4 data compression is to be used.
This format is popular in optical document storage areas as this compression is effective to store black and
white type pictures. As G3/G4 format does not have picture size/resolution information, the printer requires
a header at the beginning of the picture data. The header size is 94 Bytes. Both the header and the picture
data are transferred by the ESC*b###W(###=data length) command. The normal PCL transfer graphics data
command has a limitation on the data size and ### should not exceed 32767. Unlike other modes, this
mode is special and does not have the 32767 size limitation. The data must have the following structure -
Header and Picture data. The values in this mode are little endians.
3
2
1
0
0
0
0
1
Optional offset count byte = 0
7
6
5
4
3
2
1
0
1 1
0
0
0
0
1
0
Replacement count = 2 + 2 = 4
Offset count = 2
Header
Picture data
CHAPTER 2 "PCL" - 83
Replacement data = 11
Replacement data = 66
94 bytes
File Length
Picture
data
length
7/17/2009

Advertisement

Table of Contents
loading

Table of Contents