[font]

Select the font for subsequent text printing.

Parameters

If no parameter values are provided, then the font will switch back to the printer or document default (usually Font A).

Parameter

Description

name

Provide a value to specify the name of the font to be used.

a

No value required.
Select Font A which is the default font for most point of sale printers.

b

No value required.
Select Font B which is a narrower font for most point of sale printers.

Only one of name , a , or b should be specified, to avoid undefined results.

Note

Selecting a new font will also reset and font magnification to the default 1x1 size.

Example

Markup

This is a simple markup example, using only the [font] and [cut] commands.

[font: name a]This is Font A
[font: name b]This is Font B
[font: a]This is also Font A
[font: b]This is also Font B
[font] This is the default font.
[cut]

Output at 58mm

This is the result when using the markup processor to sent to an mC-Print2 58mm(2inch) printer.

../../_images/font_58mm.jpg

Output at 80mm

This is the result when using the markup processor to sent to a TSP650II 80mm(3inch) printer.

../../_images/font_80mm.jpg