beautypg.com

Esc gs h 0 k m n – Star Micronics Line Thermal Printer User Manual

Page 139

background image

―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

STAR Line Mode Command Specifications

3-123

3.14. Page Function Command Details

ESC GS h 0 k m n

[Name]

180 degree turnover

[Code]

ASCII ESC

GS h 0

k

m

n

Hex.

1B

1D

68

30

k

m

n

Decimal 27

29

104

48

k

m

n

[Defined Area]

0 ≤ k ≤ 1, m = 0, n = 0

[Initial Value]

---

[Function]

Sets 180 degree turnover function to be valid/invalid.


n

180 Degree Turnover Function

0 Invalid
1 Valid

<180 Degree Turnover Function>

When set to the 180 degree turnover function, that function is executed at the trigger.

However, this function is effective for print data that can be contained in the image buffer length.

Print data beyond the image buffer length is unaffected by this function.

Printing that is started other than the 180 degree turnover trigger ignores this function.


180 degree turnover triggers

• Cutter command:

d n

• FF command:

• BM detection command:

d n,

• Print start command:

g 0 m n

• Raster mode:

When is executed.


Use

example

1) When 180 degree turnover function is enabled:

h 0 k m n (k = 0x01, m = 0x00,

n = 0x00)

2) Print data transfer:

Print data (Print length is less than length of image buffer.)

3) Trigger command transfer: d n (Cutter command is 180 degree turnover trigger.)