Samsung STP-102S User Manual

Page 13

Advertising
background image

Select bit-image mode.
ASCII
Hex
Decimal
m = 0, 1, 32, 33
0 < nL < 255
0 < nH < 3
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

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

*

m nL nH d1...dk

[Name]
[Format]

[Range]

[Description]

[Notes]

ESC
1B
27

*

2A
42

m nL nH d1 ... dk
m nL nH d1 ... dk
m nL nH d1 ... dk

ESC - n

[Name]
[Format]

[Range]
[Description]

Turn underline mode on/off.
ASCII
Hex
Decimal
0 < n < 2, 48 < n < 50
Turns underline mode on or off, based on the following values of n:

ESC
1B
27

-
2D
45

n
n
n

ESC 2

[Name]
[Format]

[Description]

Select default line spacing.
ASCII
Hex
Decimal
Set the line spacing to 1/6 inch.

ESC
1B
27

2
32
50

ESC 3 n

[Name]
[Format]

[Range]
[Description]

Set line spacing.
ASCII
Hex
Decimal
0 < n < 255
Sets the line spacing to n dots.

ESC
1B
27

3
33
51

n
n
n

0, 48
1, 49
2, 50

Turns off underline mode.
Turns on underline mode (1-dot thick).
Turns on underline mode (2-dots thick).

n

Function

@
40
64

ESC
1B
27

D
44
68

n1...nk
n1...nk
n1...nk

NUL
00
0

ESC D n1...nk NUL

[Name]
[Format]

[Range]

[Description]

[Notes]

Set horizontal tab positions.
ASCII
Hex
Decimal
1 < n < 255
0 < k < 32
Sets horizontal tab position.

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 @

[Name]
[Format]

[Description]

Initialize printer.
ASCII
Hex
Decimal
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
1B
27

ESC
1B
27

E
45
69

n
n
n

ESC E n

[Name]
[Format]

[Range]
[Description]

[Notes]

Turn emphasized mode on/off.
ASCII
Hex
Decimal
0 < n < 255
Turns emphasized mode on or off.

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

25

26

Advertising
This manual is related to the following products: