Intermec PX4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 90
Double-byte fonts, commands are
View all Intermec PX4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 90 highlights
Chapter 8-Advanced Features To be exact, the double-byte mappings allow an ASCII string to contain a mixture of single-byte and double-bytes codes. The selected doublebyte 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 first byte of a double-byte code, while the remaining characters form single-byte codes. So, in BIG5, the ASCII string "" splits into the doublebyte code "" and the single-byte code "". The current NASCD setting specifies 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 specifies how the single-byte codes are mapped to unicodes. The relevant commands are: NASC |"utf-8" NASCD "[card1:]"|"utf-8" "/utf-8" Default: 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) sets the printer to use uth UTF-8 character set. NASC 1 (Roman 8 character set) NASCD "" (empty string; disables double-byte interpretation of ASCII strings) Double-byte fonts As discussed above, the ASCII data input to text fields and human readable parts of bar codes can contain a mixture of single-byte and double-byte codes, which are mapped to unicodes by the NASC and NASCD settings respectively. The characters for the single-byte codes are printed using the current single-byte font, as specified by the FONT command (see Chapter 3.3). The characters for the double-byte codes are printed using the current double-byte font, as specified by the following command: FONTD "" [,,[]] Reset to default by: the name of a TrueDoc or TrueType font file enclosed by quotation marks the height of the characters in points (a point is a standard typographic unit, equal to 1/72 inches) the italic angle of the characters in degrees; a positive value slants the characters clockwise away from the vertical. Default: 0 PRINTFEED|PF 82 Intermec Direct Protocol v.8.60-Programmer's Reference Manual