Samsung SRP-250 Series specifications Esc, GS I n, Printer ID Specification ID hexadecimal

Page 37

ESC v

[Name]

Transmit paper sensor status.

[Format]

ASCII

ESC

v

 

Hex

1B

76

 

Decimal

27

118

[Description]

Transmits the current paper sensor status.

When DTR/DSR control is selected, the printer transmits only 1 byte after confirming that the host is ready to receive data (DSR signal is SPACE).

If the host computer is not ready to receive data (DSR signal is MARK),

the printer waits until the host is ready. When XON/XOFF control is selected , the printer transmits only 1 byte without checking the DSR signal.

This command is executed when the data is processed in the receive buffer. Therefore, there may be a time lag between receiving the command and transmitting the status, depending on the receive buffer status.

The status to be transmitted is shown in the table below.

This command is available only with a serial interface, and is ignored with

a parallel interface.

Bit

Off/On

Hex

Decimal

Function

 

Off

00

0

Paper roll end sensor. Paper is present.

0,1

On

03

3

Paper roll end sensor. Paper is not present.

 

Off

00

0

Paper roll end sensor. Paper is present.

2,3

On

0C

12

Paper roll end sensor. Paper is not present.

4

Off

00

0

Not used.

5,6

-

-

-

Undefined.

7

Off

00

0

Not used.

GS I n

[Name]

Transmit printer ID.

 

 

[Format]

ASCII

GS

I

n

 

Hex

1D

49

n

 

Decimal

29

73

n

 

[Range]

1 n 3, 49 n 51

 

 

[Description]

Transmits the printer ID specified by n as follows:

 

 

 

 

 

 

n

 

Printer ID

 

Specification

ID (hexadecimal)

1, 49

 

Printer model ID

SRP-250/SRP-250P

0DH

 

 

 

 

 

 

2, 50

 

Type ID

 

See table below.

 

3, 51

 

ROM version ID

ROM version

 

36

Image 37
Contents Series Introduction Table of Contents Unpacking Checking the Contents of the printer boxFunctions Connecting the AC adapter to the printer Connecting the cablesConnecting Interface Cable and Drawer Cable to the printer Ribbon Cassette Installation Installing the roll paperRoll Paper Installation Page Page Page Setting the DIP switches Refer to the following table Print ¡ ? ¡ ±Transmission speed Parallel Interface Specification Hexadecimal Dumping Self-test printing Please press the Feed button Self testCode Table 2 PC850 Multilingual 3 PC860 Portuguese 4 PC 863 Canadian French 5 PC 865 Nordic International Character Command Notation Control CommandsBit Off/On Hex Decimal Function DLE EOT n= 3 Error status ESC SP n DLE ENQ nESC ! n Bit Off/On HexXk d1 Dyx × xk ESC % nHorizontal Direction ESC * m nL nH d1…dkDots Dot Density NumberESC = n ESC 3 nESC ? n ESC D n1... nk NUL ESC @ESC G n ESC E nESC J n ESC K nESC U n ESC R nESC a n JustificationESC c 5 n ESC c 3 nESC d n ESC p m t1 t2 ESC mPrint color ESC t n ESC Printer ID Specification ID hexadecimalGS I n GS V m n Print modeGS r n Bit Off/On Hex Decimal Status Appendix a ConnectorsInterface Connector Pin No Signal Name Drawer Connector Appendix B SpecificationRemoving Jammed Paper a Appendix CPage Removing Jammed Paper B Page Control Codes Star modeCitizen mode