Intermec PB51 Fingerprint Developer's Guide (old) - Page 102

Choosing the Human-Readable Font With BARFONT, Specifying Input Data With PRBAR

Page 102 highlights

Chapter 6 - Designing Bar Code Labels Choosing the Human-Readable Font With BARFONT Specifies the single-byte font to be used for the human-readable interpretation. In some bar codes, such as EAN/UPC, the interpretation is an integrated part of the code. The font can be specified in regard to: • Default font (Swiss 721 BT). • Size in points. Default is 12. • Slant in degrees. Default is 0. • Vertical offset. Specifies the distance in dots between the bottom of the bar pattern and the top of the interpretation characters. Default is 6. • Height magnification. Default is 1. • Width magnification. Default is 1. • Width enlargement in percent. Default is 100. To disable bar code interpretation printing, use BARFONT OFF. Specifying Input Data With PRBAR Depending on the type of bar code, input data for the bar code can be entered in the form of numeric and/or string expressions. String constants must be enclosed by quotation marks. Variables are useful for printing the time, date, or various counters, or for when the same information is to appear in several places, such as in plain text and as bar code input data. Summary for Bar Code Fields To print a bar code field, the following information and instructions must be specified. If no value is given, defaults are substituted. Required Information for Bar Code Fields Purpose X/Y Position Alignment Direction Bar Code Select Human Readables Input Data Print a label Command PRPOS ALIGN DIR BARSET BARFONT...ON PRBAR PRINTFEED Default 0/0 1 1 see above see above - - Remarks Number of dots Select ALIGN 1-9 Select DIR 1-4 Can be omitted Input data to bar code field Resets parameters to default This example shows a typical bar code field instruction: 10 PRPOS 30,400 20 DIR 1 30 ALIGN 7 40 BARSET "CODE39",2,1,3,120 50 BARFONT "Swiss 721 BT",10,8,5,1,1 ON 86 Intermec Fingerprint 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
  • 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
  • 185
  • 186
  • 187

Chapter 6 — Designing Bar Code Labels
86
Intermec Fingerprint Developer’s Guide
Choosing the Human-Readable Font With BARFONT
Specifies the single-byte font to be used for the human-readable interpretation. In
some bar codes, such as EAN/UPC, the interpretation is an integrated part of the
code.
The font can be specified in regard to:
Default font (Swiss 721 BT).
Size in points. Default is 12.
Slant in degrees. Default is 0.
Vertical offset. Specifies the distance in dots between the bottom of the bar
pattern and the top of the interpretation characters. Default is 6.
Height magnification. Default is 1.
Width magnification. Default is 1.
Width enlargement in percent. Default is 100.
To disable bar code interpretation printing, use BARFONT OFF.
Specifying Input Data With PRBAR
Depending on the type of bar code, input data for the bar code can be entered in the
form of numeric and/or string expressions. String constants must be enclosed by
quotation marks. Variables are useful for printing the time, date, or various
counters, or for when the same information is to appear in several places, such as in
plain text and as bar code input data.
Summary for Bar Code Fields
To print a bar code field, the following information and instructions must be
specified. If no value is given, defaults are substituted.
This example shows a typical bar code field instruction:
10
PRPOS 30,400
20
DIR 1
30
ALIGN 7
40
BARSET “CODE39”,2,1,3,120
50
BARFONT “Swiss 721 BT”,10,8,5,1,1 ON
Required Information for Bar Code Fields
Purpose
Command
Default
Remarks
X/Y Position
PRPOS
0/0
Number of dots
Alignment
ALIGN
1
Select ALIGN 1-9
Direction
DIR
1
Select DIR 1-4
Bar Code Select
BARSET
see above
Human Readables
BARFONT...ON
see above
Can be omitted
Input Data
PRBAR
Input data to bar code field
Print a label
PRINTFEED
Resets parameters to default