Copy link to clipboard
Copied
Can you help me ? We only want that the standard QR Code is printed bigger or double so big as it is printed now. It is printed very small.
In SAP tcode SFP (Lifecycle Designer) I can make the size bigger but it has no effect on the printout. In the print preview in SAP there is everything right. So I think it is an issue between the output from SAP and the Zebra printer.
The ADS supports ZPL the Zebra printer language.
Where can I change the size of the QR Code ? (In XML structure in lifecycle designer it has no effect, only for the print preview there is an effect.
I think it must be something in the device type and/or xdc file.
Here is the codeline for barcodes, how can I change the size (the whole file is attached) ?:
<barcodeDefinition type="codeQR" support="software" errorCorrectionLevel="HQML" textEncoding="Shift-JIS"/>
<barcodeDefinition type="QRCode" support="software" errorCorrectionLevel="HQML" textEncoding="Shift-JIS"/>
Here are others:
<barcodeDefinition type="pdf417" support="hardware" wideNarrowRatio="fixed" moduleWidth="0.191mm-1.251mm" moduleHeight="0.125mm-1250mm" errorCorrectionLevel="012345678" dataColumnCount="1-30" dataRowCount="1-90" truncate="1"/>
<!-- not supported by this device but are software supported -->
<barcodeDefinition type="postUSImb" support="software" checksum="auto" textLocation="none,below" validDataChars="0123456789" dataLength="20-31"/>
<barcodeDefinition type="code2Of5Matrix" support="software" wideNarrowRatio="2.2-3.0" moduleWidth="0.191mm-1.251mm" moduleHeight="5mm-1250mm" textLocation="none,above,below,aboveEmbedded,belowEmbedded" validDataChars="0123456789"/>
<barcodeDefinition type="postAUSStandard" support="software" textLocation="none,above" validDataChars="0123456789" dataLength="8"/>
Copy link to clipboard
Copied
I think the confusion is that you are asking how to control the barcode size with XML syntax only when in fact, you need both of the XML file and the Designer.XDC output file (installed correctly and coded with its proper syntax).
From what I've read, this basically implies that both files must be combined in that PDF document, or at least instruct the form where to get specific services available from before it is sent to the printer.
See this old LiveCycle reference that explains how to do that:
Not doing so will cause the Zebra network printer to process whatever is sent to it and employ its own manufacturer defaults, which might explain why you're not able to get the desired results.
Use this example for the proper XDC code syntax that is needed in the XDC file in order to manipulate the barcode label dimensions
Copy link to clipboard
Copied
Thank you.
Yes you were right the XDC file was the solution, now the QR Code gets bigger when I change the size in the xml source in lifecycle designer š
Here I found the exact coding, important is to even change the name in the file when the file name changes:
IĀ“ve got the solution. It depends on the right change of the xdc file:
https://answers.sap.com/questions/10280199/qr-codes-using-sap-adobe-forms.html
Open the 12 comments.
With this instruction now the QR Code and other Barcodes can be changed from "hardware" to "software" and take over the xml size š
So now every SAP Adobe Forms developer can control Barcodes size for Zebra printers š
ItĀ“s crazy that it must be so complicated, hope everyone who fights with this issue can find this post.
Thank you ls_rbls for your effort.
Have a nice week everybody, I will be happy the whole week now š
Copy link to clipboard
Copied
You may need to dig a little more using the Zebra Code reference:
Specifically this guide for PDF barcoding:
See " ZPL Commands ^B7" on page 78.
Additionally, sift through the troubleshooting support provided in the section "ZPL Command Details" of the first link that I posted.
It may be possible that a printer firmware is not supported for the specific bar code type that you're currently wrestling with, but this is just a guess in the blind.
Copy link to clipboard
Copied
Thank you.
How can I send print commands / print controls to the printer via lifecycle designer ?
Copy link to clipboard
Copied
You may use
xfa.host.print()
print command
But in your particular case you may want to use the references below to work around some constraints with the Zebra ZPL network printer:
Copy link to clipboard
Copied
Thank you.
I will try these things.
Additionally I Ā“ve found this in a sap forum:
https://answers.sap.com/questions/10280199/qr-codes-using-sap-adobe-forms.html
But not every size of the QR Code is supported. Is there no standard way to control the size of a QR code ?
Copy link to clipboard
Copied
I think the confusion is that you are asking how to control the barcode size with XML syntax only when in fact, you need both of the XML file and the Designer.XDC output file (installed correctly and coded with its proper syntax).
From what I've read, this basically implies that both files must be combined in that PDF document, or at least instruct the form where to get specific services available from before it is sent to the printer.
See this old LiveCycle reference that explains how to do that:
Not doing so will cause the Zebra network printer to process whatever is sent to it and employ its own manufacturer defaults, which might explain why you're not able to get the desired results.
Use this example for the proper XDC code syntax that is needed in the XDC file in order to manipulate the barcode label dimensions
Copy link to clipboard
Copied
Thank you.
Yes you were right the XDC file was the solution, now the QR Code gets bigger when I change the size in the xml source in lifecycle designer š
Here I found the exact coding, important is to even change the name in the file when the file name changes:
IĀ“ve got the solution. It depends on the right change of the xdc file:
https://answers.sap.com/questions/10280199/qr-codes-using-sap-adobe-forms.html
Open the 12 comments.
With this instruction now the QR Code and other Barcodes can be changed from "hardware" to "software" and take over the xml size š
So now every SAP Adobe Forms developer can control Barcodes size for Zebra printers š
ItĀ“s crazy that it must be so complicated, hope everyone who fights with this issue can find this post.
Thank you ls_rbls for your effort.
Have a nice week everybody, I will be happy the whole week now š
Copy link to clipboard
Copied
Awesome!
You're very welcome.