Reverse Color Text Mode (Colorpos ® ); Text Strike-Through Mode (Colorpos ® ); Select Superscript Or Subscript Modes - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

Reverse color text mode (ColorPOS
ASCII
GS 0x85 m n
Hexadecimal
1D 85 m n
Decimal
29 133 m n
Value of m:
0 = white
1 = black
2 = paper color
Value of n:
0 = white
1 = black
2 = paper color
Default:
m = 0 (off )
Sets a mode for reverse printing effects on text. The background color is specified by m, while the text color is specified by
n. Setting m = 0 turns off the mode.
If m = n but not zero, the printer produces solid printing in the given color. This tactic can be used to minimize the
firmware busy work.
The value of current color and white/black reserve print mode is superceded by the value of n whenever this mode is on
(m>0).
Bar codes, logos, and bit images are not affected by this command.
Text strike-through mode (ColorPOS
ASCII
GS 0x8D n m
Hexadecimal
1D 8D n m
Decimal
29 141 n m
Value of m:
0 = retain same color as the character itself
1 = black
2 = paper color
Value of n:
standard cell height
Default:
n = 0 (off )
Prints a strike-through over characters. If the strike-through is as wide as the cell height, this will produce a cell that will
be printed as a solid current color.
When characters are greater than normal size, such as double-high, the number of character rows claimed by n also
increases proportionally, such as doubling for double-high cells. Location of the strike-through on a cell is on a cell-by-cell
basis, so mixing cell sizes on the same print row will give uneven results.

Select superscript or subscript modes

ASCII
US ENQ n
Hexadecimal
1F 05 n
Decimal
31 05 n
Value of n:
0 = Normal character size
1 = Select subscript size
2 = Select superscript size
Default:
0 (normal size)
Turns superscript or subscript modes on or off. This attribute may be combined with other characters size settings
commands (12, 13, 1B 21 n, 1D 21 n,...)
Exceptions
This command is ignored if n is out of the specified range.
Related information
In A793 emulation, this command is unrecognized and the parameter byte is put into the print buffer.
)
®
)
®
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
65

Advertisement

Table of Contents
loading

Table of Contents