13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>Wide FactorInterchar GapWidthDisplay Start/StopExtended CharsetShapeThis value is used to multiply the width of the bars, making the barcode wider.This value controls the space between a group of bars that represent a single character.Code 39 barcode supports special bars to represent the start and the end of the barcode(these bars represent the character *). This property allows you to show or hide the start/stop bars.Code39 by default is able to print only numbers. If this property is set to true, all of the US-ASCII 7-bit characters can be used.This property is used by the Data Matrix barcode and allows you to choose the symbol touse for rendering. The possible values are:force-none. Both square and rectangular symbols.force-square. Only square symbols.force-rectangle. Only rectangular symbols.Ascender HeightTrack HeightShort Bar HeightBaseline PositionMin and MaxColumnsMin and Max RowsWidth to HeightRatioError CorrectionLevelUse this for Royal Mail CBC and USPS Intelligent Mail; it allows you to set the height of theascender barsUse this for Royal Mail CBC and USPS Intelligent Mail; it allows you to set the height of thetrack bars.This property allows you to set in a POSTNET barcode the height of the short bars.This property determines whether the short bars in a POSTNET barcode are aligned on thebottom or top or the barcode.In PDF417 barcodes, these numbers set the minimum and maximum number of columnsthat can be used to render the barcode. The allowed range is between 1 and 30.In PDF417 barcodes, these numbers set the minimum and maximum number of rows thatcan be used to render the barcode. The allowed range is between 3 and 90.This property allows you to set the ratio of the barcode symbols in a PDF417 barcode.This property is used for PDF417 barcodes; it allows you to set the error correction level,which must be a value between 0 and 8.14.3.4 CompatibilityIf a previous version of UR is used, an error will occur. Since the error usually refers to the JRXML syntax, it canappear cryptic. Here is an example of the error you may get:org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found startingwith element 'jr:Code39'. One of '{"http://jasperreports.sourceforge.net/jasperreports":component}' is expected.The error just says that the element Code39 in the namespace jr is not known and cannot be understood and used. Thesolution is to upgrade UR or remove the barcode element from the XML.These barcode components are not compatible with the barcode implementation provided in <strong>iReport</strong> up to version 3.0.0. Thatimplementation used the Barbecue library to render an image element. This can still work in newer versions of <strong>iReport</strong> byadding to the <strong>iReport</strong> classpath the JAR <strong>iReport</strong>-utils-3.0.0.jar, which can be generated from any source distribution of <strong>iReport</strong>3.0.0. However, there is no longer a UI in which to configure them. In any case, since the old implementation rendered thebarcode as a raster image, you can obtain better quality in documents supporting SVG format by using the newimplementation. It provides many more options and it is tightly integrated with UR.298

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!