Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 95

Using Intermec Printer Language (IPL), Intermec Printer Language IPL Programmer's, Reference Manual

Page 95 highlights

Chapter 2 - About VT/ANSI Programming Telxon Private Use Sequence Description PU2 0 0 0 0 ST PU2 0 0 0 1 ST PU2 0 0 0 2 ST PU2 0 0 0 3 ST PU2 0 0 0 4 ST Sets screen size to 26x16 instead of 21x16 (closest match) Sets screen size to 16x16 Sets screen size to 26x8 instead of 21x8 (closest match) Sets screen size to 16x8 (16x4 screen size) Ignored, not supported by Intermec PU2 0 0 0 5 ST (21x4 screen size) Ignored, not supported by Intermec PU2 0 5 0 0 ST Disables scanner PU2 0 5 0 2 ST Enables scanner without Auto Enter PU2 0 5 0 3 ST Enables scanner with Auto Enter * ESC R 1 3 ST Data entry allowed from scanner only ESC R 1 4 ST Data entry allowed from keyboard and scanner only* * Default mode. PU2 0 0 0 0 ST thru PU2 0 0 0 5 ST for all supported computers. Using Intermec Printer Language (IPL) This example shows how to create a bar code, the human readable form of that bar code, and its RFID tag-write using the Intermec Printer Language (IPL). For a further definition of IPL, see the Intermec Printer Language (IPL) Programmer's Reference Manual. /* Commands to setup PM4i Printer to write a bar code label, human readable info and an RFID tag. */ /* Turn on RFID mode, with a tag adjust of 0 dots, retry 2 times */ APC "#P4N8100000=02=0fJ1,0,2=03#" ST /* Place the printer in advanced mode */ APC "#P4N8100000=02=1bC0=03#" ST /* Place the printer in program mode */ APC "#P4N8100000=02=1bP;=03#" ST /* Erase format field 4 and then create format field 4. Make a workspace area for the printer to use to store the information we are going to print. */ APC "#P4N8100000=02=45=34;F4;=03#" ST /* Make a human readable entry at o100,200 orgin 100,200. f0 means field direction is horizontal, h1,w1 is use height *1 and width *1. C21 means use 12 point monspace. The r0 says character rotation is horiontal. b0 is saying no border. Finally the d3 is the text you want to display. */ APC "#P4N8100000=02H0;o100,200;f0;h1,w1;c21;r0;b0;d3,TEST LABEL;=03#" ST /* Edit and create line field 1. o11,250 Orgin of 11,250. f0 field direction is horizontal. 1500;w4 is length of 1500 dots and width is field is 4 dots. APC "#P4N8100000=02L1;o11,250;f0;1500;w4;=03#" ST /* B2 Defines field 2 as bar code data. o20,300 with an origin of 20,300. f0 means field direction is horizontal. Height is 102 dots and width is 2 dots. The c0,0 says to print the bar code as code 39 with no check digit. i1 (one) determines that an Intermec Terminal Emulator (ITE) Programmer's Reference Manual 83

  • 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
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184

Chapter 2 — About VT/ANSI Programming
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
83
Using Intermec Printer Language (IPL)
This example shows how to create a bar code, the human readable form of that bar
code, and its RFID tag-write using the Intermec Printer Language (IPL). For a
further definition of IPL, see the
Intermec Printer Language (IPL) Programmer’s
Reference Manual
.
/* Commands to setup PM4i Printer to write a bar code label, human readable info and an
RFID tag. */
/* Turn on RFID mode, with a tag adjust of 0 dots, retry 2 times */
APC "#P4N8100000=02=0fJ1,0,2=03#" ST
/* Place the printer in advanced mode */
APC "#P4N8100000=02=1bC0=03#" ST
/* Place the printer in program mode */
APC "#P4N8100000=02=1bP;=03#" ST
/* Erase format field 4 and then create format field 4.
Make a workspace area for the
printer to use to store the information we are going to print. */
APC "#P4N8100000=02=45=34;F4;=03#" ST
/* Make a human readable entry at o100,200 orgin 100,200. f0 means field direction is
horizontal, h1,w1 is use height *1 and width *1.
C21 means use 12 point monspace. The
r0 says character rotation is horiontal.
b0 is saying no border. Finally the d3 is the
text you want to display. */
APC "#P4N8100000=02H0;o100,200;f0;h1,w1;c21;r0;b0;d3,TEST LABEL;=03#" ST
/* Edit and create line field 1.
o11,250 Orgin of 11,250. f0 field direction is
horizontal.
1500;w4 is length of 1500 dots and width is field is 4 dots.
APC "#P4N8100000=02L1;o11,250;f0;1500;w4;=03#" ST
/* B2 Defines field 2 as bar code data. o20,300 with an origin of 20,300. f0 means
field direction is horizontal. Height is 102 dots and width is 2 dots. The c0,0 says to
print the bar code as code 39 with no check digit. i1 (one) determines that an
Telxon Private Use
Sequence
Description
PU2 0 0 0 0 ST
Sets screen size to 26x16 instead of 21x16 (closest match)
PU2 0 0 0 1 ST
Sets screen size to 16x16
PU2 0 0 0 2 ST
Sets screen size to 26x8 instead of 21x8 (closest match)
PU2 0 0 0 3 ST
Sets screen size to 16x8
PU2 0 0 0 4 ST
(16x4 screen size) Ignored, not supported by Intermec
PU2 0 0 0 5 ST
(21x4 screen size) Ignored, not supported by Intermec
PU2 0 5 0 0 ST
Disables scanner
PU2 0 5 0 2 ST
Enables scanner without Auto Enter
PU2 0 5 0 3 ST
Enables scanner with Auto Enter *
ESC R 1 3 ST
Data entry allowed from scanner only
ESC R 1 4 ST
Data entry allowed from keyboard and scanner only*
* Default mode. PU2 0 0 0 0 ST thru PU2 0 0 0 5 ST for all supported computers.