Help with generating QR code in pdf using Apache FO

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Help with generating QR code in pdf using Apache FO

Arun Sankar
Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Shi Jinghai-3
Hi Arun,

I guess perhaps you didn't replace barcode4j under framework/base/lib of OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try and see if this could make it work.

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 19:33
收件人: [hidden email]
主题: Help with generating QR code in pdf using Apache FO

Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Arun Sankar
Hi Shi,


Thanks for the quick reply.


I have replaced the barcode4j-fop-ext-complete-2.0.jar with the one mentioned below barcode4j-trunk-zxing3.3.1-jdk8.jar


and got the following:

[java] 2018-01-09 18:44:50,802 (http-bio-0.0.0.0-8085-exec-8) [LoggingEventListener.java:82 :ERROR] The intrinsic dimensions of an instream-foreign-object could not be determined. (See position 78:37)


Now it is not generating bar code or qr code with this. I see that the jar has jdk 1.8 in the name, it may be a compatibility issue. Would you be aware of 1.6 version.


Thanks,

Arun

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Tuesday, January 9, 2018 5:43:15 PM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

I guess perhaps you didn't replace barcode4j under framework/base/lib of OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try and see if this could make it work.

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 19:33
收件人: [hidden email]
主题: Help with generating QR code in pdf using Apache FO

Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Paul Foxworthy
Hi Arun,

I think you're close. Try adding content-height, content-width and scaling
elements to your <fo:instream-foreign-object> (
http://www.zeali.net/mirrors/w3cshool/xslfo/obj_instream-foreign-object.asp.html
).

Cheers

Paul Foxworthy


On 10 January 2018 at 00:22, Arun Sankar <[hidden email]> wrote:

> Hi Shi,
>
>
> Thanks for the quick reply.
>
>
> I have replaced the barcode4j-fop-ext-complete-2.0.jar with the one
> mentioned below barcode4j-trunk-zxing3.3.1-jdk8.jar
>
>
> and got the following:
>
> [java] 2018-01-09 18:44:50,802 (http-bio-0.0.0.0-8085-exec-8)
> [LoggingEventListener.java:82 :ERROR] The intrinsic dimensions of an
> instream-foreign-object could not be determined. (See position 78:37)
>
>
> Now it is not generating bar code or qr code with this. I see that the jar
> has jdk 1.8 in the name, it may be a compatibility issue. Would you be
> aware of 1.6 version.
>
>
> Thanks,
>
> Arun
>
> ________________________________
> From: Shi Jinghai <[hidden email]>
> Sent: Tuesday, January 9, 2018 5:43:15 PM
> To: [hidden email]
> Subject: Re: Help with generating QR code in pdf using Apache FO
>
> Hi Arun,
>
> I guess perhaps you didn't replace barcode4j under framework/base/lib of
> OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try
> and see if this could make it work.
>
> Kind Regards,
>
> Shi Jinghai
>
>
> -----邮件原件-----
> 发件人: Arun Sankar [mailto:[hidden email]]
> 发送时间: 2018年1月9日 19:33
> 收件人: [hidden email]
> 主题: Help with generating QR code in pdf using Apache FO
>
> Hi All,
>
>
> I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO.
> Have tried a few things like suggested here https://issues.apache.org/
> jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-
> jdk8.jar.
>
>
> and
>
> <fo:instream-foreign-object>
>           <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
> message="Welcome To Apache OFBiz">
>             <barcode:qr>
>               <barcode:module-width>1mm</barcode:module-width>
>               <barcode:encoding>UTF-8</barcode:encoding>
>               <barcode:ec-level>H</barcode:ec-level>
>               <quiet-zone enabled="true">5mm</quiet-zone>
>             </barcode:qr>
>           </barcode:barcode>
>         </fo:instream-foreign-object>
>
>
> However I get this error:
>
>  org.krysalis.barcode4j.BarcodeException: No barcode configuration
> element not found
>      at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(
> BarcodeUtil.java:110)
>      at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(
> BarcodeUtil.java:146)
>
> Any suggestions on what I might be missing here.
>
> Thanks,
> Arun
>



--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: [hidden email]
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Shi Jinghai-3
In reply to this post by Arun Sankar
Hi Arun,

After reading the emails carefully, I think I made several mistakes:
1. zxing 3.3.1 would work with JDK 6, version before 2.2 works. (search "java 7" in https://github.com/zxing/zxing/blob/master/CHANGES)
2. the jar barcode4j-trunk-zxing3.3.1-jdk8.jar works with net.sf.barcode4j:barcode4j-fop-ext:2.1 in OFBiz trunk to output qrcode in fop, it didn't cover the fop part of barcode4j-fop-ext-complete-2.1.jar.
3. if using zxing 1.7, I don't have to change any code in barcode4j trunk, just build it under JDK 6 would work.

So here it is, I built a new jar for you and uploaded it to OFBIZ-7034, hope it can work in your OFBiz:
https://issues.apache.org/jira/secure/attachment/12905389/barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 21:23
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Shi,


Thanks for the quick reply.


I have replaced the barcode4j-fop-ext-complete-2.0.jar with the one mentioned below barcode4j-trunk-zxing3.3.1-jdk8.jar


and got the following:

[java] 2018-01-09 18:44:50,802 (http-bio-0.0.0.0-8085-exec-8) [LoggingEventListener.java:82 :ERROR] The intrinsic dimensions of an instream-foreign-object could not be determined. (See position 78:37)


Now it is not generating bar code or qr code with this. I see that the jar has jdk 1.8 in the name, it may be a compatibility issue. Would you be aware of 1.6 version.


Thanks,

Arun

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Tuesday, January 9, 2018 5:43:15 PM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

I guess perhaps you didn't replace barcode4j under framework/base/lib of OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try and see if this could make it work.

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 19:33
收件人: [hidden email]
主题: Help with generating QR code in pdf using Apache FO

Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Shi Jinghai-3
In reply to this post by Arun Sankar
A typo: zxing 3.3.1 could NOT work with JDK 6

-----邮件原件-----
发件人: Shi Jinghai [mailto:[hidden email]]
发送时间: 2018年1月10日 11:58
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

After reading the emails carefully, I think I made several mistakes:
1. zxing 3.3.1 would work with JDK 6, version before 2.2 works. (search "java 7" in https://github.com/zxing/zxing/blob/master/CHANGES)
2. the jar barcode4j-trunk-zxing3.3.1-jdk8.jar works with net.sf.barcode4j:barcode4j-fop-ext:2.1 in OFBiz trunk to output qrcode in fop, it didn't cover the fop part of barcode4j-fop-ext-complete-2.1.jar.
3. if using zxing 1.7, I don't have to change any code in barcode4j trunk, just build it under JDK 6 would work.

So here it is, I built a new jar for you and uploaded it to OFBIZ-7034, hope it can work in your OFBiz:
https://issues.apache.org/jira/secure/attachment/12905389/barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 21:23
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Shi,


Thanks for the quick reply.


I have replaced the barcode4j-fop-ext-complete-2.0.jar with the one mentioned below barcode4j-trunk-zxing3.3.1-jdk8.jar


and got the following:

[java] 2018-01-09 18:44:50,802 (http-bio-0.0.0.0-8085-exec-8) [LoggingEventListener.java:82 :ERROR] The intrinsic dimensions of an instream-foreign-object could not be determined. (See position 78:37)


Now it is not generating bar code or qr code with this. I see that the jar has jdk 1.8 in the name, it may be a compatibility issue. Would you be aware of 1.6 version.


Thanks,

Arun

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Tuesday, January 9, 2018 5:43:15 PM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

I guess perhaps you didn't replace barcode4j under framework/base/lib of OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try and see if this could make it work.

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 19:33
收件人: [hidden email]
主题: Help with generating QR code in pdf using Apache FO

Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Arun Sankar
Thanks Shi for the help and effort.

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Wednesday, January 10, 2018 10:00:11 AM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

A typo: zxing 3.3.1 could NOT work with JDK 6

-----邮件原件-----
发件人: Shi Jinghai [mailto:[hidden email]]
发送时间: 2018年1月10日 11:58
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

After reading the emails carefully, I think I made several mistakes:
1. zxing 3.3.1 would work with JDK 6, version before 2.2 works. (search "java 7" in https://github.com/zxing/zxing/blob/master/CHANGES)
2. the jar barcode4j-trunk-zxing3.3.1-jdk8.jar works with net.sf.barcode4j:barcode4j-fop-ext:2.1 in OFBiz trunk to output qrcode in fop, it didn't cover the fop part of barcode4j-fop-ext-complete-2.1.jar.
3. if using zxing 1.7, I don't have to change any code in barcode4j trunk, just build it under JDK 6 would work.

So here it is, I built a new jar for you and uploaded it to OFBIZ-7034, hope it can work in your OFBiz:
https://issues.apache.org/jira/secure/attachment/12905389/barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 21:23
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Shi,


Thanks for the quick reply.


I have replaced the barcode4j-fop-ext-complete-2.0.jar with the one mentioned below barcode4j-trunk-zxing3.3.1-jdk8.jar


and got the following:

[java] 2018-01-09 18:44:50,802 (http-bio-0.0.0.0-8085-exec-8) [LoggingEventListener.java:82 :ERROR] The intrinsic dimensions of an instream-foreign-object could not be determined. (See position 78:37)


Now it is not generating bar code or qr code with this. I see that the jar has jdk 1.8 in the name, it may be a compatibility issue. Would you be aware of 1.6 version.


Thanks,

Arun

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Tuesday, January 9, 2018 5:43:15 PM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

I guess perhaps you didn't replace barcode4j under framework/base/lib of OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try and see if this could make it work.

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 19:33
收件人: [hidden email]
主题: Help with generating QR code in pdf using Apache FO

Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun
Reply | Threaded
Open this post in threaded view
|

Re: Help with generating QR code in pdf using Apache FO

Shi Jinghai-3
In reply to this post by Arun Sankar
You are welcome :)

-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月11日 16:05
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Thanks Shi for the help and effort.

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Wednesday, January 10, 2018 10:00:11 AM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

A typo: zxing 3.3.1 could NOT work with JDK 6

-----邮件原件-----
发件人: Shi Jinghai [mailto:[hidden email]]
发送时间: 2018年1月10日 11:58
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

After reading the emails carefully, I think I made several mistakes:
1. zxing 3.3.1 would work with JDK 6, version before 2.2 works. (search "java 7" in https://github.com/zxing/zxing/blob/master/CHANGES)
2. the jar barcode4j-trunk-zxing3.3.1-jdk8.jar works with net.sf.barcode4j:barcode4j-fop-ext:2.1 in OFBiz trunk to output qrcode in fop, it didn't cover the fop part of barcode4j-fop-ext-complete-2.1.jar.
3. if using zxing 1.7, I don't have to change any code in barcode4j trunk, just build it under JDK 6 would work.

So here it is, I built a new jar for you and uploaded it to OFBIZ-7034, hope it can work in your OFBiz:
https://issues.apache.org/jira/secure/attachment/12905389/barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 21:23
收件人: [hidden email]
主题: Re: Help with generating QR code in pdf using Apache FO

Hi Shi,


Thanks for the quick reply.


I have replaced the barcode4j-fop-ext-complete-2.0.jar with the one mentioned below barcode4j-trunk-zxing3.3.1-jdk8.jar


and got the following:

[java] 2018-01-09 18:44:50,802 (http-bio-0.0.0.0-8085-exec-8) [LoggingEventListener.java:82 :ERROR] The intrinsic dimensions of an instream-foreign-object could not be determined. (See position 78:37)


Now it is not generating bar code or qr code with this. I see that the jar has jdk 1.8 in the name, it may be a compatibility issue. Would you be aware of 1.6 version.


Thanks,

Arun

________________________________
From: Shi Jinghai <[hidden email]>
Sent: Tuesday, January 9, 2018 5:43:15 PM
To: [hidden email]
Subject: Re: Help with generating QR code in pdf using Apache FO

Hi Arun,

I guess perhaps you didn't replace barcode4j under framework/base/lib of OFBiz 10.04 with barcode4j-trunk-zxing3.3.1-jdk8.jar. If so, please try and see if this could make it work.

Kind Regards,

Shi Jinghai


-----邮件原件-----
发件人: Arun Sankar [mailto:[hidden email]]
发送时间: 2018年1月9日 19:33
收件人: [hidden email]
主题: Help with generating QR code in pdf using Apache FO

Hi All,


I am using Ofbiz 10 and want to generate QR code in a pdf using Apache FO. Have tried a few things like suggested here https://issues.apache.org/jira/browse/OFBIZ-7034 like adding the barcode4j-trunk-zxing3.3.1-jdk8.jar.


and

<fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="Welcome To Apache OFBiz">
            <barcode:qr>
              <barcode:module-width>1mm</barcode:module-width>
              <barcode:encoding>UTF-8</barcode:encoding>
              <barcode:ec-level>H</barcode:ec-level>
              <quiet-zone enabled="true">5mm</quiet-zone>
            </barcode:qr>
          </barcode:barcode>
        </fo:instream-foreign-object>


However I get this error:

 org.krysalis.barcode4j.BarcodeException: No barcode configuration element not found
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:110)
     at org.krysalis.barcode4j.BarcodeUtil.createBarcodeGenerator(BarcodeUtil.java:146)

Any suggestions on what I might be missing here.

Thanks,
Arun