Samsung SRP275APG user manual Function, Bit Binary Hex Decimal Status

Page 41

CHAPTER 4 Control commands list

DLE EOT

[Name]

Real-time status transmission

 

 

 

[Format]

ASCII

 

 

DLE

EOT

n

 

Hex

 

 

10

 

04

 

n

 

Decimal

 

 

16

 

4

 

n

[Range]

1 ≤ n ≤ 4

 

 

 

 

 

 

 

 

[Description]

Transmits 1 byte of status data specified in real time, using n as follows:

 

 

n

 

 

 

 

Function

 

 

1

 

Transmit printer status

 

 

 

 

2

 

Transmit offline status

 

 

 

 

3

 

Transmit error status

 

 

 

 

4

 

Transmit paper sensor status

 

[Notes]

• Printer status (n = 1) is as follows:

 

 

 

 

Bit

 

 

Binary

Hex

 

Decimal

 

 

 

Status

 

0

 

 

0

 

00

 

0.

 

 

Not used. Fixed to Off

 

1

 

 

1

 

02

 

2

 

 

Not used. Fixed to On

 

2

 

 

0

 

00

 

0

 

Drawer kick-out connector pin 3 is LOW

 

 

 

1

 

04

 

4

 

 

Drawer kick-out connector pin 3 is HIGH

 

 

 

 

 

 

 

 

 

3

 

 

0

 

00

 

0

 

 

Online

 

 

 

1

 

08

 

8

 

 

Offline

 

 

 

 

 

 

 

 

 

4

 

 

1

 

10

 

16

 

 

Not used. Fixed to On

 

5

 

 

0

 

00

 

0

 

 

Not used. Fixed to Off

 

6

 

 

0

 

00

 

0

 

 

Not used. Fixed to Off

 

7

 

 

0

 

00

 

0

 

 

Not used. Fixed to Off

• Offline status (n = 2) is as follows:

Bit

 

Binary

 

Hex

 

Decimal

 

 

Status

0

 

0

 

00

 

0.

 

 

Not used. Fixed to Off

1

 

1

 

02

 

2

 

 

Not used. Fixed to On

2

 

0

 

00

 

0

 

 

Cover is closed

 

1

 

04

 

4

 

 

Cover is open

 

 

 

 

 

 

3

 

0

 

00

 

0

 

 

Paper is not being fed by the paper feed button

 

1

 

08

 

8

 

 

Paper is being fed by the paper feed button

 

 

 

 

 

 

4

 

1

 

10

 

16

 

 

Not used. Fixed to On

5

 

0

 

00

 

0

 

 

No paper end stop

 

1

 

20

 

32

 

 

Printing stops due to a paper end

 

 

 

 

 

 

6

 

0

 

00

 

0

 

 

No error

 

1

 

04

 

4

 

 

Error occurred

 

 

 

 

 

 

7

 

0

 

00

 

0

 

 

Not used. Fixed to Off

• Error status (n = 3) is as follows:

Bit

Binary

Hex

Decimal

Status

0

0

00

0

Not used. Fixed to Off

1

1

02

2

Not used. Fixed to On

2

0

00

0

No mechanical error

1

04

4

Mechanical error occurred

 

3

0

00

0

No auto cutter error

1

08

8

Auto cutter error occurred

 

4

1

10

16

Not used. Fixed to On

5

0

00

0

No unrecoverable error

1

20

32

Unrecoverable error occurred

 

6

0

00

0

No auto-recoverable error

1

04

4

Auto-recoverable error occurred

 

7

0

00

0

Not used. Fixed to Off

• Paper sensor status (n = 4) is as follows:

Bit

Binary

Hex

Decimal

Status

0

0

00

0

Not used. Fixed to Off

1

1

02

2

Not used. Fixed to On

2,3

00

00

0

Paper near end sensor: paper adequate

11

0C

12

Paper near end sensor: paper near end

 

4

1

10

16

Not used. Fixed to On

5,6

00

00

0

Paper end sensor: paper present

11

60

96

Paper end sensor: paper not present

 

7

0

00

0

Not used. Fixed to Off

4-5

Image 41
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 UnpackingConnecting the AC adaptor Connecting the cablesConnecting the interface cable and drawer kick-out cable Connect the AC adapter according to the following procedureInstalling the ribbon cassette Installing the paper roll Changing the paper width Installing the wall mount Option Control panel Power LED Green Color Using the operation panelError LED Red Color Paper OUT LED Red ColorSelf test Error Description Error LED blinking pattern Recovery Error LED blinking patternRecoverable errors If any of the lights are on, please check the following Printer does not start printingSelf test Printer stops printingYou want to check the operation of the printer by itself Printing is poor To use the hexadecimal dump feature, follow these stepsYou want to check a software program Hexadecimal dumpDIP 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 Only Font B available Memory Switch Function OffCode page selection MSW Character Table 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 Function Class Memory Switch setting for Star modeSettings Default Settings Country Specifications MSW 0-4 = Function Memory Switch BitFF Command Function Selection MSW Precautions for selecting OptionNear end switch Function Memory Switch Bit FunctionMSW Near end switch Function Contextual Auto-cut FunctionMSW3-9 MSW3-8 Character Table CR Command Functions MSW3-1 MSW3-0 CR IgnoredCharacter Table Settings Once Explanation of term Command notationSettings outside the defined range Undefined commandsException processing Undefined codesCommand Description Hex Commands for SRP-275 seriesCommands list for Epson mode TM-U220 When auto line feed is disabled Command description for Epson mode TM-U220Status FunctionHex Bit Binary Hex Decimal StatusDLE DC4 fn = Connector pinBit Hex Decimal FunctionESC % Set Maximum number of dots Mode Dot DSW1-8 on Mode Number of bits Dot densityHorizontal DensityESC = ESC @ Font ESC JJustification ESC aESC c ESC e ESC dESC g n ESC gESC ESC mESC t ESC pESC r Hex Decimal Status ESC uFS q FS pGS a PaperFunction Description GS CFunction GS C p L p H m fn bGS E Real-time command typeGS D 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/3551Paper specifications Printing specificationRibbon cassette specification Description RemarkEnvironment conditions Electrical characteristicsReliability Optional features Dimensions & weightDimensions WeightPage 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 RS-232C Serial I/F cable connection 2 RS-232C Serial I/F signal descriptionsRS-232C Serial I/F IEEE1284 Parallel I/F Pin no Source Compatibility mode Nibble mode Byte modePin No Signal name Assignment Color Function USB I/F signal descriptionsDrawer kick-out Drawer kick-out cable connectionKN02-00009E Rev