Convert 6-Dots/Mm Bitmap To 8-Dots/Mm Bitmap; Enable Constant Speed Logos - CognitiveTPG A799II Programming Manual

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

Advertisement

86
Chapter 4: Programming Commands
The operational theory of this command is that if (input character attributes) AND (original) = (original); then (output
character attributes) = ([original] XOR [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 LogoEZ
colorization setup without requiring any application changes. The default setup 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 emulation mode.
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 = disable
1 = enable
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, "Set max target speed (1D A0 nl nh)" is the preferred command.
utility. The utility can be used to pre-configure new printers with a default
®
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents