Description of shipped barcodes You will find below detailed information about all barcode types shipped by default with Zend Framework. Zend_Barcode_Object_Error This barcode is a special case. It is internally used to automatically render an exception caught by the Zend_Barcode component. Zend_Barcode_Object_Code25 Name: Code 25 (or Code 2 of 5 or Code 25 Industrial) Allowed characters: '0123456789' Checksum: optional (modulo 10) Length: variable There are no particular options for this barcode. Zend_Barcode_Object_Code39 Name: Code 39 Allowed characters: '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ -.$/+%' Checksum: optional (modulo 43) Length: variable Zend_Barcode_Object_Code39 will automatically add the start and stop characters ('*') for you. There are no particular options for this barcode. Zend_Barcode_Object_Itf14 This barcode extends Zend_Barcode_Object_Int25 (Code 2 of 5 Interleaved), and inherits some of its capabilities; it also has a few particulars of its own. Name: ITF-14 Allowed characters: '0123456789' Checksum: mandatory (modulo 10) Length: 14 characters (including checksum) There are no particular options for this barcode. If the number of characters is not equal to 14, Zend_Barcode_Object_Itf14 will automatically prepend missing zeros to the barcode text. Zend_Barcode_Object_Int25 This barcode extends Zend_Barcode_Object_Code25 (Code 2 of 5), and has the same particulars and options, and adds the following:. Name: Code 2 of 5 Interleaved Allowed characters: '0123456789' Checksum: optional (modulo 10) Length: variable (always even number of characters) Available options include: Zend_Barcode_Object_Int25 Options Option Data Type Default Value Description withBearerBars Boolean FALSE Draw a thick bar at the top and the bottom of the barcode.
If the number of characters is not even, Zend_Barcode_Object_Int25 will automatically prepend the missing zero to the barcode text.