3 graphic data format, Graphic data format – Brother HL-2170W User Manual
Page 505
APPENDIX C HBP MODE COMMANDS - 11
3.3
Graphic Data Format
The data format, which follows the @G+ [number of data bytes (3 bytes)] command, is as shown below.
the number of
command bytes
for raster 1
command byte 1 modified data 1
command byte 2 modified data 2
the number of
command bytes
for raster 2
command byte 1 modified data 1
modified data 2
modified data 3
:
:
The number of
command bytes
for raster n
command byte 1 modified data 1
The description of each byte
(1) the number of command bytes for raster n
This byte describes the number of command bytes for each raster.
In the case that the raster data is the same as the former raster, 00h is sent as the number of command
bytes. In the case that the data is all white, FFh is sent as the number of command bytes and the data
format , which should follow the number of command bytes, is not necessary.
(2) command byte
The operation of this byte is divided into the following 2 uses.
Data replacement
0 b6 b5 b4 b3 b2 b1 b0
b6, b5, b4, b3 the replacement position (4bits)
b2, b1, b0
the amount of replacement data (3bits): The input value is 1 less than the actual data count
of the replacement data.
When both b6, b5, b4, b3 and b2, b1, b0 are overflow, the next byte shows the replacement position and
the byte after the next byte shows the amount of replacement data.
Repeated data replacement
1 b6 b5 b4 b3 b2 b1 b0
b6, b5
the replacement position (2bits)
b4, b3, b2, b1, b0 the number of loops (5bits): The input value is 2 less than the actual number of loops.
(Example)
The 4th byte of data onward is replaced by the three data bytes 00h, AAh, 55h
00100010b,00h,AAh,55h
The 15th byte of data onward is replaced by the two data bytes 33h, 44h and the 20th data onward
( absolute value) is replaced by the two data bytes FFh.
01111001b,33h,44h,00100001b,FFh
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E