Samsung SRP-500 User Manual

Page 36

Advertising
background image

63

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:


64


Bit

Off/On

Hex

Decimal

Status for ASB

Off

00

0

Drawer kick-out connector pin 3 status disabled.

0

On

01

1

Drawer kick-out connector pin 3 status enabled.

Off 00 0 On-line/off-line

disabled.

1

On 02 2 On-line/off-line

enabled

Off 00 0 Error

status

disabled.

2

On 04 4 Error

status

enabled.

Off

00

0

Paper roll sensor status disabled.

3

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:

Advertising