beautypg.com

Esc gs h 1 k m n – Star Micronics Line Thermal/Dot Printer User Manual

Page 161

background image

Rev. 0.00

3-149

STAR Line Mode Command Specifications

ESC GS h 1 k m n

[Name] Water mark function
[Code]

ASCII

ESC

GS

h

1

k

m

n

Hexadecimal

1B

1D

68

31

k

m

n

Decimal

27

29

104

49

k

m

n

[Defined Area]

Thermal

: 0 ≤ k ≤ 2, 0 ≤ m ≤ 2, 1 ≤ n ≤ 255

Slip

: -

Validation

: -

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

Sets to make water mark function valid/invalid.

k

Water Mark Function

0

Invalid

1

Valid
Prints one logo specified by n at the position centered in the horizontal and vertical

directions.

2

Valid
Repeatedly prints logo specified by n from leading edge of the page to the trailing end of the

page, at the position centered in the horizontal direction.

Set the forming method of the logo data to be printed as the water mark to make the image appropri-

ate as the water mark with this setting.

If the appropriate image is not possible with this setting, re-register after forming the logo data regis-

tered as the water mark as the appropriate data.

m

Water Mark Data Forming

0

Prints logo data specified n as it is.

1

Thins logo data specified n 25% in the printout.

2

Thins logo data specified n 12.5% in the printout.

Specify the registered logo as the water mark.

n

Logo Number

1 to 255

Registered logo number
If the specified logo number is not registered, the water mark will not be printed.

When the water mark inversion function is valid, it is printed by the water mark pinting trigger.

However, this function is executed on print data that fits in the image buffer length.

If print data is larger than the image buffer length, water mark printing is ignored.

Also, when starting printing using anything other than the water mark printing trigger, water mark

printing is ignored.

When in 2-color printing mode, this function is invalid.

This setting is not cleared by the ESC @, CAN commands.

Water Mark Printing Triggers

• Cutter Command

: ESC d n

• FF Command

: FF

• BM Detection Command : ESC d n, FF

• Print Startup Command : ESC GS g 0 m n

• Raster Mode

: When executing FF