CognitiveTPG A776 ColorPOS Programming Manual page 84

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

72
Chapter 5: Programming commands
Set LogoEZ
attribute mapping (ColorPOS
®
ASCII
US ETX ETB a m s
Hexadecimal
1F 03 17 a m s
Decimal
31 03 23 a m s
Values:
a =
a = 1
a = 2
a = 1 or 2, if m = 0
A word (2 bytes) is used to identify the attribute mapping, with "m" bits 0 – 6 identifying which original attributes
should be mapped:
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 configures into EEPROM (permanent configuration switch setting) one or two combinations of
character attribute mappings, including substitute attribute settings for color effects. The attributes of the character
code are used to form the desired pixel character when the code is placed into the raster print buffer. 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 defined and enabled they can be
used in any emulation mode. A776 native mode must be used to turn the feature off.
Continued . . .
A776 (B780) Programming Guide
)
®
attribute map selector a , m, s = 0, 0, 0 turn off attribute mapping (all 3 bytes required)
selects first attribute mapping definition (of two available)
selects second attribute mapping definition
mapping 1 or 2, respectively, is turned off
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents