Intermec EasyCoder 501XP Programmer's Reference Manual page 96

Intermec easycoder 501xp: reference guide
Hide thumbs Also See for EasyCoder 501XP:
Table of Contents

Advertisement

Chapter 9 — Advanced Features
NASC and NASCD Tables
There are many national and international standards for mapping ASCII
strings to strings of unicode. The Intermec Direct Protocol v7.80 pro-
vides support for virtually all of these. There are two types of mappings:
• Single-byte mappings, which map one ASCII character to a unicode
using Character Sets. For each
is an internally stored character set in the printer's fi rmware.
• Double-byte mappings, which map pairs of ASCII characters to
unicodes. The Intermec Direct Protocol v7.80 supports these using
commands, which activate double-byte character sets. Double-
NASCD
byte mappings are e.g. used for large Asian character sets like BIG5,
GB, JIS and Shift-JIS. Double-byte character sets are available from
Intermec on special request.
To be exact, the double-byte mappings allow an ASCII string to contain
a mixture of single-byte and double-bytes codes. The selected double-
byte character set decides from which ASCII value double-byte mapping
will apply. For example, in the BIG5 mapping, any ASCII character
with value 160 or greater is the fi rst byte of a double-byte code, while
the remaining characters form single-byte codes. So, in BIG5, the ASCII
string "<160><64><65>" splits into the double-byte code "<160><64>"
and the single-byte code "<65>". The current NASCD setting specifi es
both how to divide an ASCII string into single-byte and double-byte
codes and also how the double-byte codes are mapped to unicodes,
whereas the current NASC setting specifi es how the single-byte codes are
mapped to unicodes. The relevant commands are:
NASC <character set no.>
NASCD "[card1:]<fi le name>"
<character set no.>
<"fi le name">
Default:
90
Intermec Direct Protocol v7.80 Programmer's Reference Manual
NASC
is one of the values listed in chapter 6.11
is the device and name of a double byte character set (normally stored in a
memory card)
NASC 1 (Roman 8 character set)
NASCD"" (empty string; disables double-byte interpretation of ASCII
strings)
setting (see Chapter 6.13), there

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents