[upperline]
Adds a horizontal line upperneath text when printing.
The upperline command can be used anywhere in a line of text.
Causing all subsequent text to be printed with an upperline.
If the
magnify
tag is used, this will cause the upperline to also be magnified.upperline 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 upperline for all text at the current font size or magnification.
|
|
Disables upperline for all text at the current font size or magnification.
|
Note, the [upperline]
command switches the effect off by default, therefore the command sequences [upperline]
and [upperline: off]
are equivalent.
Example
Markup
This is a simple markup example, using only the [upperline] and [cut] commands.
Hello World is upperlined
[upperline: on]Hello World[upperline: off]
Hello is upperlined
[upperline: on]Hello[upperline: off] is upperlined but the rest is not
Different syntax
[upperline: on]Hello World[upperline]
[cut]\
Output at 58mm
This is the result when using the markup processor to sent to an mC-Print2 58mm(2inch) printer.
![../../_images/upperline_58mm.jpg](../../_images/upperline_58mm.jpg)
Output at 80mm
This is the result when using the markup processor to sent to a TSP650II 80mm(3inch) printer.
![../../_images/upperline_80mm.jpg](../../_images/upperline_80mm.jpg)