beautypg.com

4 font metrics, 5 set box space mode – Matrix Orbital GLK19264-7T-1U User Manual

Page 28

background image

5.4

Font Metrics

Syntax

Hexadecimal

0xFE 0x32 [lm] [tm] [csp] [lsp] [srow]

Decimal

254 50 [lm] [tm] [csp] [lsp] [srow]

ASCII

254 “2” [lm] [tm] [csp] [lsp] [srow]

Parameters

Parameter

Length

Description

lm

1

Left margin: Location in pixels.

tm

1

Top margin: Location in pixels.

csp

1

Character Spacing: Amount of
space in pixels between characters.

lsp

1

Line Spacing: Amount of space
between lines in pixels.

srow

1

Scroll Row: The Y location of the
last row in pixels.

Description

Font metrics define where the characters are positioned on the screen,
by setting where the rows and columns begin based on the
[lm][tm][csp][lsp][srow] parameters. [lm] defines the leftmost position
and [tm] the topmost. [csp] controls the amount of pixels that are placed
in between characters and [lsp] controls the amount of pixels that are
placed in between lines. [srow] is the location of the top of the last row
that will be displayed on the GLK19264-7T-1U. It defines the row that,
when filled, will cause the display to auto scroll if auto scrolling is
enabled. The font metrics will have to be reconfigured after changing to
a different font.

Remembered

Yes

5.5

Set Box Space Mode

Syntax

Hexadecimal

0xFE 0xAC [value]

Decimal

254 172 [value]

Parameters

Parameter

Length

Description

value

1

Value (0: Off, 1: On)

Description

This command will toggle the box space mode. Box space mode is
when a box, the size of the character to be written, is printed to the
display before a character is written.

Remembered

Yes

Default

On

Matrix Orbital

GLK19264-7T-1U

23