The character set to encode characters with. Must match the one set on the printer.
If missing characters should be replaced with a replacement symbol instead of throwing an exception.
The width to assume for the page in characters.
Sets the text alignment
The text alignment or null
for default
Enables stretching text. Is automatically disabled after a line break.
Enables and disables bold text
Should bold text be enabled
Sets the character size
The size of the text. Valid values: 16, 24, 32, 48. Not all values work with all fonts.
Sets the space between characters
The amount of spacing in dots. Must be between 0 and 127.
Enables and disables striked text
Should striked text be enabled
Enables and disables double width text
Should double width text be enabled
Creates an empty line
Enables and disables italic text
Should italics be enabled
Prints a line of characters
A string of one or more characters. Multiple characters are repeated.
Sets the height of a line feed
The height of the line feed in dots
Moves to a new line
Prints text
The text to print
Enables and disables underlined text
The distance of the underline. Must be between 0 and 4. 0 disables underline.
Generated using TypeDoc
Used to arrange text for the printer.