Chapter 5: Programming commands
73
A776-PG00001 D 07/13
A776 (B780) Programming Guide
The operational theory of this command is that if (input character attributes) AND (original) = (original); then (output
character attributes) = ([original] X OR [input character attributes]) OR (substituted). The input character’s original
attributes are mapped to the substituted attributes, but any attributes not specified for mapping are unchanged.
In the tables you will see that there are 7 input attributes and 9 outputs. It is expected that the alternate color attribute
will be used most. For example, when the alternate color attribute is combined with the reverse substitution attribute,
the result is white characters on a color background. The color reverse attribute without alternate color will print black
text on a color background. Any mappings utilizing compressed and/or double-wide attributes will effect the length
of a line and could cause unintended line wraps. Mappings containing double-high attributes could cause unintended
receipt lengths.
When both attribute mappings are set, processing is perform in order sequence. When two text attribute substitutions
contain conflicting dependent remappings, the result is undefined.
Related information
This command is utilized in the CognitiveTPG LogoEZ
®
utility. The utility can be used to pre-configure new printers with
a default colorization set-up without requiring any application changes. The default set-up was designed to provide a
general level of colorization features that would not affect the printer operation. You can expand beyond the default
features of the utility by modifying the application at the host. However, do not attempt to modify the settings within
the utility.
f
= 1:
s
= 1H
a
= 30H
f
= 2:
s
= 32H
r
= 19H
f
= 3:
s
= 1H
r
= 7H
t
= 1H
f
= 4:
s
= 30H
a
= A0H
Convert 6-dots/mm bitmap to 8-dots/mm bitmap
ASCII
US EOT
n
Hexadecimal
1F 04
n
Decimal
31 04
n
Value:
0 = Off
1 = On
(When 0 and 1 are the LSB)
Default:
0 (Off)
Selects or cancels 6-dot/mm to 8-dot/mm graphic emulation.
When the 6-dot/mm emulation is selected, logos and graphics are expanded horizontally and vertically during
download to emulate their size on a 6-dot/mm printer. The horizontal positioning commands also emulate positioning
on a 6-dot/mm printer.
Enable constant speed logos
ASCII
US {
n
Hexadecimal
1F 7B
n
Decimal
31 123
n
Value:
0 = disabled
1 = enabled
This command allows the firmware to determine the optimal speed to print a logo. It is set prior to downloading the
logo and reset after the logo has been downloaded.
In general, the “Set max target speed (1D A0
nl nh
)” is the preferred command.
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...