beautypg.com

Esc gs 4 m n – Star Micronics Dot Impact Printer User Manual

Page 21

background image

3-13

STAR Command Specifications

Rev. 0.70

ESC GS 4 m n

[Name]

Select red/black substitute function [ESC 4/5 setting]

[Code]

ASCII

ESC GS

4

m

n

Hexadecimal

1B

1D 34

m

n

Decimal

27

29 52

m

n

[Defined Area]

m = 1, 2, 49, 50

When m = 1, 49 n = 0 to 3, 255

When m = 2, 50 n = 0, 2 to 5

When m = 83 n = 0, 1

[Initial Value]

Memory switch setting

[Function]

Selects red/black substitute function

Selects characters targeted for adornment with m = 1 (ANK) or m = 2 (Kanji characters), and selects the

"4”/ “5” command functions with n.

Sets the handling of adornment to space characters (ASCII 20Hex) with m = 83 (“S”).

This command is enabled only when in a state where adornment is cancelled by “4” (when “5”

was specified).

When m = 1, 48 (“1”) Targeted characters = ANK

m

n

“4”/ “5” Command Functions (ANK)

1 , 49

0

White/black inverted printing (1 Pass)

1 , 49

1

1 , 49

2

1 , 49

3

1 , 49

255

No adornment

When m = 2, 50 (“2”) Targeted characters = Kanji characters

m

n

“4”/ “5” Command Functions (Kanji characters)

2 , 50

0

No adornment

2 , 50

2

2 , 50

3

2 , 50

4

2 , 50

5

When using “5“ to cancel adornments, it returns to the previously set adornments. (Adornments such as under-
line, upper line, double-tall expanded and enhancing are cancelled if there is no command to set them (for example the
“-“ 1 specification for underlines).

Precautions for selecting

Prints white/black inverted characters using 5 x 9 fonts regardless of the current font size

setting.

2.

Inserts a one dot string of black printing to the head of the white/black inverted charac-

ters.

3.

Printing data created on a conventional red/black printer, using 1 and 2 above, there are

cases in which the printing position will shift to the right and a line of printable characters

reduced.

4.

Download registered characters defined with 5 x9 fonts are printed regardless of the cur-

rent font setting (7x9/5x9).

5.

Must not set “ANK default dot count = many” with the memory switch. (This will cause a

white line to appear between characters.)

Precautions for selecting

Do not apply an upper line or an underline when rotating 90 or 270 degrees.