Intermec PB32 Fingerprint Developer's Guide (old) - Page 101

Creating Bar Code Fields, Specifying a Bar Code Symbology With BARSET

Page 101 highlights

Chapter 6 - Designing Bar Code Labels 50 INVIMAGE 60 PRTXT "HELLO" 70 PRINTFEED RUN Example of a multi-line text field: 10 DIR 1 20 ALIGN 8 30 R$="Hyphen&Sated words will be divid&Sed into sylla&Sbles." 40 NL$="NEWLINE" 50 S$="&S&Special Cases and EXTRAORDINARILY long words." 60 T$=R$+NL$+S$ 70 PRPOS 300,300 80 PRBOX 700,500,20,T$,25,1,NL$,"&S - +" 90 PRINTFEED RUN Creating Bar Code Fields Fingerprint supports 39 of the most common bar code symbologies including twodimensional bar codes and dot codes like PDF417 and MaxiCode. A single bar code, including its optional human-readable interpretation, makes up a bar code field. In addition to the standard positioning statements PRPOS, ALIGN and DIR, a bar code field can contain the following commands: • BARSET - Specifies the bar code type and printing. • BARFONT ON|OFF - Specifies the font to be used to print the bar code. • PRBAR - Input data for the bar code. For more information on bar codes, see Specifying a Bar Code Symbology With BARSET This statement specifies the type of bar code and how it is printed. BARSET can also replace separate BARHEIGHT, BARRATIO, BARTYPE, and BARMAG instructions. BARSET contains optional parameters for specifying complex 2-dimensional bar or dot codes such as PDF417. For more information, see the Fingerprint Command Reference Manual.. For common one-dimensional bar codes, include the following parameters in the BARSET statement: • Bar code type. Name must be enclosed by quotation marks. Default is "INT2OF5". • Ratio (wide bars). Default is 3. • Ratio (narrow bars). Default is 1. • Enlargement. Affects the bar pattern but not the interpretation, unless the bar font is an integrated part of the code (such as for EAN/UPC). Default is 2. • Height of the bars in dots. Default is 100. Intermec Fingerprint Developer's Guide 85

  • 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
Intermec Fingerprint Developer’s Guide
85
50 INVIMAGE
60
PRTXT “HELLO”
70 PRINTFEED
RUN
Example of a multi-line text field:
10
DIR 1
20
ALIGN 8
30
R$=“Hyphen&Sated words will be divid&Sed
into sylla&Sbles.”
40 NL$=“NEWLINE”
50
S$=“&S&Special Cases and EXTRAORDINARILY long
words.”
60 T$=R$+NL$+S$
70
PRPOS 300,300
80
PRBOX 700,500,20,T$,25,1,NL$,“&S - +”
90 PRINTFEED
RUN
Creating Bar Code Fields
Fingerprint supports 39 of the most common bar code symbologies including two-
dimensional bar codes and dot codes like PDF417 and MaxiCode. A single bar code,
including its optional human-readable interpretation, makes up a bar code field.
In addition to the standard positioning statements PRPOS, ALIGN and DIR, a bar
code field can contain the following commands:
BARSET - Specifies the bar code type and printing.
BARFONT ON|OFF - Specifies the font to be used to print the bar code.
PRBAR - Input data for the bar code.
For more information on bar codes, see
Specifying a Bar Code Symbology With BARSET
This statement specifies the type of bar code and how it is printed. BARSET can also
replace separate BARHEIGHT, BARRATIO, BARTYPE, and BARMAG instructions.
BARSET contains optional parameters for specifying complex 2-dimensional bar or
dot codes such as PDF417. For more information, see the
Fingerprint Command
Reference Manual.
.
For common one-dimensional bar codes, include the following parameters in the
BARSET statement:
Bar code type. Name must be enclosed by quotation marks. Default is
“INT2OF5”.
Ratio (wide bars). Default is 3.
Ratio (narrow bars). Default is 1.
Enlargement. Affects the bar pattern but not the interpretation, unless the bar
font is an integrated part of the code (such as for EAN/UPC). Default is 2.
Height of the bars in dots. Default is 100.