beautypg.com

Triner Scale TMU-295 User Manual

Page 58

background image

5-18

Commands

ESC T n

[Name]

Select print direction in page mode

[Format]

ASCII

ESC

T

n

Hex

1B

54

n

Decimal

27

84

n

[Range]

0

n

3

48

n

51

[Description] Selects the print direction and starting position in page mode.

n specifies the print direction and starting position as follows:

[Notes]

• When the printing direction is changed, the printing direction and

print starting position for the data following are those specified by
n.

• Only setting of this command is effective in standard mode.
• If n is out of the specified range, this command is ignored.

[Default]

n = 0

ESC W xL xH yL yH dxL dxH dyL dyH

[Name]

Set printing area in page mode

[Format]

ASC II

ESC

W

xL xH yL yH dxL dxH dyL dyH

Hex

1B

57

xL xH yL yH dxL dxH dyL dyH

Decimal

27

87

xL xH yL yH dxL dxH dyL dyH

[Range]

0

xL

255, xH=0, 0

yL

255, 0

yH

1, 0

dxL

255, dxH=0, 0

dyL

255, 0

dyH

1 (Except for dxL=dxH=0 or dyL=dyH=0)

[Description] Sets the position and the size of the printing area.

• When the horizontal print start position, vertical print start

position, horizontal length, and vertical length are defined as x0,
y0, dx (dot), dy (dot), respectively.
Each setting for the printable area is calculated as follows:
x0 = [(xL + xH

256)]

y0 = [(yL + yH

256)]

n

Print Direction

Starting Position

0, 48

Left to right

Upper left
(A in the figure)

1, 49

Bottom to top

Lower left
(B in the figure)

2, 50

Right to left

Lower right
(C in the figure)

3, 51

Top to bottom

Upper right
(D in the figure)

A

D

C

B

Printing area

P

ape
r fe

ed di

re

ct

ion