Bit

Off/On

Hex

Decimal

Function

 

 

 

 

 

3

Off

00

0

No MICR reader.

 

 

 

 

On

08

8

A MICR reader is installed.

 

 

 

 

 

 

4

Off

00

0

Not used. Fixed to Off.

 

 

 

 

 

5

-

-

-

Undefined.

 

 

 

 

 

6

-

-

-

Undefined.

 

 

 

 

 

7

Off

00

0

Not used. Fixed to Off.

 

 

 

 

 

GS L nL nH

[Name]

Set left margin

 

 

 

[Format]

ASCII

GS

L

nL

nH

 

Hex

1D

4C

nL

nH

 

Decimal

29

76

nL

nH

[Range]

0

nL ≤ 255

 

 

 

 

 

0

nH ≤ 255

 

 

 

 

[Description]

Sets the left margin using nL and nH in standard mode.

The left margin is set to [(nL + nH × 256) × horizontal motion unit)] inches from the beginning of the line.

GS P x y

[Name]

Set horizontal and vertical motion units

 

[Format]

ASCII

GS

P

x

y

 

Hex

1D

50

x

y

 

Decimal

29

80

x

y

[Range]

0 ≤ x ≤ 255

 

 

 

 

 

0 ≤ y ≤ 255

 

 

 

 

[Description]

Sets the horizontal and vertical motion units to 1/x inch and 1/y

 

inches, respectively.

 

 

 

When x and y are set to 0, the default setting of each value is used.

GS V m GS V m n

[Name]

Select cut mode and cut paper

 

 

[Format]

ASCII

GS

V

m

 

 

Hex

1D

56

m

 

 

Decimal

29

86

m

 

 

ASCII

GS

V

m

n

 

Hex

1D

56

m

n

 

Decimal

29

86

m

n

[Range]

m = 1, 49

 

 

 

 

m = 66, 0 ≤ n ≤ 255

5-22Commands

Page 83
Image 83
Epson TM-H5000/H5000P manual 22Commands, GS L nL nH, GS P x y, ➀ GS V m ➁ GS V m n