Graphic Data Format - Brother HL-1070 - B/W Laser Printer Technical Reference Manual

Technical reference
Hide thumbs Also See for HL-1070 - B/W Laser Printer:
Table of Contents

Advertisement

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 byte 1
command bytes for
raster 1
the number of
command byte 1
command bytes for
raster 2
:
:
The number of
command byte 1
command bytes for
raster n
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
b6, b5, b4, b3
b2, b1, b0
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
b6, b5
b4, b3, b2, b1, b0
(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
modified data 1
modified data 1
modified data 1
b5
b4
b3
the replacement position (4bits)
the amount of replacement data (3bits): The input value is 1 less than the actual data count
of the replacement data.
b5
b4
b3
the replacement position (2bits)
the number of loops (5bits): The input value is 2 less than the actual number of loops.
APPENDIX C HBP MODE COMMANDS - 11
command byte 2
modified data 2
b2
b1
b0
b2
b1
b0
modified data 2
modified data 3
2001/10/02

Advertisement

Table of Contents
loading

Table of Contents