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

Specifying Text for Printing With PRTXT, Defining Borders With PRBOX, Summary for Text Fields

Page 100 highlights

Chapter 6 - Designing Bar Code Labels Specifying Text for Printing With PRTXT Text for a single- or multi-line text field can be entered in the form of numeric expressions and/or string expressions. Two or more expressions can be combined using semicolons (;) or, in case of string expressions, by plus signs (+). String constants must be enclosed by quotation marks ("..."). Variables are useful for printing for example time, date, or various counters, and when the same information is to appear in several places, for example both as plain text and as bar code input data. Defining Borders With PRBOX Single- or multi-line text fields can be created using an extension of the PRBOX statement. The PRBOX statement allows you to specify the height, width, and line thickness of a box in which the text will be printed. Depending on the line thickness, the box is invisible (thickness = 0) or has a black border line (thickness >0). Additional parameters allows you to position the text inside the box, decide the line spacing, and control the hyphenation. Note that the anchor point choice affects the positioning of the text inside the box. For information, see "About Insertion and Anchor Points" on page 80. When a text line reaches the border of the box, it wraps to a new line according to the hyphenation settings. For more information, see the Fingerprint Command Reference Manual. Summary for Text Fields To print a single- or multi-line text field, the following information must be specified. If no value is specified, Fingerprint uses the default values. Required Information for Single-Line Text Fields Purpose X/Y Position Alignment Direction Typeface Style Text Print a label Command PRPOS ALIGN DIR FONT FONTD INVIMAGE NORIMAGE PRTXT PRINTFEED Default 0/0 1 1 Swiss 721 BT,12,0,100 - no yes - - Remarks Number of dots Select ALIGN 1-9 Select DIR 1-4 White on black print Black on white print Field input data Resets parameters to default Example of a single-line text field: 10 PRPOS 100,200 20 ALIGN 7 30 DIR 2 40 FONT "Swiss 721 Bold BT,20,15,80" 84 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
84
Intermec Fingerprint Developer’s Guide
Specifying Text for Printing With PRTXT
Text for a single- or multi-line text field can be entered in the form of numeric
expressions and/or string expressions. Two or more expressions can be combined
using semicolons (;) or, in case of string expressions, by plus signs (+). String
constants must be enclosed by quotation marks (“...”). Variables are useful for
printing for example time, date, or various counters, and when the same
information is to appear in several places, for example both as plain text and as bar
code input data.
Defining Borders With PRBOX
Single- or multi-line text fields can be created using an extension of the PRBOX
statement. The PRBOX statement allows you to specify the height, width, and line
thickness of a box in which the text will be printed. Depending on the line thickness,
the box is invisible (thickness = 0) or has a black border line (thickness >0).
Additional parameters allows you to position the text inside the box, decide the line
spacing, and control the hyphenation.
Note that the anchor point choice affects the positioning of the text inside the box.
For information, see
“About Insertion and Anchor Points” on page 80.
When a text line reaches the border of the box, it wraps to a new line according to
the hyphenation settings.
For more information, see the
Fingerprint Command Reference Manual.
Summary for Text Fields
To print a single- or multi-line text field, the following information must be
specified. If no value is specified, Fingerprint uses the default values.
Example of a single-line text field:
10
PRPOS 100,200
20
ALIGN 7
30
DIR 2
40
FONT “Swiss 721 Bold BT,20,15,80”
Required Information for Single-Line Text 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
Typeface
FONT
Swiss 721 BT,12,0,100
FONTD
Style
INVIMAGE
no
White on black print
NORIMAGE
yes
Black on white print
Text
PRTXT
Field input data
Print a label
PRINTFEED
Resets parameters to
default