Intermec PX4i Font Card Installation Instructions - Page 12

Creating Double-Byte Text, To use the demonstration program

Page 12 highlights

Creating Double-Byte Text The Fingerprint instruction CHR$ specifies ASCII values that cannot be typed on the keyboard of the host. For example, CHR$(65) specifies the ASCII decimal value 065, which will yield an uppercase A when using a Latin character set. Double-byte fonts use the same principle, but specify two ASCII values instead of one. The first character above ASCII 127 decimal is interpreted as the first byte in a double-byte glyph. This example shows how to print three simplified Chinese glyphs. Be careful to specify the double-byte font before the character set. FONTD "Song", 18 NASCD "GB2312.NCD" A$=CHR$(176)+CHR$(163)+CHR$(176)+CHR$(164)+CHR$(176 )+CHR$(65) PRTXT A$ PRINTFEED For other examples, LOAD and LIST the demonstration program 972570xx.prg. For some Fingerprint versions, you might have trouble when switching from double-byte to single-byte fonts. If the single-byte font is not using a single-byte character set, add the instruction NASCD"". Demonstration Program Double-byte font cards contain a demonstration program that lets you print the font on the card plus samples of all other double-byte fonts on the font card. To use the demonstration program 1 Insert the card and start up the printer. 2 When the Shell countdown menus appear, press Enter. The following menu appears: SHELL SEL. APPLICATION 12 Font Card Installation Instructions

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

12
Font Card Installation Instructions
Creating Double-Byte Text
The Fingerprint instruction CHR$ specifies ASCII values that
cannot be typed on the keyboard of the host. For example,
CHR$(65) specifies the ASCII decimal value 065, which will
yield an uppercase A when using a Latin character set.
Double-byte fonts use the same principle, but specify two ASCII
values instead of one. The first character above ASCII 127
decimal is interpreted as the first byte in a double-byte glyph.
This example shows how to print three simplified Chinese
glyphs. Be careful to specify the double-byte font before the
character set.
FONTD "Song", 18
NASCD "GB2312.NCD"
A$=CHR$(176)+CHR$(163)+CHR$(176)+CHR$(164)+CHR$(176
)+CHR$(65)
PRTXT A$
PRINTFEED
For other examples, LOAD and LIST the demonstration
program 972570xx.prg.
For some Fingerprint versions, you might have trouble when
switching from double-byte to single-byte fonts. If the single-byte
font is not using a single-byte character set, add the instruction
NASCD"".
Demonstration Program
Double-byte font cards contain a demonstration program that
lets you print the font on the card plus samples of all other
double-byte fonts on the font card.
To use the demonstration program
1
Insert the card and start up the printer.
2
When the Shell countdown menus appear, press
Enter
. The
following menu appears:
SHELL
SEL. APPLICATION