52
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 6 Setting Up the Printer
Suppose you order the printer to print the character ASCII 124 dec.
ASCII 124 will generate the following:
• |, according to the Roman 8 character set,
• ù, according to the French character set
• ñ, according to the Spanish set, etc.
In general, the Western European (Latin) character sets (numbers -
2 to 81 and number 351) are the same, with the exception of the few
national characters. Each of the remaining character sets are spe-
cific to a limited number of languages, and should be used in con-
junction with fonts for those languages.
A special case is the standard fonts OCR-A BT, OCR-B 10 Pitch
BT and Zapf Dingbats BT. Before using any of these fonts for the
printing of text or bar code interpretations, you must switch to their
respective character sets, and switch back again to the original char-
acter set before selecting another font.
Choose the character set which best matches your data equipment
and printout requirements. If any of the characters in this set do not
have the ASCII value that you require, the
MAP
command can be
used to asign that character to a different ASCII value (see chapter
6.10).
The
NASC
setting is not reset by
PRINTFEED|PF
, nor by turning
the printer off. Once a
NASC
command has been issued, it affects
the printed appearance of characters in any subsequent text field,
but not in those text fields which have already been processed and
stored in the print buffer. The
NASC
setting can be changed several
times in one label, which allows labels to be multilingual.
Similarly, the
NASC
setting determines the appearance of the hu-
man readable portion of bar codes. The pattern of the bars in a bar
code is determined by the ASCII values of the input data, and so is
not affected by the
NASC
setting.
User-defined character sets can be created and stored in the printer,
and separate commands exist to control the appearance of Asian
characters. These are discussed in chapter 9.2.
As an alternative to turning the printer off and on with the main
switch, you can issue a
REBOOT
command. Any data or layout in
the working memory that has not been saved will be deleted and the
buffers will be emptied.
REBOOT
11. Character Set
Selection,
cont'd.
12. Printer Reboot
Note that counters and error
messages will be lost and a
number of commands will be
reset to default.