Intermec PD42 Fingerprint Developer's Guide (old) - Page 59

Choosing a Single-Byte Character Set With a NASC Statement, Choosing a Double-Byte Character Set

Page 59 highlights

Chapter 4 - Managing Input and Output Choosing a Single-Byte Character Set With a NASC Statement The NASC statement is used to select a single-byte character set, making it possible to adapt the printer to various national standards. By default, characters will be printed according to the Roman 8 character set. While most alphanumeric characters and punctuation marks are the same from set to set, special national characters and other symbols differ. Suppose you order the printer to print the character ASCII 124 dec. ASCII 124 generates the character "|" according to the Roman 8 character set, "ù" according to the French character set, and "ñ" according to the Spanish set. Select the set that best matches your data, equipment, and printout requirements. If none of the sets matches your requirements exactly, select the one that comes closest. Then, you can make final corrections using MAP statements as described in the previous section. Using a NASC statement has the following consequences: • Text is printed according to the selected character set. However, instructions concerning the printable label image that have already been processed before the NASC statement are not affected. This implies that labels may be multilingual. • New messages in the display will be affected by a preceding NASC statement. However, a message that is already displayed will not be updated automatically. The display can show most printable Latin characters. In Setup Mode, all characters are mapped according to the US-ASCII standard. • Data transmitted from the printer via any of the communication channels is not affected, since the data is defined by ASCII values and not as alphanumeric characters. The active character set of the receiving unit determines the graphic presentation of the input data (for example, on the screen of the host). • For bar code printing, the pattern of the bars reflects the ASCII values of the input data and is not affected by a NASC statement. The bar code interpretation (the human readable characters below the bar pattern) is affected by a NASC statement. However, the interpretation of bar codes that have been processed and stored in the print buffer is not affected. This example selects the Italian character set: NASC 39 Choosing a Double-Byte Character Set With a NASCD Statement The NASCD statement works similar to the NASC statement, but is used for double-byte character sets (fonts requiring 2 bytes to specify a character according to the Unicode standard), such as the sets for Chinese, Korean, and Japanese. When a double-byte character set has been selected, the firmware usually treats all characters from ASCII 161 dec. to ASCII 254 dec. (ASCII A1-FE hex) as the first part of a two-byte character. The next character byte received specifies 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. Intermec Fingerprint Developer's Guide 43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

Chapter 4 — Managing Input and Output
Intermec Fingerprint Developer’s Guide
43
Choosing a Single-Byte Character Set With a NASC Statement
The NASC statement is used to select a single-byte character set, making it possible
to adapt the printer to various national standards. By default, characters will be
printed according to the Roman 8 character set.
While most alphanumeric characters and punctuation marks are the same from set
to set, special national characters and other symbols differ. Suppose you order the
printer to print the character ASCII 124 dec. ASCII 124 generates the character “|”
according to the Roman 8 character set, “ù” according to the French character set,
and “ñ” according to the Spanish set.
Select the set that best matches your data, equipment, and printout requirements. If
none of the sets matches your requirements exactly, select the one that comes
closest. Then, you can make final corrections using MAP statements as described in
the previous section.
Using a NASC statement has the following consequences:
Text is printed according to the selected character set. However, instructions
concerning the printable label image that have already been processed before the
NASC statement are not affected. This implies that labels may be multilingual.
New messages in the display will be affected by a preceding NASC statement.
However, a message that is already displayed will not be updated automatically.
The display can show most printable Latin characters. In Setup Mode, all
characters are mapped according to the US-ASCII standard.
Data transmitted from the printer via any of the communication channels is not
affected, since the data is defined by ASCII values and not as alphanumeric
characters. The active character set of the receiving unit determines the graphic
presentation of the input data (for example, on the screen of the host).
For bar code printing, the pattern of the bars reflects the ASCII values of the
input data and is not affected by a NASC statement. The bar code interpretation
(the human readable characters below the bar pattern) is affected by a NASC
statement. However, the interpretation of bar codes that have been processed
and stored in the print buffer is not affected.
This example selects the Italian character set:
NASC 39
Choosing a Double-Byte Character Set With a NASCD Statement
The NASCD statement works similar to the NASC statement, but is used for
double-byte character sets (fonts requiring 2 bytes to specify a character according to
the Unicode standard), such as the sets for Chinese, Korean, and Japanese.
When a double-byte character set has been selected, the firmware usually treats all
characters from ASCII 161 dec. to ASCII 254 dec. (ASCII A1-FE hex) as the first part
of a two-byte character. The next character byte received specifies 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.