![](/images/new-backgrounds/1263696/263696153x1.webp)
GS f n
[Function] | Selecting the font of HRI code | |||
[Code] | <1D> H <66> H <n> |
|
| |
[Range] | n = 0, 1 |
|
| |
[Outline] | Selecting the font of HRI code in printing bar code. | |||
| The type of font can be printed by selecting n is as follows. | |||
|
|
|
| |
| n |
| Font |
|
| 0 |
| Font A |
|
|
|
|
|
|
| 1 |
| Font B |
|
|
|
|
| |
| The visible code refers to the bar | |||
| them. |
|
| |
[Caution] | The visible code is printed at the position specified with GS h. | |||
[Default] | n = 0 |
|
| |
[See Also] | GS H |
|
|
[Sample Program]
LPRINT CHR$ (&H1D) ; "h" ; CHR$ (50) ; LPRINT CHR$ (&H1D) ; "H" ; CHR$ (2) ; LPRINT CHR$ (&H1D) ; "f" ; CHR$ (0) ;
GOSUB *BC
LPRINT CHR$ (&H1D) ; "f" ; CHR$ (1) ;
GOSUB *BC END
*BC :
LPRINT CHR$ (&H1D) ; "k" ; LPRINT CHR$ (4) ; LPRINT "123" ; CHR$ (0) ; LPRINT CHR$ (&HA) ;
RETURN
[Print Results]
FONT A
FONT B
77 | CITIZEN |