Intermec PX6i Intermec Printer Language (IPL) Developer's Guide (old) - Page 50

Using IPL Commands to Download Fonts, Downloading Bitmap Fonts

Page 50 highlights

Chapter 3 - Working with Fonts and Graphics For more information on using PrintSet to download fonts, see the PrintSet online documentation. Using IPL Commands to Download Fonts Although the easiest way to download fonts is with PrintSet, you can also use the IPL command set to create and download user-defined bitmap and outline fonts to your Intermec printer. Downloading Bitmap Fonts To learn more about bitmap font formats, see "Creating User-Defined Font Characters for Advanced Mode" on page 53. Downloading Outline Fonts If you need to download an outline font but you cannot use PrintSet, you can: • create a program to convert the outline font to a format you can download to the printer. • manually convert the outline font to a format you can download to the printer. When you convert an outline font to a format you can download to the printer, you must change the font character data into nybblized data that the printer can interpret. When you nybblize data, you divide each byte of data into two bytes. For example: byte 0xAB becomes two bytes: 0x41, 0x42 or text string "AB" To manually download an outline font to your printer 1 Nybblize the font data. Divide the nybblized data into separate lines preceded by the j command (for more information, see the Outline Font, Download command in the IPL Command Reference Manual). Remember to wrap the entire line in and ;. You need short lines for limited message length protocols and to make modifying easier by using an editor or word processing program. 2 Include IPL commands to instruct the printer what to do with the font data. For help, see the following example. 3 Send the commands to the printer using one of the methods described in Chapter 1. This is an example of a nybblized outline font file that includes IPL commands to send it directly to a printer. Nybblized Outline Font File Example Command RCP J03,Times,1; j0001000000110100000400604c545348efe24cd00000; Definition Enter Program mode. Create TrueType font 3 and give it the name Times. TrueType data string. 40 Intermec Printer Language (IPL) Developer's Guide

  • 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

Chapter 3 — Working with Fonts and Graphics
40
Intermec Printer Language (IPL) Developer’s Guide
For more information on using PrintSet to download fonts, see the PrintSet online
documentation.
Using IPL Commands to Download Fonts
Although the easiest way to download fonts is with PrintSet, you can also use the
IPL command set to create and download user-defined bitmap and outline fonts to
your Intermec printer.
Downloading Bitmap Fonts
To learn more about bitmap font formats, see
“Creating User-Defined Font
Characters for Advanced Mode” on page 53.
Downloading Outline Fonts
If you need to download an outline font but you cannot use PrintSet, you can:
create a program to convert the outline font to a format you can download to the
printer.
manually convert the outline font to a format you can download to the printer.
When you convert an outline font to a format you can download to the printer, you
must change the font character data into nybblized data that the printer can
interpret. When you nybblize data, you divide each byte of data into two bytes.
For example:
byte 0xAB becomes two bytes: 0x41, 0x42 or text string “AB”
To manually download an outline font to your printer
1
Nybblize the font data.
Divide the nybblized data into separate lines preceded by the j command (for
more information, see the
Outline Font, Download
command in the
IPL
Command Reference Manual
). Remember to wrap the entire line in <STX> and
;<ETX>. You need short lines for limited message length protocols and to make
modifying easier by using an editor or word processing program.
2
Include IPL commands to instruct the printer what to do with the font data. For
help, see the following example.
3
Send the commands to the printer using one of the methods described in
Chapter 1.
This is an example of a nybblized outline font file that includes IPL commands to
send it directly to a printer.
Nybblized Outline Font File Example
Command
Definition
<STX>R<ESC>C<ESC>P<ETX>
Enter Program mode.
<STX>J03,Times,1;<ETX>
Create TrueType font 3 and give it
the name Times.
<STX>j0001000000110100000400604c545348efe24cd00000;<ETX>
TrueType data string.