beautypg.com

Esc gs x s 0 n p1 p2, Esc gs x s 1 n – Star Micronics Line Thermal/Dot Printer User Manual

Page 147

background image

Rev. 0.00

3-135

STAR Line Mode Command Specifications

ESC GS x S 0 n p1 p2

[Name] PDF417 bar code size setting
[Code]

ASCII

ESC

GS

x

S

0

n

p1

p2

Hexadecimal

1B

1D

78

53

30

n

p1

p2

Decimal

27

29

120

83

48

n

p1

p2

[Defined Area]

Thermal

: n = 0, 1

When n = 0 1 ≤ p1 ≤ 99, 1 ≤ p2 ≤ 99
When n = 1 p1 = 0 or 3 ≤ p1 ≤ 90, p2 = 0 or 1 ≤ p2 ≤ 30 (However, this excludes p1 = p2 =

0.)

Slip

: -

Validation

: -

[Initial Value]

Thermal

: n = 0, p1 = 1, p2 = 2

Slip

: -

Validation

: -

[Function]

Parameter details

n

(Bar Code Size Specification Method)

p1, p2

(Size Specification)

0

USE_LIMITS

(Specifies ratio of bar code verti-

cal/horizontal directions)

p1: p2: Distribution ratio of vertical (p1) and horizontal (p2)

However, p1: p2 = 1 : 99 to 10:1 ( p1/p2 = 0.01 to 10)

1

USE_FIXED

(Specifies number of lines, and

number of columns in the bar

code.)

p1: Number of lines (0, 3 to 90); p2: Number of columns (0, 1

to 30)

However, p1 * p2 ≤ 928

If either p1 or p2 is set to 0, it indicates that that value is vari-

able.

Setting of the bar code size using this command specifies the general size. The size is automatically

corrected by other settings.

,

Only setting is valid

Setting is valid after switching to thermal.

ESC GS x S 1 n

[Name] Set PDF417 ECC (security level)
[Code]

ASCII

ESC

GS

x

S

1

n

Hexadecimal

1B

1D

78

53

31

n

Decimal

27

29

120

83

49

n

[Defined Area]

Thermal

: 0 ≤ n ≤ 8

Slip

: -

Validation

: -

[Initial Value]

Thermal

: n = 1

Slip

: -

Validation

: -

[Function]

Parameter details

• n:

:

ECC level (0 to 8)

,

Only setting is valid

Setting is valid after switching to thermal.