Samsung STP-102P ESC * m nL nH d1...dk, ESC - n, ESC 3 n, Esc @, ESC D n1...nk NUL, ESC E n

Models: STP-102S STP-102P

1 18
Download 18 pages 18.22 Kb
Page 13
Image 13
ESC * m nL nH d1...dk

ESC * m nL nH d1...dk

[Name]

Select bit-image mode.

 

 

[Format]

ASCII

ESC

*

m

nL nH d1 ... dk

 

 

Hex

1B

2A

m

nL nH d1 ... dk

[Range]

Decimal

27

 

42

m

nL nH d1 ... dk

m = 0, 1, 32, 33

 

 

 

 

 

0 < nL < 255

 

 

 

 

 

0 < nH < 3

 

 

 

 

 

[Description]

0 < d < 255

 

 

 

Selects a bit-image mode using m for the number of dots specified by nL and

 

 

nH, as follows.

 

 

 

 

 

Number of data(k) = (nL + nH x 256) x 3

[Notes]

The nL and nH indicate the number of dots of the bit image in the horizontal

 

 

direction.

 

 

 

 

 

The number of dots is calculated by (nL + nH x 256).

 

 

If the bit-image data input exceeds the number of dots to be printed on a line,

 

 

the excess data is ignored.

 

 

 

d indicates the bit-image data. Set a corresponding bit to 1 to print a dot or

 

 

to 0 to not print a dot.

 

 

 

 

 

 

 

 

 

 

ESC - n

 

 

 

 

 

 

[Name]

Turn underline mode on/off.

 

[Format]

ASCII

ESC

 

-

n

 

 

Hex

1B

 

2D

n

 

 

Decimal

27

 

45

n

[Range]

0 < n < 2, 48 < n < 50

 

 

[Description]

Turns underline mode on or off, based on the following values of n:

 

 

 

 

 

 

 

n

 

 

Function

 

 

0, 48

 

 

Turns off underline mode.

 

1, 49

 

 

Turns on underline mode (1-dot thick).

 

2, 50

 

 

Turns on underline mode (2-dots thick).

 

 

 

 

 

 

 

 

ESC 2

 

 

 

 

 

 

[Name]

Select default line spacing.

 

[Format]

ASCII

ESC

 

2

 

 

 

Hex

1B

 

32

 

[Description]

Decimal

27

 

50

 

Set the line spacing to 1/6 inch.

 

25

ESC 3 n

[Name]

Set line spacing.

 

 

[Format]

ASCII

ESC

3

n

 

Hex

1B

33

n

 

Decimal

27

51

n

[Range]

0 < n < 255

 

 

 

[Description]

Sets the line spacing to n dots.

 

ESC @

[Name]

Initialize printer.

@

[Format]

ASCII

ESC

 

Hex

1B

40

[Description]

Decimal

27

64

Clears the data in the print buffer and resets the printer mode

 

to the mode that was in effect when the power was turned on.

ESC D n1...nk NUL

[Name]

Set horizontal tab positions.

 

 

[Format]

ASCII

ESC

D

n1...nk

NUL

 

Hex

1B

44

n1...nk

00

 

Decimal

27

68

n1...nk

0

[Range]

1

< n < 255

 

 

 

 

 

0

< k < 32

 

 

 

 

[Description]

Sets horizontal tab position.

[Notes]

n specifies the column number for setting a horizontal tab position

 

from the beginning of the line.

 

k indicates the total number of horizontal tab positions to be set.

ESC E n

[Name]

Turn emphasized mode on/off.

 

[Format]

ASCII

ESC

E

n

 

Hex

1B

45

n

 

Decimal

27

69

n

[Range]

0 < n < 255

 

 

 

[Description]

Turns emphasized mode on or off.

[Notes]

When the LSB is 0, emphasized mode is turned off.

 

When the LSB is 1, emphasized mode is turned on.

26

Page 13
Image 13
Samsung STP-102P, STP-102S instruction manual ESC * m nL nH d1...dk, ESC - n, ESC 3 n, Esc @, ESC D n1...nk NUL, ESC E n