5-12
MK1000 MicroKiosk Product Reference Guide
Text/Font Commands
Table 5-6. Text/Font Commands
Command Description Syntax Example
Select Font Font number Pi
becomes the current
font for any subsequent
text output.
ESC[PiF ESC[37F This is a test
This sets the current
font to #37, then draws
the text "This is a test."
Font Height Query
(Supported in PCK
emulation versions
1.06 or greater)
Returns the height, in
pixels, of the currently
selected font.
ESC[H Unit responds with the
ASCII representation of
the font height.
Set Text Drawing
Mode
Sets the drawing mode
for subsequent text
output commands.
When Pm = 0 any text
output overlays the
current image, when
Pm = 1 it is XORed with
the current image.
ESC[PmM
Position Cursor Positions text cursor to
a specified point on the
display, characters are
drawn with the left side
of the character cell at
the X cursor position,
and the character
baseline at the Y cursor
position.
ESC[Px; PyT
Font Screen Position
(Supported in PCK
emulation versions
1.06 or greater)
Changes the current
position at which the
unit draws fonts to Px,
Py. The positioning is
done by the current
font’s height and
average width.
ESC[Px;Pyp ESC[10;3p Draws fonts
to column 10, row 3.