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

 

 

 

 

 

 

 

[Description]

48 n 51

 

 

 

 

 

 

 

[Default]

 

Selects the print direction and starting position in page mode.

 

 

 

 

 

n specifies the print direction and starting position as follows :

 

 

 

 

 

 

 

 

 

 

 

 

 

n

 

Print Direction

 

Starting Position

 

A→→→→

 

D→→→→

 

0, 48

Left right

 

Upper left (A in the figure)

 

B→→→→

 

 

 

 

 

 

 

 

 

3, 51

Top to bottom

 

Upper right (D in the figure)

 

 

←←←←C

 

1, 49

Bottom to top

 

Lower left (B in the figure)

 

 

Print area

 

 

2, 50

Right to left

 

Lower right (C in the figure)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ESC V n

ESC n

[Name]

Set relative print position.

 

 

[Format]

ASCII

ESC

nL

nH

 

Hex

1B

5C

nL

nH

 

Decimal

27

92

nL

nH

[Range]

0

nL 255

 

 

 

 

0

nH 255

 

 

 

[Description]

Set the print starting position based on the current position by using the

 

horizontal or vertical motion unit.

 

*This command sets the distance from the current position to [(nL + nH ×256) ×horizontal or vertical motion unit]

ESC a n

[Name]

Select justification.

 

 

[Format]

ASCII

ESC

a

n

 

Hex

1B

61

n

 

Decimal

27

97

n

[Name]

[Format]

[Range]

[Description]

Turn 90°clockwise rotation mode on/off.

ASCII

ESC

V

n

Hex

1B

56

n

Decimal

27

86

n

0 n 1, 48

n 49

 

Turn 90°clockwise rotation mode on/off. n is used as follows :

[Range]

0 nL 2, 48 nL 50

[Description]

Aligns all the data in one line to the specified position.

 

n selects the type of justification as follows :

 

 

 

n

 

Justification

0, 48

 

Left justification

1, 49

 

Centering

2, 50

 

Right justification

n

Function

0, 48

Turn off 90°clockwise rotation mode.

1, 49

Turn on 90°clockwise rotation mode.

ESC W xL xH yL yH dxL dxH dyL dyH

[Name]

Set printing area in page mode.

[Format]

ASCII

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

ESC c 3 n

[Name]

Select paper sensor(s) to output paper end signals.

[Format]

ASCII

ESC

c

3

n

 

Hex

1B

63

33

n

 

Decimal

27

99

51

n

[Range]

0 n 255

 

 

 

[Description]

Selects the paper sensor(s) to output paper end signals.

 

* Each bit of n is used as follows.

[Range]

0 xL xH yL yH dxL dxH dyL dyH 255 (except dxL=0 or dyL=dyH=0)

[Description]

The horizontal starting position, vertical starting position, printing area width,

 

and printing area height are defined as x0, y0, dx (inch), respectively.

 

x0 = [(xL + xH

×256)]

×(horizontal motion unit)]

 

y0 = [(yL + yH

×256)]

×(vertical motion unit)]

dx = [(dxL + dxH ×256)] ×(horizontal motion unit)] dy = [(dyL + dyH ×256)] ×(horizontal motion unit)]

The printing area is set as shown in the figure below.

Bit

Off/On

Hex

Decimal

0

Off

00

0

 

On

01

1

1

Off

00

0

 

On

02

2

2

Off

00

0

 

On

04

4

3

Off

00

0

 

On

08

8

4-7

-

-

-

Function

Paper roll near-end sensor disable. Paper roll near-end sensor enable. Paper roll near-end sensor disable. Paper roll near-end sensor enable. Paper roll end sensor disable.

Paper roll end sensor enable. Paper roll end sensor disable. Paper roll end sensor enable. Undefined.

36

37

Page 19
Image 19
Samsung SRP-350 specifications ESC T n, ESC V n ESC ₩ n, ESC a n, ESC W xL xH yL yH dxL dxH dyL dyH, ESC c 3 n