User-Defined Pattern Command; Set Pattern Reference Point - Brother HL-1050 Technical Reference Manual

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

6.1.4. User-defined pattern command

Esc*c#W [ data ]
# should be in the range 0 ~ 32767.
# stands for the number of pattern data bytes.
User defined patterns can be defined by binary data or an 8 byte pattern descriptor.
The formats for the pattern descriptor are listed below.
<For 300 dpi>
MSB
0 - 1
Format (0)
2 - 3
Pixel Encoding (1)
4 - 5
Height in Pixels
6 - 7
Width in Pixels
8 -
Pattern Image
MSB
0 - 1
Format (20)
2 - 3
Pixel Encoding (1)
4 - 5
Height in Pixels
6 - 7
Width in Pixels
8 - 9
X resolution
10 - 11
Y resolution
12 -
Pattern Image
A pattern which is defined at 600 dpi cannot be converted to one at 300 dpi.
Format - set to 0 or 20.
Continuation - set to 0.
Pixel Encoding - set to 1.
Height in Pixels - specifies the pattern height by the number of rows.
Width in Pixels - specifies the pattern width by the number of pixels.
Pattern Image - consists of the raster data for the pattern.
X resolution - specifies the resolution in the X scan direction.
Y resolution - specifies the resolution in the Y scan direction.

6.1.5. Set pattern reference point

Esc*p#R
(27)(42)(112)#(82)
This command sets the pattern reference point to the current cursor position.
# specifies whether the pattern rotates with the print direction or remains fixed.
The Pattern reference point should be placed on a physical page and the base pattern is positioned at the
pattern reference point for tiling.
(27)(42)(99)#(87)
Continuation (0)
Reserved (0)
Continuation (0)
Reserved (0)
X=Y: 300 or 600
<1Bh><2Ah><70h>#<52h>
CHAPTER 2 "PCL" - 77
<1Bh><2Ah><63h>#<57h>
LSB
LSB
8/2/2010

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents