beautypg.com

Esc gs * 1 h v, Esc gs * 2 m c w – Star Micronics Line Thermal/Dot Printer User Manual

Page 132

background image

Rev. 0.00

3-120

STAR LIne Mode Command Specifications

ESC GS * 1 h v

[Name] Specify mark height and line feed
[Code]

ASCII

ESC

GS

*

1

h

v

Hexadecimal

1B

1D 2A 31

h

v

Decimal

27

29

42

49

h

v

[Defined Area]

Thermal

: “001” ≤ h ≤ “255”, “001” ≤ v ≤ “255”, h ≤ v

Slip

: -

Validation

: -

[Initial Value]

Thermal

: Non-volatile memory

Slip

: -

Validation

: -

[Function]

Specifies mark height and line feed

v indicates mark height (number of dots); v indicates mark line feed amount (number of dots).

h, v are ASCII character strings that are expressed in decimal. They are composed of character

codes from “0” to “9.”

If a small line feed amount is specified, there is the possibility that intermittent printing could occur,

so a setting of v = 16 dots or higher is recommended.

,

Only setting is valid

Setting is valid after switching to thermal.

ESC GS * 2 m c w

[Name] Specifies mark color and mark horizontal width in each mark number.
[Code]

ASCII

ESC

GS

*

2

m

c

w

Hexadecimal

1B 1 D 2A 32

m

c

w

Decimal

27

29

42

50

m

c

w

[Defined Area]

Thermal

: “0” ≤ m ≤ “9”, “0” ≤ c ≤ ”1”, “001” ≤ w ≤ “999”

Slip

: -

Validation

: -

[Initial Value]

Thermal

: Non-volatile memory

Slip

: -

Validation

: -

[Function]

Specifies mark color and mark horizontal width in each mark number.

m indicates the mark number.

c indicates the mark color.

w indicates the mark horizontal width (number of dots).

If w exceeds the currently set print region, this command is ignored.

m, c, w are ASCII character strings that are expressed in decimal. They are composed of character

codes from “0” to “9.”

c

Mark Color

“0”(48)

White

“1”(49)

Black

,

Only setting is valid

Setting is valid after switching to thermal.