Samsung SRP-500 manual Esc, Name Transmit paper sensor status Format

Page 34

ESC v

[Name]

Transmit paper sensor status

[Format]

ASCII

ESC

v

 

Hex

1B

76

 

Decimal

27

118

[Description]

Transmits the status of paper sensor( s) as 1 byte of data

[Notes]

 

 

 

GS r 1 can also be used to check the status. GS r is recommended for transmitting the paper sensor status. ESC v is not a recommended command.

When DTR/DSR control is selected by DIP switch (Handshaking) with a serial interface, the printer transmits the status after confirming that the host is ready to receive data. If the host computer is not ready to receive data, the printer waits until the host becomes ready.

When XON/XOFF control is selected by DIP switch (Handshaking) with a serial interface, the printer transmits the status without confirming whether the host computer can receive data.

The peripheral device status to be transmitted is as follows:

Bit

Off/On

Hex

Decimal

Function

0,1

Off

00

0

Paper roll near end sensor : paper adequate

On

03

3

Paper roll near end sensor : paper near end

 

2,3

Off

00

0

Paper roll end sensor : paper present

On

0C

12

Paper roll end sensor : paper not present

 

4

Off

00

0

Fixed

5

Off

00

0

Undefined

6

Off

00

0

Undefined

7

Off

00

0

Undefined

59

ESC { n

[Name]

Turns on/off upside-down printing mode

[Format]

ASCII

ESC

{

n

 

Hex

1B

7B

n

 

Decimal

27

123

n

[Range]

0 ≤ n ≤ 255

 

 

[Description]

Turns upside-down printing mode on or off.

When the LSB of n is 0, upside-down printing mode is turned off.

When the LSB of n is 1, upside-down printing mode is turned on.

[Notes]

Only the lowest bit of n is effective.

This command is enabled only when input at the beginning of a line.

In upside-down printing mode, the printer rotates the line to be printed by 180° and then prints it.

[Default]

n = 0

 

[Example]

 

 

Upside-down printing mode is furned off

Upside-down printing mode is furned on

Paper feed directioPaper feed direction

60

Image 34
Contents SRP-500 Taking following measures ReachDo not let water or other foreign objects Printer EMC and Safety standards Applied Table of contents Introduction Front view Rear viewUnpacking Setting up the printerChoosing a place for the printer Connect the AC adapter according to the following procedure Connecting the cablesConnecting the interface cable Installing or replacing paper roll Installing new Ink cartridges Error LED Using the control panelControl panel Power LED Clean ButtonRunning the self test TroubleshootingSelf test If any of the lights are on, please check the followingYou want to check the operation of the printer by itself Cleaning the print headPrinter stops printing Printing is poorDIP switch functions DIP switch settingsSetting the DIP switches 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 Control commands list CommandsCharacter Code Tables Command descriptionsName Horizontal tab Format Name Real-time status transmission Format DLE EOT n= 2 Off-line status ESC SP n = 3 Error statusDLE ENQ n Name Real-time request to printer FormatESC % n Name Select/cancel user-defined character set FormatESC ! n Name Select print modes FormatESC * m nL nH d1...dk ESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xkName Define user-defined characters Format ESC 3 n ESC nESC = n ESC ? n ESC D n1... nk NULESC G n ESC E nESC J n ESC a n ESC R nESC U n ESC c 4 n ESC c 3 nName Select paper sensorsto stop printing Format ASCll ESC d n ESC c 5 nESC g0 k nH nL kd1…dmk ESC p m t1 t2 ESC mESC t n ESC Name Turns on/off upside-down printing mode FormatName Transmit paper sensor status Format GS a pL pH n m GS I n① GS V m ② GS V m n Name Enable/Disable Automatic Status Back FormatGS a n Second byte printer information Default n = ReferenceFirst byte printer information Third byte paper sensor informationGS j n Status BInk cartridge specification Printing specificationPaper specification Reference informationOptional features Electrical characteristicsDimensions & Weight ReliabilityMemo ………..………………………………………………