beautypg.com

Gs h n – Citizen Systems CBM-270 User Manual

Page 74

background image

CBM-270 User’s Manual

GS H n

[Function]

Selecting the printing position of HRI characters

[Code]

<1D> H <48> H

[Range]

0

n

3

[Outline]

Selecting printing position of HRI characters in printing bar codes.

"n" means the followings.

n

Printing Position

0

No printing

1

Above the bar code

2

Below the bar code

3

Both above and below the bar code

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

[Caution]

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

[Default]

n = 0

[See Also]

GS f

[Sample Program]

[Print Results]

LPRINT CHR$ (&H1B) ; "3" ; CHR$ (5) ;

LPRINT CHR$ (&H1D) ; "h" ; CHR$ (50) ;

LPRINT CHR$ (&H1D) ; "H" ; CHR$ (0) ;

GOSUB *BC

LPRINT CHR$ (&H1D) ; "H" ; CHR$ (1) ;

GOSUB *BC

LPRINT CHR$ (&H1D) ; "H" ; CHR$ (2) ;

GOSUB *BC

LPRINT CHR$ (&H1D) ; "H" ; CHR$ (3) ;

GOSUB *BC

END

*BC :

LPRINT CHR$ (&H1D) ; "k" ;

LPRINT CHR$ (4) ;

LPRINT "12" ; CHR$ (0) ;

LPRINT CHR$ (&HA) ;

RETURN

No Visible Code

Printed above

Printed below

Printed above
And below