Font styles and sizes
UltraFonts
Most ticket designers use UltraFonts to design their Cognitive layouts for Sales. An example of an UltraFont code is:
U A20
This code is described in the following table.
Parameter | Specifies | Options | Syntax |
U | Ultrafonts | | |
A | Font style | A - rounded corners B - angled corners C - bolded horizontal strokes | Must be uppercase |
20 | Font size | 1 to 65535 | No spaces between the font style and the font size |
TextFonts
Occasionally TextFonts are used when creating Cognitive Printer layouts. By utilizing TEXT 1, 2 and 3 font sizes with the values in parenthesis you can create Ticket layouts in this fashion. An example of TextFont code is:
TEXT 3 (1,0,1,1).
• The first character determines the spacing between characters
• The second controls the font’s clockwise rotation
• The third controls a font’s horizontal width
• The fourth controls a font’s vertical height
Parameter | Options | Additional Details |
Spacing | 0-255 | If a negative sign is placed before a designated spacing number, the font is non-proportional and this value sets the character width. |
Rotation | 0,90,180,270 Default = 0 | |
Width | 0-4 Default = 1 | Must be used when establishing a Height value |
Height | 0-4 Default = 1 | |