TH320/TH420
Programmers Guide
145
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 affect 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 performed in order sequence. When two text
attribute substitutions contain conflicting dependent remappings, the result is undefined.
Related information
This command is utilized in the WN utility. The utility can be used to pre-configure new
printers with a default 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
Status command introduction
The TH420 has three methods of providing status to the application. These methods are through
batch status commands, real time status commands and unsolicited status mode. An application may
use one or more of these methods to understand the current status of the printer. A brief description of
each of these methods follows.
Batch status commands
– These commands are sent to the printer and stored in the printer’s buffer.
Once the printer has processed all the previous commands these commands are processed and the
proper status is returned to the application. In the event a condition causes the printer to go BUSY, it
stops processing commands from the printer buffer. If a batch status command remained in the buffer
during this busy condition, it would not be processed. In fact, no batch commands are processed while
the printer is in this state.
Real-time commands
– These commands are sent to the printer and stored in the printer buffer.
Periodically, when the printer has time, it scans the input buffer looking for these commands. When
found by the printer, these commands are processed immediately. This gives the application the ability
to query the printer when it is in a busy state in order to correct whatever fault has occurred.
Unsolicited status mode
– This mechanism allows the application developer to program the printer
to automatically respond with a four byte status when certain conditions in the printer change. Please
see the subsequent sections for a more detailed description of these status commands. At the end of
this status commands section is a page entitled “Recognizing data from the printer”. This describes
how to interpret what command or setting (in the case of unsolicited status mode) triggered a
response from the printer.
Summary of Contents for TH320
Page 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Page 75: ...TH320 TH420 Programmers Guide 67 ...
Page 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Page 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Page 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Page 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Page 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Page 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Page 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Page 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Page 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Page 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Page 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Page 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Page 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Page 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Page 156: ......
Page 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...