• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

SAP Adobe Forms controlling QR Code size for Zebra ZPL printer, xdc file

Community Beginner ,
Oct 24, 2022 Oct 24, 2022

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"/>

TOPICS
Create PDFs , Edit and convert PDFs , General troubleshooting , How to , PDF forms , Print and prepress , Standards and accessibility

Views

7.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
2 ACCEPTED SOLUTIONS
Community Expert ,
Oct 26, 2022 Oct 26, 2022

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 

 




 

 

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 26, 2022 Oct 26, 2022

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

Matthias26767365j9mt_0-1666809478532.png

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 šŸ™‚

 

 

 

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 24, 2022 Oct 24, 2022

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.

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 25, 2022 Oct 25, 2022

Copy link to clipboard

Copied

Thank you.

How can I send print commands / print controls to the printer via lifecycle designer ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2022 Oct 25, 2022

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:

 

 

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 26, 2022 Oct 26, 2022

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 ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 26, 2022 Oct 26, 2022

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 

 




 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 26, 2022 Oct 26, 2022

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

Matthias26767365j9mt_0-1666809478532.png

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 šŸ™‚

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 26, 2022 Oct 26, 2022

Copy link to clipboard

Copied

LATEST

Awesome!

 

You're very welcome.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines