Interleaved 2 of 5 Size Setting Instruction
Interleaved 2 of 5 Barcode Size Setting
Interleaved 2 of 5 barcode size is customizable during barcode generation. Our
Interleaved 2 of 5 generation and recognization controls grant customers to set the Interleaved 2 of 5 image size freely.
How to generate, print barcode using .NET, Java sdk library control with example project source code free download:
Interleaved 2 of 5 Structure
- W : the width of Interleaved 2 of 5.
- X : the width of Interleaved 2 of 5 narrow bar; X min = 1 pixel.
- N : the wide bar to narrow bar ratio; from 2.0 to 3.0, inclusive.
- P : the number of character pairs.
- Q : the width of the quiet zone; minimum is 10X.
Interleaved 2 of 5 Barcode Width
Interleaved 2 of 5 barcode width, W (measured in pixel), including quiet zones, can be calculated from the following expression:
W = [ P ( 4N + 6 ) +N + 6 ) ] X + 2Q
Then the minimum value of W can be calculated as below:
N min = 2 , Q min = 10X .
W min = [ P ( 4 * 2 + 6 ) + 2 + 6 ] X + 2 * 10X
= ( 14P + 8 ) X + 20 X
= ( 14P + 28 ) X
If, X min = 1 , W min = 14P + 28
Eg. Interleaved 2 of 5 data = " 1234 " , P = 2 .
W min = 14P + 28 = 28 + 28 = 56 pixel
Interleaved 2 of 5 Barcode Height