Samsung SRP275APG user manual Commands for SRP-275 series, Commands list for Epson mode TM-U220

Page 39

CHAPTER 4 Control commands list

▌4.4 Commands for SRP-275 series

▌4.4.1 Commands list for EPSON mode (TM-U220)

No.

Command

Description

 

 

Hex

1

HT

Horizontal tab

09

 

 

2

LF

Print and line feed

0A

 

 

3

CR

Print and carriage return

0D

 

 

4

DLE EOT

Real-time status transmission

10 04

 

5

DLE ENQ

Real-time request to printer

10 05

 

6

DLE DC4(fn = 1)

Generate pulse at real-time

10 14

 

7

ESC SP

Set right-side character spacing

1B

20

 

8

ESC !

Select print mode(s)

1B

21

 

9

ESC %

Select/cancel user-defined character set

1B

25

 

10

ESC &

Define user-defined characters

1B

26

 

11

ESC *

Select bit-image mode

1B

2A

 

12

ESC –

Turn underline mode on/off

1B

2D

13

ESC 2

Select default line spacing

1B

32

 

14

ESC 3

Set line spacing

1B

33

 

15

ESC <

Return home

1B

3C

16

ESC =

Select peripheral device

1B

3D

17

ESC ?

Cancel user-defined characters

1B

3F

 

18

ESC @

Initialize printer

1B

40

 

19

ESC D

Set horizontal tab positions

1B

44

 

20

ESC E

Turn emphasized mode on/off

1B

45

 

21

ESC G

Turn double-strike mode on/off

1B

47

 

22

ESC J

Print and feed paper

1B

4A

 

23

ESC K

Print and reverse feed

1B

4B

 

24

ESC M

Select character font

1B

4D

25

ESC R

Select an international character set

1B

52

 

26

ESC U

Turn unidirectional printing mode on/off

1B

55

 

27

ESC a

Select justification

1B

61

 

28

ESC c 3

Select paper sensor(s) to output paper end signals

1B

63

33

29

ESC c 4

Select paper sensor(s) to stop printing

1B

63

34

30

ESC c 5

Enable/disable panel buttons

1B

63

35

31

ESC d

Print and feed n lines

1B

64

 

32

ESC e

Print and reverse feed n lines

1B

65

 

33

ESC g

Start macro record (For logo)

1B

67

00

34

ESC g<n>

Execute macro (For logo)

1B

67

<n>

35

ESC i

Partial cut (one point left uncut)

1B

69

 

36

ESC m

Partial cut (one point left uncut)

1B

6D

37

ESC p

Generate pulse

1B

70

 

38

ESC r

Select print color

1B

72

 

39

ESC t

Select character code table

1B

74

 

40

ESC u

Transmit peripheral device status

1B

75

 

41

ESC v

Transmit paper sensor status

1B

76

 

42

ESC {

Turn upside-down printing mode on/off

1B

7B

 

43

FS p

Print NV bit image

1C 70

 

44

FS q

Define NV bit image

1C 71

 

45

GS ( A

Execute test print

1D 28 41

46

GS ( C

Edit NV user memory

1D 28 43

47

GS ( D

Enable/disable real-time command

1D 28 44

48

GS ( E

User setup commands

1D 28 45

49

GS I

Transmit printer ID

1D 49

 

50

GS V

Select cut mode and cut paper

1D 56

 

51

GS a

Enable/disable Automatic Status Back (ASB)

1D 61

 

52

GS r

Transmit status

1D 72

 

4-3

Image 39
Contents USER’S Manual Page CE Marking EMC and Safety standards AppliedSafety precautions To Unplug Table of contents Appendix a Code table Appendix B ConnectorsRear view Front viewPage Page Choosing a place for the printer UnpackingConnect the AC adapter according to the following procedure Connecting the cablesConnecting the AC adaptor Connecting the interface cable and drawer kick-out cableInstalling the ribbon cassette Installing the paper roll Changing the paper width Installing the wall mount Option Paper OUT LED Red Color Using the operation panelControl panel Power LED Green Color Error LED Red ColorSelf test Error LED blinking pattern Recoverable errorsError Description Error LED blinking pattern Recovery If any of the lights are on, please check the following Printer does not start printingPrinter stops printing You want to check the operation of the printer by itselfSelf test Hexadecimal dump To use the hexadecimal dump feature, follow these stepsPrinting is poor You want to check a software programDIP Switch setting for EpsonESC/POS mode Setting the DIP SwitchInternational Character Selection DSW Code Country DIP Switch setting for CitizeniDP 3550 modeDIP Switch setting for StarSP500 mode Changing the DIP Switch setting Memory Switch Function Off Code page selection MSW Character TableOnly Font B available Serial communication Function Selectable value Customize value Function Selectable value Paper roll widthExample of Memory Switch setup sheet Memory Switch Setup ModeProcedure of Memory Switch setting Memory Switch setting for Star mode SettingsFunction Class Default Settings Precautions for selecting Option Function Memory Switch BitCountry Specifications MSW 0-4 = FF Command Function Selection MSWContextual Auto-cut Function Memory Switch Bit FunctionNear end switch Function MSW Near end switch FunctionCR Command Functions MSW3-1 MSW3-0 CR Ignored Character Table SettingsMSW3-9 MSW3-8 Character Table Once Explanation of term Command notationUndefined codes Undefined commandsSettings outside the defined range Exception processingCommands for SRP-275 series Commands list for Epson mode TM-U220Command Description Hex When auto line feed is disabled Command description for Epson mode TM-U220Bit Binary Hex Decimal Status FunctionStatus HexHex Decimal Function Connector pinDLE DC4 fn = BitESC % Density Mode Number of bits Dot densitySet Maximum number of dots Mode Dot DSW1-8 on HorizontalESC = ESC @ Font ESC JESC a ESC cJustification ESC e ESC dESC m ESC gESC g n ESCESC p ESC rESC t Hex Decimal Status ESC uPaper FS pFS q GS aFunction Description GS CFunction GS C p L p H m fn bReal-time command type GS DGS E GS E pL pH fn d1 d2 Function Setting value b FunctionType of customized value GS E p L p H fn a FunctionCommunication condition GS E p L p H fn a d1...dkBixolon Printer ID SpecificationHex Decimal Status for ASB Decimal Function GS r DC2 Commands list for Star mode SP500ESC L Command Description Hexadecimal Commands list for Citizen mode iDP3550/3551Description Remark Printing specificationPaper specifications Ribbon cassette specificationElectrical characteristics ReliabilityEnvironment conditions Weight Dimensions & weightOptional features DimensionsPage Appendix a Code tables 1 Katakana 2 PC850 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic 16 WPC1252 Latin1 17 PC866 Russian 18 PC852 Latin2 19 PC858 Euro 21 PC862 Israel 22 PC864 Arabic 23 Thai character code 24 WPC1253 Greek 25 WPC1254 Turkish 26 WPC1257 Baltic 27 Farsi 28 WPC1251 Russian 29 PC737 Greek 30 PC775 Baltic 31 Thai character code 32 OldCode Israel 33 WPC1255 Israel 34 Thai character code 35 Thai character code International character code table 2 RS-232C Serial I/F signal descriptions RS-232C Serial I/FRS-232C Serial I/F cable connection IEEE1284 Parallel I/F Pin no Source Compatibility mode Nibble mode Byte modeDrawer kick-out cable connection USB I/F signal descriptionsPin No Signal name Assignment Color Function Drawer kick-outKN02-00009E Rev