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

Printing Labels with IPL Commands, Learning the Structure of IPL Command Strings

Page 13 highlights

Chapter 1 - Introduction to IPL Commands • Test and Service commands query the printer for hardware diagnostic data and print job status. The printer must be in Test and Service mode to use these commands. • Immediate commands abort print jobs, return the status of print jobs, and reset the printer. The printer can be in any mode to use these commands, and executes these commands immediately even if other IPL commands are waiting to be executed. Printing Labels with IPL Commands Follow this basic procedure to print bar code labels using IPL: 1 Use IPL commands to design the format for the bar code label. If you do not specify a format, the printer assumes you want to use the default format (format 0), which is stored permanently in the printer. The printer prints the label using that format. 2 Send the format to the printer as a series of IPL command strings. The printer stores the format in memory. You can store multiple formats on your printer. For more information, see the "Format, Create or Edit" command in the IPL Command Reference Manual. 3 Send a command string to the printer that specifies the data for the fields of the format, and then prints the label. Note: It is not always necessary to send the format and the data to the printer separately. You can send fixed data formats or even variable data formats that include the data in the same file. Learning the Structure of IPL Command Strings An IPL command string is a text string that you send to the printer. A command string is a combination of ASCII control codes (or their readable equivalents), the syntax for the specific command, and associated data. For example, a simple command string can look like: E2;F2;T4 where: IPL Command Structure Syntax E2 Definition is the readable equivalent of the start of text character. Command strings must always begin with the start of text ASCII command code or its equivalent in readable characters. Readable characters must be enclosed in angle brackets. For more information on using ASCII command codes or their readable equivalents, see the next section, "Using ASCII Control Characters." is the syntax and data for the IPL command "Format, Erase." Intermec Printer Language (IPL) Developer's Guide 3

  • 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 1 — Introduction to IPL Commands
Intermec Printer Language (IPL) Developer’s Guide
3
Test and Service commands
query the printer for hardware diagnostic data and
print job status. The printer must be in Test and Service mode to use these
commands.
Immediate commands
abort print jobs, return the status of print jobs, and
reset the printer. The printer can be in any mode to use these commands, and
executes these commands immediately even if other IPL commands are waiting
to be executed.
Printing Labels with IPL Commands
Follow this basic procedure to print bar code labels using IPL:
1
Use IPL commands to design the format for the bar code label.
If you do not specify a format, the printer assumes you want to use the default
format (format 0), which is stored permanently in the printer. The printer prints
the label using that format.
2
Send the format to the printer as a series of IPL command strings. The printer
stores the format in memory.
You can store multiple formats on your printer. For more information, see the
“Format, Create or Edit” command in the
IPL Command Reference Manual
.
3
Send a command string to the printer that specifies the data for the fields of the
format, and then prints the label.
Learning the Structure of IPL Command Strings
An IPL command string is a text string that you send to the printer. A command
string is a combination of ASCII control codes (or their readable equivalents), the
syntax for the specific command, and associated data.
For example, a simple command string can look like:
<STX>E2;F2;T4<ETX>
where:
Note
:
It is not always necessary to send the format and the data to the printer
separately. You can send fixed data formats or even variable data formats that
include the data in the same file.
IPL Command Structure
Syntax
Definition
<STX>
is the readable equivalent of the start of text character. Command
strings must always begin with the start of text ASCII command code or
its equivalent in readable characters. Readable characters must be
enclosed in angle brackets.
For more information on using ASCII command codes or their readable
equivalents, see the next section, “Using ASCII Control Characters.”
E2
is the syntax and data for the IPL command “Format, Erase.”