Intermec PX4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 50

Input Data to Bar Code Fields, Input Data from Counters, PRBAR, PB 71543;VAR5, PB Intermec

Page 50 highlights

Chapter 3-Label Design Input Data to Bar Code Fields The input data to a bar code field is given using a PRBAR instruction. You can add the same types of data to a bar code field as to a text field, provided the type of data (numeric/alphanumeric), number of characters, etc. comply with the bar code specification. You can combine different types of data in a single PRBAR instruction. The different parts are placed adjacently by means of separating semicolons (;). Note that alphanumeric input must be enclosed by quotation marks, whereas numeric input must not. PRBAR | PB [;...] Examples: PB 71543;VAR5$ ↵ PB "Intermec" ↵ PB DATE$;TIME$ ↵ Input Data to Image Fields An image can be selected either by name in plain text (for example "GLOBE.1"), or in the form of a variable (for example VAR1$), also see Chapter 3.5. Note that plain text input must be enclosed by quotation marks. PRIMAGE | PM "" Examples: PM VAR5$ ↵ PM "LOGOTYPE.2" ↵ Input Data from Counters Using a COUNT& instruction, various counters can be created, see Chapter 5.6. You can read the present value of a counter and use it as input data by including a reference to the counter in the PRTXT, PRBOX, or PRBAR instructions in the form of a variable. CNT$ is the number is assigned to the counter in the COUNT& instruction. Example: PT "Label number: ";CNT1$ ↵ PB CNT2$ ↵ 42 Intermec Direct Protocol v.8.60-Programmer's Reference Manual

  • 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

42
Intermec Direct Protocol v.8.60—Programmer’s Reference Manual
Chapter 3—Label Design
Input Data to Bar Code Fields
°e input data to a bar code field is given using a
PRBAR
instruction.
You can add the same types of data to a bar code field as to a text field,
provided the type of data (numeric/alphanumeric), number of characters,
etc. comply with the bar code specification.
You can combine different types of data in a single
PRBAR
instruction.
°e different parts are placed adjacently by means of separating
semicolons (;). Note that alphanumeric input must be enclosed by
quotation marks, whereas numeric input must not.
PRBAR | PB <input data>[;<input data>...]
Examples:
PB 71543;VAR5$
PB "Intermec"
PB DATE$;TIME$
Input Data to Image Fields
An image can be selected either by name in plain text (for example
"GLOBE.1"), or in the form of a variable (for example
VAR1$
), also see
Chapter 3.5. Note that plain text input must be enclosed by quotation
marks.
PRIMAGE | PM "<image name>"
Examples:
PM VAR5$
PM "LOGOTYPE.2"
Input Data from Counters
Using a
COUNT&
instruction, various counters can be created, see Chapter
5.6. You can read the present value of a counter and use it as input data
by including a reference to the counter in the
PRTXT
,
PRBOX
, or
PRBAR
instructions in the form of a variable.
CNT<Counter No.>$
<Counter No.>
is the number is assigned to the counter in the COUNT& instruction.
Example:
PT "Label number: ";CNT1$
PB CNT2$