[underline]
Adds a horizontal line underneath text when printing.
The underline command can be used anywhere in a line of text.
Causing all subsequent text to be printed with an underline.
If the
magnify
tag is used, this will cause the underline to also be magnified.underline also applies to the
space
tag.Parameters
Currently, two parameters are supported, with no parameter values required.
Only a single
on
or off
parameter should be provided.Mixing parameters will cause undefined results.
Parameter |
Description |
---|---|
|
Enables underline for all text at the current font size or magnification.
|
|
Disables underline for all text at the current font size or magnification.
|
Note, the [underline]
command switches the effect off by default, therefore the command sequences [underline]
and [underline: off]
are equivalent.
Example
Markup
This is a simple markup example, using only the [underline] and [cut] commands.
Hello World is underlined
[underline: on]Hello World[underline: off]
Hello is underlined
[underline: on]Hello[underline: off] is underlined but the rest is not
Different syntax
[underline: on]Hello World[underline]
[cut]\
Output at 58mm
This is the result when using the markup processor to sent to an mC-Print2 58mm(2inch) printer.
![../../_images/underline_58mm.jpg](../../_images/underline_58mm.jpg)
Output at 80mm
This is the result when using the markup processor to sent to a TSP650II 80mm(3inch) printer.
![../../_images/underline_80mm.jpg](../../_images/underline_80mm.jpg)