Samsung STP-102P, STP-102S instruction manual ESC c 5 n, ESC d n, GS ! n, ESC n, 2930

Models: STP-102S STP-102P

1 18
Download 18 pages 18.22 Kb
Page 15
Image 15
ESC c 5 n

ESC c 5 n

[Name]

Enable/Disable panel buttons.

 

 

[Format]

ASCII

ESC

c

5

n

 

Hex

1B

63

35

n

 

Decimal

27

99

53

n

[Range]

0 < n < 255

 

 

 

 

[Description]

Enables or disables the panel buttons.

[Notes]

When the LSB is 0, the panel buttons are enabled.

 

When the LSB is 1, the panel buttons are disabled.

ESC d n

GS ! n

[Name]

Select character size.

 

[Format]

ASCII

GS

!

 

n

 

Hex

1D

21

 

n

 

Decimal

29

33

 

n

[Range]

0 < n < 255

 

 

 

[Description]

(1 < vertical number of times < 8, 1 < horizontal number of times < 8)

Selects the character height using bits 0 to 1 and selects the character width

 

using bits 4 to 5, as following:

 

 

 

 

 

 

 

 

Bit

Off/On

 

Hex

Decimal

 

Function

 

 

 

 

 

 

0 ~ 1

Character height selection. See Table 2

 

 

 

 

 

 

 

4 ~ 5

Character width selection. See Table 1

 

[Name]

Print and feed n lines.

 

 

[Format]

ASCII

ESC

d

n

 

Hex

1B

64

n

 

Decimal

27

100

n

[Range]

0 < n < 255

 

 

 

[Description]

Prints the data in the print buffer and feeds n lines.

ESC { n

Table 1

Character Width Selection

Hex

Decimal

Width

00

0

1(normal)

10

16

2(double)

 

 

 

Table 2

Character Height Selection

Hex

Decimal

Width

00

0

1(normal)

10

1

2(double)

 

 

 

[Name]

Turn upside-down printing mode on/off.

[Format]

ASCII

ESC

{

n

 

Hex

1B

7B

n

 

Decimal

27

123

n

[Range]

0 < n < 255

 

 

 

[Description]

Turns upside-down printing mode on or off.

[Notes]

When the LSB is 0, upside-down printing mode is turned off.

 

When the LSB is 1, upside-down printing mode is turned on.

GS :

[Name]

Start/End macro definition.

[Format]

ASCII

GS

:

 

Hex

1D

3A

[Description]

Decimal

29

58

Starts or ends macro definition.

2930

Page 15
Image 15
Samsung STP-102P, STP-102S instruction manual ESC c 5 n, ESC d n, GS ! n, ESC n, 2930