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

Creating User-Defined Characters for Advanced Mode, Example of User-Defined Font, One Bit Per Byte

Page 58 highlights

Chapter 3 - Working with Fonts and Graphics "Intercharacter Space for UDF, Define": This command defines the amount of space added to the default intercharacter gap length for a bitmap font. Syntax is zn, where n is the number of dots to add to the default spacing of 2. Example of User-Defined Font, One Bit Per Byte Commands c P T11,FONT11 x10;y14; t36;Z12; u0,00111110001100; u1,01111111001110; u2,01100011000110; u3,01100011000110; u4,11111111111111; u5,11111111111111; u6,01100011000110; u7,01100011000110; u8,01110011111110; u9,00110001111100; t105;Z4; u4,00110011111111; u5,00110011111111; R; Definition Selects 86XX Emulation mode Enters Program mode Creates bitmap font 11 Defines cell width and height Creates character 36 ($), character width is 12 Defines column 0 Defines column 1 Defines column 2 Defines column 3 Defines column 4 Defines column 5 Defines column 6 Defines column 7 Defines column 8 Defines column 9 Creates character 105 (i), character width is 4 Defines column 4 Defines column 5 Saves and exits to Print mode Creating User-Defined Characters for Advanced Mode If your Intermec printer is running in Advanced mode (dot size of 2.5 or 5 mil), UDCs must be downloaded to the printer in the six bits per byte format. The six bits per byte format is more compact than one bit per byte. When you use six bits per byte, you can download large graphics more quickly. The difference between 2.5 mil and 5.0 mil modes is the size of the image when it prints. The arrangement of the bits is very important in this format. Eight bits (0 through 7) compose every byte, but the printer only uses bits 0 through 5 to map the image. You must always set bit 6 (the seventh bit) to 1 so you can download data to the printer. 7-bit hosts reserve bit 7 (the eighth bit) for parity and compatibility, so the range of characters for any given UDC is 40 hex (@) to 127 hex ( delete character). The next procedure describes how to create a user-defined character in the six bits per byte format for use in Advanced mode. 48 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
48
Intermec Printer Language (IPL) Developer’s Guide
“Intercharacter Space for UDF, Define”: This command defines the amount of space
added to the default intercharacter gap length for a bitmap font. Syntax is z
n
, where
n
is the number of dots to add to the default spacing of 2.
Creating User-Defined Characters for Advanced Mode
If your Intermec printer is running in Advanced mode (dot size of 2.5 or 5 mil),
UDCs must be downloaded to the printer in the six bits per byte format.
The six bits per byte format is more compact than one bit per byte. When you use six
bits per byte, you can download large graphics more quickly. The difference between
2.5 mil and 5.0 mil modes is the size of the image when it prints.
The arrangement of the bits is very important in this format. Eight bits (0 through
7) compose every byte, but the printer only uses bits 0 through 5 to map the image.
You must always set bit 6 (the seventh bit) to 1 so you can download data to the
printer. 7-bit hosts reserve bit 7 (the eighth bit) for parity and compatibility, so the
range of characters for any given UDC is 40 hex (@) to 127 hex (
delete character).
The next procedure describes how to create a user-defined character in the six bits
per byte format for use in Advanced mode.
Example of User-Defined Font, One Bit Per Byte
Commands
Definition
<STX><ESC>c<ETX>
Selects 86XX Emulation mode
<STX><ESC>P<ETX>
Enters Program mode
<STX>T11,FONT11<ETX>
Creates bitmap font 11
<STX>x10;y14;<ETX>
Defines cell width and height
<STX>t36;Z12;<ETX>
Creates character 36 ($),
character width is 12
<STX>u0,00111110001100;<ETX>
Defines column 0
<STX>u1,01111111001110;<ETX>
Defines column 1
<STX>u2,01100011000110;<ETX>
Defines column 2
<STX>u3,01100011000110;<ETX>
Defines column 3
<STX>u4,11111111111111;<ETX>
Defines column 4
<STX>u5,11111111111111;<ETX>
Defines column 5
<STX>u6,01100011000110;<ETX>
Defines column 6
<STX>u7,01100011000110;<ETX>
Defines column 7
<STX>u8,01110011111110;<ETX>
Defines column 8
<STX>u9,00110001111100;<ETX>
Defines column 9
<STX>t105;Z4;<ETX>
Creates character 105 (i),
character width is 4
<STX>u4,00110011111111;<ETX>
Defines column 4
<STX>u5,00110011111111;<ETX>
Defines column 5
<STX>R;<ETX>
Saves and exits to Print mode