# i25 barcodes

## Informations

Author: Matthias Lau
License: FPDF

## Description

This script implements Interleaved 2 of 5 barcodes. An Interleaved 2 of 5 barcode contains digits (0 to 9) and encodes the data in the width of both bars and spaces. It is used primarily in the distribution and warehouse industry.
`i25(float xpos, float ypos, string code [, float basewidth [, float height]])`
`xpos`: abscissa of barcode
`ypos`: ordinate of barcode
`code`: value of barcode
`basewidth`: corresponds to the width of a wide bar (defaults to 1)
`height`: bar height (defaults to 10)
Note: if the length of the code is not even, a 0 is preprended.