Monochrome Shade Mode (Colorpos ® ); Color Shade Mode (Colorpos ® ); Logo Print With Color Plane Swap (Colorpos ® ) - CognitiveTPG A799II Programming Manual

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

Advertisement

78
Chapter 4: Programming Commands
Monochrome shade mode (ColorPOS
ASCII
GS 0x86 m
Hexadecimal
1D 86 m
Decimal
29 134 m
This applies a selected shade density to all monochrome objects such as text and monochrome logos. The parameter m
specifies the shading effect and has an initial value of 0 which signifies no effect.
m specifies the percentage of shading, 0 <= m <= 100.
m = 0 is the initial value and turns this mode off.
Note: Only a few gradations will be perceptible, so large increments of m, such as 20, should be used. If a reverse print
mode is on, the shade effect will be applied to the background only.
When the current color mode is set to black, increasing values of m relate to the relative amount of (white) paper that
replaces black dots. Analogously, when the paper-color is the current color, m defines the relative amount of color dots
being "erased" by white originals of the paper.
Both text and monochrome graphics are affected by this command.
Turning monochrome shade mode on, turns color shade mode off.
Color shade mode (ColorPOS
ASCII
GS 0x87 m
Hexadecimal
1D 87 m
Decimal
29 135 m
This applies a mixing of color into any monochrome objects such as text and monochrome logos. Rather than fading
away, this mode transitions a character or logo from the current color in which it would normally be printed to the other
color. The parameter m specifies the shading effect and has an initial value of 0 which signifies no effect. m specifies the
percentage of shading, 0 <= m <= 100.
m specifies the percentage of shading, 0 <= m <= 100.
m = 0 is the initial value and turns this mode off.
Note: Only a few gradations will be perceptible, so large increments of m, such as 20, should be used. If a reverse print
mode is on, the shade effect will be applied to the background only.
When the current color mode is set to black, increasing values of m relate to the relative amount of paper-color that
replaces black dots. Analogously, when the paper-color is the current color, m defines the relative amount of black color
dots replacing the paper-color ones.
Both text and monochrome graphics are affected by this command.
Turning color shade mode on, turns monochrome shade mode off.
Logo print with color plane swap (ColorPOS
ASCII
GS 0x89 n m
Hexadecimal
1D 89 n m
Decimal
29 137 n m
This command will print logo n. The command is ignored if a logo with index n has not been defined. If m = 0 the color(s)
as defined in the logo are used; if m = 1 and if the logo is a color one, then the two color planes (black and paper-color) in
the logo are swapped.
)
®
)
®
)
®
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents