Kyocera ECOSYS FS-4100DN PRESCRIBE Commands Technical Reference Manual - Rev. - Page 98

Macro PDF417, Creating a Macro PDF 417 Representation

Page 98 highlights

Chapter 5 Barcodes Macro PDF417 Macro PDF417 provides a powerful mechanism for creating a distributed representation of files too large to be presented by a single PDF417 barcode. Macro PDF417 barcodes differ from ordinary PDF417 barcodes in that they contain additional control options which are added by modes 10 through 19 of the XBCP command. This allows a reader to make use of this information to correctly reconstruct and verify the file, independent of the barcode scanning order. The terminology PRESCRIBE macro and macro PDF are not the same. Refer to the PRESCRIBE Commands Command Reference for the PRESCRIBE macro commands Note (MCRO, ENDM, etc.). The following modes of XBCP are used for Macro PDF417 to represent additional control options for XBAR. Note that implementation of these parameters are optional except XBCP 17 and XBCP 18. XBCP 10 XBCP 11 XBCP 12 XBCP 13 XBCP 14 XBCP 15 XBCP 16 XBCP 17 XBCP 18 XBCP 19 File name Block count Time stamp Sender ID Addressee ID File size Check sum File ID Macro PDF417 execution Distributed barcodes positioning Creating a Macro PDF 417 Representation A Macro PDF417 creation begins with giving fileid using XBCP 17 for the ensuing Macro PDF417 sequences. Each one XBAR command sequence is needed for each divided barcode which is succeeded by a XBCP 18 statement that defines a separate block index for each barcode. The block index is needed to ensure that the divided barcodes are reconstructed in the correct order as the whole file when the barcodes are read. The basic command sequence for Macro PDF417 is as follows. ... XBCP 17, 'fileid'; MZP x1, y1; XBCP 18, 0; XBAR; data_string;ENDB; MZP x2, y2; XBCP 18, 1; XBAR; data_string;ENDB; MZP x3, y3; XBCP 18, 2; ... Gives the same file ID to all distributed barcodes. Position the first barcode at (x1, y1). Block index for the first barcode. Encode and print the first divided barcode. Position the second barcode at (x2, y2). Assign block index 1 to the second barcode. Encode and print the second divided barcode. Position the second barcode at (x3, y3). Assign block index 2 to the second barcode. The largest allowed block index is 99,998. Thus, up to 99,999 Macro PDF417 barcodes may comprise the distributed representation of a data file. 5-14

  • 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
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260

Chapter 5 Barcodes
5-14
Macro PDF417
Macro PDF417 provides a powerful mechanism for creating a distributed representation
of files too large to be presented by a single PDF417 barcode. Macro PDF417 barcodes
differ from ordinary PDF417 barcodes in that they contain additional control options
which are added by modes 10 through 19 of the XBCP command. This allows a reader to
make use of this information to correctly reconstruct and verify the file, independent of
the barcode scanning order.
Note
The terminology PRESCRIBE macro and macro PDF are not the same. Refer to the
PRESCRIBE Commands Command Reference
for the PRESCRIBE macro commands
(MCRO, ENDM, etc.).
The following modes of XBCP are used for Macro PDF417 to represent additional con-
trol options for XBAR. Note that implementation of these parameters are optional except
XBCP 17 and XBCP 18.
Creating a Macro PDF 417 Representation
A Macro PDF417 creation begins with giving
fileid
using XBCP 17 for the ensuing
Macro PDF417 sequences. Each one XBAR command sequence is needed for each
divided barcode which is succeeded by a XBCP 18 statement that defines a separate
block index for each barcode. The block index is needed to ensure that the divided bar-
codes are reconstructed in the correct order as the whole file when the barcodes are read.
The basic command sequence for Macro PDF417 is as follows.
...
XBCP 17, ’
fileid
’;
Gives the same file ID to all distributed barcodes.
MZP
x1, y1
;
Position the first barcode at (x1, y1).
XBCP 18, 0;
Block index for the first barcode.
XBAR;
data_string
;ENDB;
Encode and print the first divided barcode.
MZP
x2, y2
;
Position the second barcode at (x2, y2).
XBCP 18, 1;
Assign block index 1 to the second barcode.
XBAR;
data_string
;ENDB;
Encode and print the second divided barcode.
MZP
x3, y3
;
Position the second barcode at (x3, y3).
XBCP 18, 2;
Assign block index 2 to the second barcode.
...
The largest allowed block index is 99,998. Thus, up to 99,999 Macro PDF417 barcodes
may comprise the distributed representation of a data file.
XBCP 10
File name
XBCP 11
Block count
XBCP 12
Time stamp
XBCP 13
Sender ID
XBCP 14
Addressee ID
XBCP 15
File size
XBCP 16
Check sum
XBCP 17
File ID
XBCP 18
Macro PDF417 execution
XBCP 19
Distributed barcodes positioning