Jump to content
We've recently updated our Privacy Statement, available here ×

jlabuelo

Members
  • Posts

    1
  • Joined

  • Last visited

jlabuelo's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hello all We are using Jasper Report Studio v6.3.1. We have built a simple report with a jrxml file that produces an A7 document with two pages, the first of all with a BarCode and the second one with a QR code. The report only receives a Parameter called "Code" and must produce the barcode and the QRcode with the value of this parameter. The issue we are having is that we are able to get the report generated, but the size of the barcode image and qr image are two small and no matter which values we assign to the with and height of the elements, size does not change. Dont know if it is possible to attach the jrxml as example but the definition is this one <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1 --><!-- 2018-03-07T09:19:57 --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="297" pageHeight="210" orientation="Landscape" columnWidth="257" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c1155262-8736-4962-bc0f-6da921c56707"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.unit." value="pixel"/> <property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/> <property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/> <parameter name="prescription_number" class="java.lang.String"/> <queryString> <![CDATA[]]> </queryString> <detail> <band height="125" splitType="Stretch"> <componentElement> <reportElement x="0" y="0" width="260" height="120" uuid="058b1c33-afbf-4bdf-aba1-07162d52a7ca"/> <jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code128" drawText="true" checksumRequired="false" evaluationTime="Report"> <jr:codeExpression><![CDATA[$P{prescription_number}]]></jr:codeExpression> </jr:barbecue> </componentElement> </band> <band height="125"> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> <componentElement> <reportElement x="0" y="10" width="260" height="108" isPrintInFirstWholeBand="true" uuid="83fee01a-820b-48b5-8c94-9176eeb9571d"> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> </reportElement> <jr:QRCode xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" evaluationTime="Report"> <jr:codeExpression><![CDATA[$P{prescription_number}]]></jr:codeExpression> </jr:QRCode> </componentElement> </band> </detail></jasperReport>[/code]Is there any way we can adjust the size of the image of the barcode and qrcode?? Thanks a lot
×
×
  • Create New...