[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 |
---|---|
|
Provide a value to specify the name of the font to be used.
|
|
No value required.
Select Font A which is the default font for most point of sale printers.
|
|
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.
Output at 80mm
This is the result when using the markup processor to sent to a TSP650II 80mm(3inch) printer.