beautypg.com

Esc \ specify relative horizontal position, Esc a specify alignment, Specify relative horizontal position – Brother PT-9700PC User Manual

Page 28

background image

28

ESC \

Specify relative horizontal position

[ASCII] ESC \ n1 n2

[Decimal]

27 92 n1 n2

[Hexadecimal]

1B 5C n1 n2

[Parameters] 0≤n1≤255, 0≤n2≤255

[Description]

Specifies a relative print position (in units of 1/180 inch) for the next data.

A relative print position specifies the horizontal print position based on the current

position.

The next character is printed at a position (n1 + 256 * n2) / 180 inch from the current
position.

A relative position cannot be specified to the left (in the negative direction).

However, since the printable length is 1 meter, an actual value greater than 7086/180

inches will result in an error during printing

This command is available only with left alignment.

ESC a Specify alignment

[ASCII] ESC a

n

[Decimal]

27 97 n

[Hexadecimal]

1B 61 n

[Parameters] 0≤n≤3 or “0”≤n≤”3”

[Description]

The following data is printed with the alignment described below, depending on the value

of n.

n=0 specifies left alignment.

n=1 specifies center alignment.

n=2 specifies right alignment.

n=3 specifies justified alignment.

The default setting is n=0.

The last alignment setting received is applied to all of the print data.

If an absolute horizontal position or a relative horizontal position is specified, the text
must be aligned on the left when it is printed.

This manual is related to the following products: