yanlanglois Posted July 10, 2013 Share Posted July 10, 2013 I use the following code :<componentElement> <reportElement uuid="64c6102b-4364-4a18-844a-1e14f87db342" stretchType="RelativeToTallestObject" x="14" y="43" width="31" height="67"> <property name="local_mesure_unitx" value="mm"/> <property name="local_mesure_unity" value="mm"/> <property name="local_mesure_unitwidth" value="mm"/> <property name="local_mesure_unitheight" value="mm"/> </reportElement> <c:EAN13 xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" orientation="90" checksumMode="ignore"> <c:codeExpression><![CDATA[$F{ean13}]]></c:codeExpression> </c:EAN13> </componentElement>[/code]If I use jasperPrint.setProperty(JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES, "false") :If I use jasperPrint.setProperty(JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES, "true") :How can I remove this empty space at the top of the barecode ? Link to comment Share on other sites More sharing options...
mariahsharp468 Posted July 11, 2013 Share Posted July 11, 2013 here is a website about ean13, you may try to find sth.helpful.Good luck!http://www.keepautomation.com/products/net_barcode/barcodes/ean_13.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now