Samsung SRP-500 manual Control commands list, Commands

Page 21

Chapter 5

Control commands list

5-1. Commands

5.1.1 Commands list for SRP-500 Series. (EPSON TM-U200 Mode)

n

Command

Description

 

Hexadecimal

1

CR

Print and carriage return

0D

 

 

2

HT

Horizontal tab

09

 

 

3

LF

Print and linefeed

0A

 

 

4

DLE EOT

Transmit real-time status

10 04

 

5

DLE ENQ

Real-time request to printer

10 05

 

6

ESC SP

Set right-side character spacing

1B

20

 

7

ESC %

Select/Cancel user defined characters

1B

25

 

8

ESC &

Define user-defined characters

1B

26

 

9

ESC *

Select bit-image mode

1B

2A

 

10

ESC !

Select print mode

1B

21

 

11

ESC -

Turn underline mode on/off

1B

2D

 

12

ESC =

Select peripheral device status

1B

3D

 

13

ESC 2

Select default line spacing 1/6 lpi

1B

32

 

14

ESC 3

Set line spacing

1B

33

 

15

ESC <

Return home

1B

3C

 

16

ESC ?

Cancel user defined characters

1B

3F

 

17

ESC @

Initialize printer

1B

40

 

18

ESC D

Set horizontal positions

1B

44

 

19

ESC E

Turn emphasized mode on/off

1B

45

 

20

ESC G

Turn double-strike mode on/off

1B

47

 

21

ESC J

Print and feed paper <n> vertical units

1B

4A

 

22

ESC R

Select an international character set

1B

52

 

23

ESC U

Turn unidirectional printing mode on/off

1B

55

 

24

ESC a

Select justification

1B

61

 

25

ESC c 3

Select paper sensor to output paper end

1B

63

33

signal

 

 

 

 

 

26

ESC c 4

Select paper sensor to stop printing

1B

63

34

27

ESC c 5

Enable/disable panel button

1B

63

35

28

ESC d

Print and feed <n> line

1B

64

 

29

ESC g <0>

Start macro record (For logo)

1B

67

00

30

ESC g <n>

Execute macro (For logo)

1B

67

<n>

31

ESC m

Execute partial cut

1B

6D

 

32

ESC p

Generate pulse

1B

70

 

33

ESC r

Select color

1B

72

 

34

ESC t

Select character code table

1B

74

 

35

ESC v

Transmit paper sensor status

1B

76

 

36

ESC {

Turn upside-down printing mode on/off

1B

7B

 

37

GS ( A

Execute test print

1B

28

41

38

GS I

Transmit printer ID

1D 49

 

39

GS V

Select cut mode and cut paper

1D 56

 

40

GS a

Enable/disable Automatic Status Back

1D 61

 

(ASB)

 

 

 

 

 

 

41

GS j

Enable/disable Automatic Status Back

1D 6A

 

(ASB) for ink

 

 

 

 

 

 

42

GS r

Transmit status

1D 72

 

33

5.1.2 Commands list for SRP-500 Series. (STAR SP-320 Mode)

n

Command

Description

Hexadecimal

1

BEL

Deferred drive command “A” for peripheral unit 1

07

 

2

FF

Page feed (Form feed)

0C

 

3

CR

Print and linefeed (same as LF)

0D

 

4

SO

Select expanded character mode

0E

 

5

SI

Select upside-down

0F

 

6

DC2

Cancel upside-down character

12

 

7

DC4

Cancel expanded character mode(Default setting)

14

 

8

CAN

Cancel print data in buffer

18

 

9

EM

Immediate drive command for peripheral unit2

19

 

10

SUB

Immediate drive command for peripheral unit 2

1A

 

11

ESC BEL

Adjust drive pulse width for peripheral unit (Default

1B

07

setting)

 

 

 

 

12

ESC -

Set or Cancel underline mode

1B

2D

13

ESC 4

Red color print selection

1B

34

14

ESC 5

Red color print deselection

1B

35

15

ESC @

Initialize printer

1B

40

16

ESC C

Set page length at n lines

1B

43

17

ESC E

Emphasized print mode

1B

45

18

ESC F

Emphasized print mode deselection (Default setting)

1B

46

19

ESC M

Select 9 x 7(Half dots) character size

1B

4D

20

ESC R

Select international character set

1B

52

21

ESC U

Set or cancel uni-direction mode

1B

55

22

ESC W 1

Select expanded character mode

1B

57 31

 

ESC W <1>

 

1B

57 01

23

ESC W 0

Cancel expanded character mode (Default setting)

1B

57 30

 

ESC W <0>

 

1B

57 00

24

ESC _ 1

Select over-line mode

1B

5F 31

 

ESC _ <1>

 

1B

5F 01

25

ESC _ 0

Cancel over-line mode

1B

5F 30

 

ESC _ <0>

 

1B

5F 01

26

ESC a

Feed paper n lines

1B

61

27

ESC d 0

Partial cut

1B

64 30

28

ESC d 1

Partial cut

1B

64 31

29

ESC e 1

Set the control panel switch invalid

1B

65 31

 

ESC e <1>

 

1B

65 01

30

ESC e 0

Set the control panel switch valid

1B

65 30

 

ESC e <0>

 

1B

65 00

31

ESC f 1

Set the ON LINE switch invalid

1B

66 31

 

ESC f <1>

 

1B

66 01

32

ESC f 0

Set the ON LINE switch valid

1B

66 30

 

ESC f <0>

 

1B

66 00

33

FS

Immediate drive command “B” for peripheral unit 1

1C

 

34

Image 21
Contents SRP-500 Reach Taking following measuresDo not let water or other foreign objects Printer EMC and Safety standards Applied Table of contents Front view Rear view IntroductionSetting up the printer UnpackingChoosing a place for the printer Connecting the cables Connect the AC adapter according to the following procedureConnecting the interface cable Installing or replacing paper roll Installing new Ink cartridges Control panel Power LED Using the control panelError LED Clean ButtonSelf test TroubleshootingRunning the self test If any of the lights are on, please check the followingPrinter stops printing Cleaning the print headYou want to check the operation of the printer by itself Printing is poorSetting the DIP switches DIP switch settingsDIP switch functions You want to check a software programChanging the DIP switch setting Code table 3 PC860 Portuguese 4 PC 863 Canadian French 5 PC 865 Nordic 16 CP1252 WinLatin1 17 PC 866 Russian 18 CP 852 DosLatin2 19 PC 858 Euro 21 MS-DOS 862 Israel 22 MS-DOS 864 Arabic 23 MS-DOS 874 Thai Commands Control commands listCommand descriptions Character Code TablesName Horizontal tab Format DLE EOT n Name Real-time status transmission Format= 2 Off-line status DLE ENQ n = 3 Error statusESC SP n Name Real-time request to printer FormatESC ! n Name Select/cancel user-defined character set FormatESC % n Name Select print modes FormatESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xk ESC * m nL nH d1...dkName Define user-defined characters Format ESC n ESC 3 nESC = n ESC D n1... nk NUL ESC ? nESC E n ESC G nESC J n ESC R n ESC a nESC U n ESC c 3 n ESC c 4 nName Select paper sensorsto stop printing Format ASCll ESC c 5 n ESC d nESC g0 k nH nL kd1…dmk ESC m ESC p m t1 t2ESC t n Name Turns on/off upside-down printing mode Format ESCName Transmit paper sensor status Format GS I n GS a pL pH n mName Enable/Disable Automatic Status Back Format ① GS V m ② GS V m nGS a n First byte printer information Default n = ReferenceSecond byte printer information Third byte paper sensor informationStatus B GS j nPaper specification Printing specificationInk cartridge specification Reference informationDimensions & Weight Electrical characteristicsOptional features ReliabilityMemo ………..………………………………………………