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

Creating User-Defined Font Characters for Advanced Mode

Page 63 highlights

Chapter 3 - Working with Fonts and Graphics Command Strings for User-Defined Character Example (continued) Command u7,G u8,~CB u9,|CA u10,xc@ u11,pS@ u12,`K@ u13,@G@ u14,@B@ R C P E4;F4 U1;o100,100;c2;w20;h20 R E4 Definition Defines column 7 Defines column 8 Defines column 9 Defines column 10 Defines column 11 Defines column 12 Defines column 13 Defines column 14 Saves and exits to Print mode Places the printer in Advanced mode Places the printer in Program mode Erases current format 4 and creates new format 4 Creates graphic field 1, origin of 100,100, uses graphic 1, and magnifies it by a factor of 20 Saves and exits to Print mode Selects format 4 Prints the format Creating User-Defined Font Characters for Advanced Mode Creating user-defined font characters for Advanced mode is almost identical to the procedure for creating user-defined characters. You need to define the format for each ASCII character you want to use. For help, see "Creating User-Defined Characters for Advanced Mode" on page 48. Additionally, when you write the command strings that define the ASCII characters for the font, you need to include syntax for these commands: • "Bitmap User-Defined Font, Clear or Define": This command creates a new font and font number. Syntax is Tn, where n is the font number. • "Bitmap Cell Width for Graphic or UDF, Define": This command defines the width for all cells that contain a character from this font. Syntax is xn, where n is the cell width in dots. • "Bitmap Cell Height for Graphic or UDF, Define": This command defines the height for all cells that contain a character from this font. Syntax is yn, where n is the cell height in dots. • "User-Defined Font Character, Create": This command creates the new character. Syntax is tn, where n is the decimal equivalent of the corresponding ASCII character. For help, see the "Full ASCII Table" on page 76. You need to add this syntax for each new character in your user-defined font. Intermec Printer Language (IPL) Developer's Guide 53

  • 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
Intermec Printer Language (IPL) Developer’s Guide
53
Creating User-Defined Font Characters for Advanced Mode
Creating user-defined font characters for Advanced mode is almost identical to the
procedure for creating user-defined characters. You need to define the format for
each ASCII character you want to use. For help, see
“Creating User-Defined
Characters for Advanced Mode” on page 48.
Additionally, when you write the command strings that define the ASCII characters
for the font, you need to include syntax for these commands:
“Bitmap User-Defined Font, Clear or Define”: This command creates a new font
and font number. Syntax is
T
n
, where
n
is the font number.
“Bitmap Cell Width for Graphic or UDF, Define”: This command defines the
width for all cells that contain a character from this font. Syntax is x
n
, where
n
is
the cell width in dots.
“Bitmap Cell Height for Graphic or UDF, Define”: This command defines the
height for all cells that contain a character from this font. Syntax is y
n
, where
n
is
the cell height in dots.
“User-Defined Font Character, Create”: This command creates the new
character. Syntax is t
n
, where
n
is the decimal equivalent of the corresponding
ASCII character. For help, see the
“Full ASCII Table” on page 76.
You need to
add this syntax for each new character in your user-defined font.
<STX>u7,<DEL><DEL>G<ETX>
Defines column 7
<STX>u8,~CB<ETX>
Defines column 8
<STX>u9,|CA<ETX>
Defines column 9
<STX>u10,xc@<ETX>
Defines column 10
<STX>u11,pS@<ETX>
Defines column 11
<STX>u12,`K@<ETX>
Defines column 12
<STX>u13,@G@<ETX>
Defines column 13
<STX>u14,@B@<ETX>
Defines column 14
<STX>R<ETX>
Saves and exits to Print mode
<STX><ESC>C<ETX>
Places the printer in Advanced mode
<STX><ESC>P<ETX>
Places the printer in Program mode
<STX>E4;F4<ETX>
Erases current format 4 and creates
new format 4
<STX>U1;o100,100;c2;w20;h20<ETX>
Creates graphic field 1, origin of
100,100, uses graphic 1, and
magnifies it by a factor of 20
<STX>R<ETX>
Saves and exits to Print mode
<STX><ESC>E4<ETX>
Selects format 4
<STX><ETB><ETX>
Prints the format
Command Strings for User-Defined Character Example
(continued)
Command
Definition