Intermec PX4i Intermec Printer Language (IPL) Developer's Guide (old) - Page 34

Creating Command Strings for the Label Format

Page 34 highlights

Chapter 2 - Designing Bar Code Labels 12.5 mm x 8 dots/mm = 100. The value for y is 100. The origin position for the human-readable field is 200, 100. 5 Repeat steps 1 to 4 to find the origin points for the line field and for the bar code field. Note: On the 4400, 7421, and PC41 printers, be sure to use the label width command to set the actual width of your labels; otherwise, the y origins will be incorrect. Creating Command Strings for the Label Format Next, write the IPL command strings to create the label format. You use IPL commands to create and define each field in the format. For example, to create a human-readable field, you use the "Human-Readable Field, Create or Edit" command. Each type of field is defined by several parameters. For example, a human-readable field includes settings for field origin point, font, direction, height and width, data source, and number of characters. For more information, see the command in the IPL Command Reference Manual. To create the command strings 1 Open a text editor or word processor application. 2 Type these three command strings to choose Advanced mode, place the printer in Program mode, and create and define the label format: C P E4;F4 The next table explains these values: Values for Sample Label Command Strings Text C P E4 F4 Description ASCII start of text control code in readable characters. Each command string must begin with the start of text control code or its equivalent in readable characters. C is the syntax for the "Advanced Mode, Select" command. ASCII end of text control code in readable characters. Each command string must end with the end of text control code or its equivalent in readable characters. P is the syntax for the "Program Mode, Enter" command. You need to place the printer in Program Mode to create and define a label format. E is the syntax for the "Format, Erase" command. This command clears format 4 from the printer memory. F is the syntax for the "Format, Create" command, which creates a new, blank format 4 in the printer memory. 24 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 2 — Designing Bar Code Labels
24
Intermec Printer Language (IPL) Developer’s Guide
12.5 mm x 8 dots/mm = 100. The value for
y
is 100.
The origin position for the human-readable field is 200, 100.
5
Repeat steps 1 to 4 to find the origin points for the line field and for the bar code
field.
Creating Command Strings for the Label Format
Next, write the IPL command strings to create the label format.
You use IPL commands to create and define each field in the format. For example, to
create a human-readable field, you use the “Human-Readable Field, Create or Edit”
command.
Each type of field is defined by several parameters. For example, a human-readable
field includes settings for field origin point, font, direction, height and width, data
source, and number of characters. For more information, see the command in the
IPL Command Reference Manual
.
To create the command strings
1
Open a text editor or word processor application.
2
Type these three command strings to choose Advanced mode, place the printer
in Program mode, and create and define the label format:
<STX><ESC>C<ETX>
<STX><ESC>P<ETX>
<STX>E4;F4<ETX>
The next table explains these values:
Note:
On the 4400, 7421, and PC41 printers, be sure to use the label width
command to set the actual width of your labels; otherwise, the
y
origins will be
incorrect.
Values for Sample Label Command Strings
Text
Description
<STX>
ASCII start of text control code in readable characters. Each
command string must begin with the start of text control code or
its equivalent in readable characters.
<ESC>C
<ESC>C
is the syntax for the “Advanced Mode, Select” command.
<ETX>
ASCII end of text control code in readable characters. Each
command string must end with the end of text control code or its
equivalent in readable characters.
<ESC>P
<ESC>P
is the syntax for the “Program Mode, Enter” command.
You need to place the printer in Program Mode to create and
define a label format.
E4
E
is the syntax for the “Format, Erase” command. This command
clears format 4 from the printer memory.
F4
F
is the syntax for the “Format, Create” command, which creates a
new, blank format 4 in the printer memory.