beautypg.com

Escape sequences – Brother P-TOUCH PC User Manual

Page 19

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

Escape sequences

Sequence

Function

Description

ESC+J+n

Line feed

Feeds line by 24 dots; invalid when the print

buffer is empty; does not move to the beginning
of line.
Any value can be used for n.

ESC+$+n1 +n2

Absolute position

Moves by n1+256xn2=N dots (1/60 inch) from

the beginning of the line.

0

The target position must be inside the page or

else an error is detected.

ESC+\+n1 +n2

Relative position

Moves by n1-i-256xn2=N dots from the current

position. N is a signed integer. For a negative
number (-N), use 65536-N
0The target position must be inside the page or
else an error is detected.

ESC+*+m+n1+n2

+data bytes

Selects bit image
printing

Prints the bit image data “data byte”.

m=39 is the only valid value. Other values result
in the command being ignored.
n1=total number of dots modulus 256.
n2=total number of dots/256 (integer).
(n1-h256xn2)x3 image bytes are required.
Detects a print buffer error if the image extends
beyond the page limits.

ESC+@

Initialization

Clears all data in the print buffer.

ESC+i+D+byte

Print density and bar­

code controls

bit 0 ~3: Print density control (default=3)

0: no change

1 ~5: five levels (other values invalid)

bit 4 and 5: Barcode control (default=3)

0: no change

1: no barcode

2: barcode only
3: including barcode

1 6