Samsung SRP-500 ① GS V m ② GS V m n, GS a n, Name Enable/Disable Automatic Status Back Format

Page 36

GS V m

GS V m n

[Name]

 

Feeds paper for cutting position.

 

[Format]

 

1 ASCll

GS

V

m

 

 

 

 

Hex

1D

56

m

 

 

 

 

Decimal

29

86

m

 

 

 

 

ASCll

GS

V

m

n

 

 

 

Hex

1D

56

m

n

 

 

 

Decimal

29

86

m

n

[Range]

 

m = 1, 49

 

m = 66, 0 ≤ n ≤ 255

[Description]

Feeds paper for cutting position as follows;

 

 

 

 

 

 

 

Bit

 

 

 

 

Print mode

 

1, 49

Partial cut (one portion left uncut)

 

 

 

66

 

Feeds paper for ( cutting position + [n x 0.122 mm {1/192 inches}]), and partial cut.

[Notes]

This command is effective only at the beginning of a line.

When n = 0, the printer feeds the paper to the cutting position.

When n , 0,the printer feeds the paper to (cutting position +[ n x 0.122 mm {1/192 inches}]).

GS a n

[Name]

Enable/Disable Automatic Status Back

[Format]

ASCII

GS

a

n

 

Hex

1D

61

n

 

Decimal

29

97

n

[Range]

0 ≤ n ≤ 255

 

 

[Description]

Enables or disables ASB and specifies the status items to

 

include, using n as follows:

 

63

Bit

Off/On

Hex

Decimal

Status for ASB

0

Off

00

0

Drawer kick-out connector pin 3 status disabled.

 

On

01

1

Drawer kick-out connector pin 3 status enabled.

1

Off

00

0

On-line/off-line disabled.

 

On

02

2

On-line/off-line enabled

2

Off

00

0

Error status disabled.

 

On

04

4

Error status enabled.

3

Off

00

0

Paper roll sensor status disabled.

 

On

08

8

Paper roll sensor status enabled.

4

-

-

-

Undefined.

5

-

-

-

Undefined.

6

-

-

-

Undefined.

7

-

-

-

Undefined.

[Notes]

Even if only one of the statuses is enabled, the status is sent when this command is executed. Subsequently, whenever the state of a valid status changes, that status is sent. In this case, because the current state is shown for each status, there is a possibility of a state change for a status for which ASB is not enabled.

If all statuses are disabled, the Automatic Status Back (ASB) function is disabled.

When transmitting a status, the printer transmits only four bytes.

Four bytes of status data must be consecutive, except for XOFF code.

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

When the printer is disabled by ESC = (Select peripheral device), this command is disabled but ASB is not disabled.

The status to be transmitted are as follows:

64

Image 36
Contents SRP-500 Reach Taking following measuresDo not let water or other foreign objects Printer EMC and Safety standards Applied Table of contents Introduction Front view Rear viewSetting 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 Using the control panel Control panel Power LEDError LED Clean ButtonTroubleshooting Self testRunning the self test If any of the lights are on, please check the followingCleaning the print head Printer stops printingYou want to check the operation of the printer by itself Printing is poorDIP switch settings Setting the DIP switchesDIP 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 Control commands list CommandsCommand descriptions Character Code TablesName Horizontal tab Format DLE EOT n Name Real-time status transmission Format= 2 Off-line status = 3 Error status DLE ENQ nESC SP n Name Real-time request to printer FormatName Select/cancel user-defined character set Format ESC ! nESC % 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 ? n ESC D n1... nk NULESC 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 a pL pH n m GS I nName Enable/Disable Automatic Status Back Format ① GS V m ② GS V m nGS a n Default n = Reference First byte printer informationSecond byte printer information Third byte paper sensor informationGS j n Status BPrinting specification Paper specificationInk cartridge specification Reference informationElectrical characteristics Dimensions & WeightOptional features ReliabilityMemo ………..………………………………………………