Hi, i trying to use limereport with a printer label, doing tests, I adjust the page size in Designer, in preview the size is Ok too, but when I send to print, the size is very small, maybe at 50%, but if a send to save to PDF and then print from PDF software, the size are ok.
This is a fragment of my lrxml file:
<pageItem ClassName="PageItem" Type="Object">
<objectName Type="QString">ReportPage1</objectName>
<geometry width="620" x="0" y="0" Type="QRect" height="127"/>
<children Type="Collection">
<item ClassName="ReportHeader" Type="Object">
<objectName Type="QString">ReportHeader1</objectName>
<geometry width="620" x="0" y="0" Type="QRect" height="128"/>
<children Type="Collection">
<item ClassName="BarcodeItem" Type="Object">
<objectName Type="QString">BarcodeItem1</objectName>
<geometry width="286" x="290" y="0" Type="QRect" height="122"/>
<children Type="Collection"/>
<zOrder Value="0" Type="qreal"/>
<borders Value="0" Type="enumAndFlags"/>
<parentName Type="QString">ReportHeader1</parentName>
<borderLineSize Value="0" Type="int"/>
<isVisible Value="1" Type="bool"/>
<borderColor Value="#000000" Type="QColor"/>
<itemLocation Value="0" Type="enumAndFlags"/>
<stretchToMaxHeight Value="1" Type="bool"/>
<itemAlign Value="4" Type="enumAndFlags"/>
<content Type="QString">$V{barcode}</content>
<barcodeType Value="20" Type="enumAndFlags"/>
<testValue Type="QString">$V{barcode}</testValue>
<foregroundColor Value="#000000" Type="QColor"/>
<backgroundColor Value="#ffffff" Type="QColor"/>
<whitespace Value="2" Type="int"/>
<angle Value="0" Type="enumAndFlags"/>
<barcodeWidth Value="0" Type="int"/>
<securityLevel Value="2" Type="int"/>
<pdf417CodeWords Value="928" Type="int"/>
<inputMode Value="1" Type="enumAndFlags"/>
<hideText Value="1" Type="bool"/>
</item>
I need to send any parameter before print for adjust the page size??
Thanks!!
Best regards.