Font fontSize, eFontWidth
fontSize | 0 to 8 Font Selection |
eFontWidth | 0 = fixed width, 1=variable width |
Model : CT1721C, CT1820, CUBLOC + GHB3224C
This command sets the size and with of the font used to print characters. The above model has 4 different font sizes and 2 different widths.
Font Size | Font |
---|---|
0,1 | 10 x 16 |
2,3,4,5 | 16 x 16 |
6,7 | 24 x 24 |
8 | 48 x 48 |
Const Device = CB290 Cls Delay 100 Font 0,0 Glocate 10,10 GPrint "FONT 0,0 :ABCDEFGHIJKLMN" Font 2,0 Glocate 10,30 GPrint "FONT 2,0 :ABCDEFGHIJKLMN" Font 6,0 Glocate 10,50 GPrint "FONT 6,0 :ABCDEFGHIJKLMN" Font 8,0 Glocate 10,72 GPrint "FONT 8,0 " Font 0,1 Glocate 10,120 GPrint "FONT 0,1 :ABCDEFGHIJKLMN" Font 2,1 Glocate 10,140 GPrint "FONT 2,1 :ABCDEFGHIJKLMN" Font 6,1 Glocate 10,160 GPrint "FONT 6,1 :ABCDEFGHIJ" Font 8,1 Glocate 10,185 GPrint "FONT 8,1 "