Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 171
Chapter 2 Program Instructions
NASCD
Field of Application
Statement for selecting a double-byte character set according to
the Unicode standard.
Syntax NASCD <sexp>
<sexp> is the name of the character set.
Default: "" (disables double-byte interpretation).
Remarks
When a double-byte character set has been selected, the fi rmware will usually
treat all characters from ASCII 161 dec. to ASCII 254 dec (ASCII A1-FE
hex) as the fi rst part of a two-byte character. Next character byte received
will specify the second part. However, the selected Unicode double-byte
character set may specify some other ASCII value as the breaking point
between single and double byte character sets.
There are various ways to produce double-byte characters from the keyboard
of the computer. By selecting the proper character set using a NASCD
statement, the typed-in ASCII values will be translated to the corresponding
Unicode values, so the desired glyph will be printed.
Double-byte fonts and character set tables are available from Intermec
on special request.
Example
The following text contains both single- and double-byte fonts. The double-byte
font and its character set are stored in a Font Install Card:
10 NASC 46
20 FONT "Swiss 721 BT", 24, 10
30 NASCD "rom:BIG5.NCD"
40 FONTD "Chinese"
50 PRTXT CHR$(65);CHR$(161);CHR$(162)
60 PRINTFEED
RUN
This program yields a printed text line that starts with the Latin character A
(ASCII 65 dec.) followed by the Chinese font that corresponds to the address
161+162 dec. in the character set “BIG5.NCD.”