beautypg.com

4 fonts – Matrix Orbital GLK240128-25 User Manual

Page 32

background image

Command Summary

27

6.4 Fonts

4.1 Upload a
Font File

Dec
Hex
ASCII

254 36

FE 24

■ $

ID Size Data
ID Size Data
ID Size Data

v8.0

Upload a font to a graphic display. To create a font see the Font File Creation section, for upload protocol see the

File Transfer Protocol or XModem Transfer Protocol entries. Default font is ID 1.

ID

*

Short

Unique font identification number, value between 0 and 1023.

Size

*

Integer

Size of the entire font file.

Data

Byte(s)

Font file data, see the Font File Creation example.

*Note:

ID and Size were changed from Byte and Short lengths respectively at firmware revision 8.1

4.2 Set the
Current Font

Dec
Hex
ASCII

254 49

FE 31

■ 1

ID
ID
ID

v8.0

Set the font in use by specifying a unique identification number. Characters sent after the command will appear in
the font specified; previous text will not be affected. Default is 1.

ID

*

Short

Unique font identification number, value between 0 and 1023.

*Note:

ID was changed from a Byte length at firmware revision 8.5

4.3 Set Font
Metrics

Dec
Hex
ASCII

254 50

FE 32

■ 2

LineMargin TopMargin CharSpace LineSpace Scroll
LineMargin TopMargin CharSpace LineSpace Scroll
LineMargin TopMargin CharSpace LineSpace Scroll

v8.0

Set the font spacing, or metrics, used with the current font. Changes only appear in text sent after command.

LineMargin

Byte

Space between left of display and first column of text. Default 0.

TopMargin

Byte

Space between top of display area and first row of text. Default 0.

CharSpace

Byte

Space between characters. Default 0.

Line Space

Byte

Space between character rows. Default 1.

Scroll

Byte

Point at which text scrolls up screen to display additional rows. Default 1.

4.4 Set Box Space
Mode

Dec
Hex
ASCII

254 172

FE AC

■ ¼

Switch
Switch
Switch

v8.0

Toggle box space on or off. When on, a character sized box is cleared from the screen before a character is
written. This eliminates any text or bitmap remnants behind the character. Default is on.

Switch

Byte

1 for on or 0 for off.




This manual is related to the following products: