GS H n

[Function]

Selecting of Printing Position of HRI Code

[Code]

<1D>H<48>H<n>

[Range]

{0 =< n =< 3(Hex)}

[Outline]

Selecting printing position of HRI code in printing bar codes.

 

• “n” means the followings.

 

 

 

 

n (Hex)

Printing Position

 

0

No printing

 

1

Above the bar code

 

 

 

 

2

Below the bar code

 

3

Both above and below the bar code

 

The HRI code refers to the bar code-turned characters so that you can read them.

[Caution]

The HRI code is printed in the font selected with GS f. Specify before the GS k

 

command.

 

[Default]

The initial value of n is “0”.

[See Also]

GS f

 

[Sample Program]

PRINT #1, CHR$ (&H1B) + “3” + CHR$ (5);

PRINT #1, CHR$ (&H1D) + “h” + CHR$ (50);

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (0);

GOSUB BC

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (1);

GOSUB BC

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (2);

GOSUB BC

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (3);

GOSUB BC

END

BC:

PRINT #1, CHR$ (&H1D) + “k”;

PRINT #1, CHR$ (4);

PRINT #1, “12” + CHR$ (0);

PRINT #1, CHR$ (&HA);

RETURN

[Print Results]

No Visible Code

Printed above

Printed below

Printed above and below

— 46 —

Page 48
Image 48
Citizen CMP-10 manual GS H n, Hex Printing Position