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

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