New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

2D Data Matrix Font is not working in Oracle BI Publisher

We purchased IDAUTOMATION DataMatrix Font Encoder Package last week. We have followed the steps as given in the Developer tools of the given package to implement the Java Encoder and also in the https://support.idautomation.com/Java-Barcode-Font-Encoder-Class/How-to-create-Data-Matrix-in-BI-Publisher/_3392 link. We are not properly getting the data matrix in the Oracle BI publisher report. I have attached the BarcodeUtil.java file and output for reference. Kindly do the needful.


Application: Oracle R12.2.6
Attachments:

05-10-24     225 day(s) ago    

  Report Abuse

 

Jacque

Best Answer

Hello Vinothy,

In looking at the screenshot received in the email it appears like you have 'path' but not 'CLASSPATH' set up in the 'System Variables'. Review the CLASSPATH set up.

I see the User Variables has the CLASSPATH, but it needs to be in 'System Variables'. You may want to review this video here IDAutomation Java 2D QR Code Generator is for QR Codes, but the setup of the CLASSPATH is essentially the same.

Posted 220 day(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (5)
Hello Vinothy,

Unfortunately, there was no screenshot attached. Based on the provided information, and the output.png it appears the data is not being encoded properly before having the IDAutomation2D font applied to it.

Are you able to get the example application working now?

Posted 220 day(s) ago

(0)
(0)
   Report Abuse
1) I have set the classpath as requested and attached the screenshot.
2) I have added the barcodeUtil.java file in a separate mail chain since I cannot add the file here.
3) Font setting has been added.
<!-- Font setting -->
<fonts>
<!--IDAutomation 2D QR Code Font-->
<font family="IDAutomation2D" style="normal">
<truetype path="C:windowsfontsIDAutomation2D.ttf"/>
</font>
<!-- Windows Wingdings font -->
<font family="Wingdings" style="normal" weight="normal">
<truetype path="C:WINNTfontswingding.ttf" />
</font>

4) I have entered the text and changed the font to idautomation2d, But still it is not working out.

Posted 220 day(s) ago

(0)
(0)
   Report Abuse
Hello Vinothy,

Unfortunately, I'm not able to open the BarcodeUtil.java file that you attached. Screenshots are very helpful in the troubleshooting process for barcode generation, so we appreciate your cooperation in providing them.

1. If the stand-alone application is not able to run, that would suggest that the jar file is not included in the Classpath. What are the environment variables set to? On a Windows computer, you can use the search feature at the taskbar search for 'Environment Variables', and find the settings. Alternatively, you could type into the command line the command: 'echo $env:CLASSPATH' and it will return the classpath as well. Please share the results. Learn more about setting the Classpath for the Java Encoder .
2. Unable to view.
3. It does not look like there is a path set up to the fonts in the config file.
4. Is the text being encoded? You see in step 20 that it is all uppercase letters, then the font is applied and it becomes the barcode. Are you able to see the encoded text? You may have to change the font to confirm.

Posted 220 day(s) ago

(0)
(0)
   Report Abuse
Hi Team,

1) Your barcode java encoder does not work in the stand-alone application as well. as it is mentioned in ttps://support.idautomation.com/Java-Barcode-Font-Encoder-Class/How-to-create-Data-Matrix-in-BI-Publisher/_3392 link.
2) I have attached the barcodeUtil.class file.
3) I have placed the font settings down here --->
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<!-- Properties -->
<properties>
<!-- System level properties -->

<!-- PLEASE SELECT A VALID TEMPFILE DIRECTORY!!! -->
<property name="system-temp-dir">c:/Temp</property>

<!-- PDF compression -->
<property name="pdf-compression">true</property>

<!-- PDF security -->
<property name="pdf-security">false</property>
<property name="pdf-open-password">user</property>
<property name="pdf-permissions-password">owner</property>
<property name="pdf-no-printing">true</property>
<property name="pdf-no-changing-the-document">true</property>
</properties>


<!-- Font setting -->
<fonts>
<!--IDAutomation 2D QR Code Font-->
<font family="IDAutomation2D" style="normal">
<truetype path="C:windowsfontsIDAutomation2D.ttf"/>
</font>
<!-- Windows Wingdings font -->
<font family="Wingdings" style="normal" weight="normal">
<truetype path="C:WINNTfontswingding.ttf" />
</font>


5) We have followed steps 20 and 21 and still it showing in Dot format.

Please support us in priority it is affecting our business and we would like to have a call with you and explain in detail. Kindly support us with your meeting invite.

Posted 220 day(s) ago

(0)
(0)
   Report Abuse
Hello Vinothy,

Thank you for reaching out, sorry to hear you're experiencing an issue generating the Data Matrix barcode in BI Publisher. Unfortunately, we are unable to view the Java file you attached but we can see the output photo. It appears that the font is indeed trying to apply to the text, so to help narrow it down please answer the below questions:

1. Does the Java barcode encoder perform in a stand-alone application? An example is included in the product.
2. What does the code of the util class look like? Please screenshot step 7 of How to create Data Matrix in BI Publisher.
3. What is the classpath of your application?
4. What do the font settings in the config file look like?

5. Additional testing: access the file in Word, how does the encoded text appear before the font is applied? See step 20. to step 21.

Posted 225 day(s) ago

(0)
(0)
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook