Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands80
A776 (B780) Programming Guide A776-PG00001 C 12/09
Original attribute mapped table
m bit on attribute mapped
0 Bold
1 Italic
2 Reverse
3 Underline
4 Double high
5 Double wide
6 Compressed print
The following “s” bits and “m” bit 7 set the attributes that substitute for the mapped set:
Attributes substituted table
m bit on attributes substituted
7 Bold substituted
s bit on attributes substituted
0 Italic
1 Reverse
2 Underline
3 Double high
4 Double wide
5 Compressed print
6 Alternate color
7 Color reverse
This command congures into EEPROM (permanent conguration switch setting) one or two combinations of
character attribute mappings, including substitute attribute settings for color eects. The attributes of the character
code are used to form the desired pixel character when the code is placed into the raster print buer. An “m” bit value
set to on in the “original attribute mapped table” above will have its attributes set to the corresponding bit value of “s”
in the “attributes substituted table”. If m = 0 then no substitution takes place.
The command is available only in A776 native mode. Once attributes have been dened and enabled they can be
used in any emulation mode. A776 native mode must be used to turn the feature o.
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 specied 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 eect 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 conicting dependent remappings, the result is undened.
Continued . . .