beautypg.com

Bematech MP-4000 TH Programmer's Manual User Manual

Page 25

background image

MP-4000 TH POS Printer Rev.1.4

Programmer’s

Manual

22-aug-2007
Firmware Release: 1.5

25

3.3 Horizontal positioning

ESC f 0 n

[Function] Horizontal

skipping

[Format]

ASCII

ESC

f

0

n

Hexadecimal

1B 66 30 n

Decimal

27 102 48 n

[Range]

0

n ≤ 255

[Description]

Performs a horizontal skipping of n characters.

[Notes]

The command 1B 66 00 n has the same effect.


ESC Q n

[Function]

Set right margin.

[Format]

ASCII

ESC

Q

n

Hexadecimal

1B 51 n

Decimal 27

81

n

[Range]

0 < n < 256

[Description]

Sets right margin in characters from the default left margin.

[Notes]

If the right margin is set to the left of the current horizontal position, the

new margin becomes valid in the next line.

ESC I n

[Function]

Set left margin.

[Format]

ASCII

ESC

I

n

Hexadecimal

1B 6C n

Decimal 27

108

n

[Range]

0 < n < 256

[Description]

Sets left margin in characters from the default left margin.

[Notes]

If the left margin is set to the right of the current horizontal position, the

new margin becomes valid in the next line.

This manual is related to the following products: