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

Page 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

Image 13
Contents Notice - Canada Warning - U.SIntroduction STP-102S / STP-102PChapter 1. Unpacking Table of ContentsPower cord Roll paperPOWERgreen Indicator lightsERRORred 1-3. Printer Part Names2-1. Connecting the AC adapter to your printer Chapter 2. Connecting the Cable2-2. Connecting the printer to your Computer STP-102SThe printer must be turned off before installing the paper roll Chapter 3. Installing the Paper RollSTP-102P DIP switch functions Chapter 4. Setting the DIP SwitchesChapter 6. Code Table Chapter 5. Running the Self-testPC850 Multilingual 1516PC860 Portuguese PC863 Canadian - French 1718PC865 Nordic Space Page 1920Chapter 7. Functions Commands2122 Command Notation Chapter 8. Control CommandsControl Commands HT Explanation of TermsESC - n ESC * m nL nH d1...dkESC 3 n ESC @ESC R n ESC J nESC V n ESC \ nL nHESC d n ESC c 5 nGS ! n ESC nGS L nL nH GS B nGS W nL nH GS r t mGS h n APPENDIX A CONNECTORS1 GS k m d1... dk NUL 2 GS k m n d1... dnJF01-000012 APPENDIX B Specification7.5V 2.2A