Intermec PM4i Intermec Printer Language (IPL) Developer's Guide (old) - Page 62

Command Strings for User-Defined Character Example, To print the graphic

Page 62 highlights

Chapter 3 - Working with Fonts and Graphics "Graphic or UDC, Define" command syntax (u). Number each line from 0 to 14, and then add the ASCII end of text character to the end of the line: u0,@B@ u1,@E@ u2,`H@ u3,PP@ u4,H`@ u5,D@A u6,B@B u7,G u8,~CB u9,|CA u10,xc@ u11,pS@ u12,`K@ u13,@G@ u14,@B@ 10 Write a command string to place the printer in Print mode: R 11 Save the text file and send it to the printer. The graphic can now be used in a label format. 12 To print the graphic, send this set of command strings: C P E4;F4 U1;o100,100;c2;w20;h20; R; E4 This graphic prints: The next table lists the complete command string set for the UDC example. Command Strings for User-Defined Character Example Command C P G1;x15;y15 u0,@B@ u1,@E@ u2,`H@ u3,PP@ u4,H`@ u5,D@A u6,B@B Definition Places the printer in Advanced mode Places the printer in Program mode Creates UDC 1, 15 rows by 15 columns Defines column 0 Defines column 1 Defines column 2 Defines column 3 Defines column 4 Defines column 5 Defines column 6 52 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
52
Intermec Printer Language (IPL) Developer’s Guide
“Graphic or UDC, Define” command syntax (u). Number each line from 0 to 14,
and then add the ASCII end of text character to the end of the line:
<STX>u0,@B@<ETX>
<STX>u1,@E@<ETX>
<STX>u2,`H@<ETX>
<STX>u3,PP@<ETX>
<STX>u4,H`@<ETX>
<STX>u5,D@A<ETX>
<STX>u6,B@B<ETX>
<STX>u7,<DEL><DEL>G<ETX>
<STX>u8,~CB<ETX>
<STX>u9,|CA<ETX>
<STX>u10,xc@<ETX>
<STX>u11,pS@<ETX>
<STX>u12,`K@<ETX>
<STX>u13,@G@<ETX>
<STX>u14,@B@<ETX>
10
Write a command string to place the printer in Print mode:
<STX>R<ETX>
11
Save the text file and send it to the printer. The graphic can now be used in a
label format.
12
To print the graphic, send this set of command strings:
<STX><ESC>C<ETX>
<STX><ESC>P<ETX>
<STX>E4;F4<ETX>
<STX>U1;o100,100;c2;w20;h20;<ETX>
<STX>R;<ETX>
<STX><ESC>E4<ETX>
<STX><ETB><ETX>
This graphic prints:
The next table lists the complete command string set for the UDC example.
Command Strings for User-Defined Character Example
Command
Definition
<STX><ESC>C<ETX>
Places the printer in Advanced mode
<STX><ESC>P<ETX>
Places the printer in Program mode
<STX>G1;x15;y15<ETX>
Creates UDC 1, 15 rows by 15
columns
<STX>u0,@B@<ETX>
Defines column 0
<STX>u1,@E@<ETX>
Defines column 1
<STX>u2,`H@<ETX>
Defines column 2
<STX>u3,PP@<ETX>
Defines column 3
<STX>u4,H`@<ETX>
Defines column 4
<STX>u5,D@A<ETX>
Defines column 5
<STX>u6,B@B<ETX>
Defines column 6