Client Side Barcode Testing

We had a customer issue a few weeks back ... 'really Tim, I never would have guessed' :0) Yeah, we get some issues sometimes. This was a JD Edwards customer that had developed an encoding class for a barcode. Lost? Check out the Advanced Barcode Support article. Basically, some barcodes need the data encoded, calculating stop bits and such like, prior to applying the barcode font. To support this, we allow you to create a java class that implements a Publisher interface to encode the data values. This can then be called from the RTF template layer using commands - check the user guide people!


The encoding class needs to be in the classpath on the server be it JDE, EBS or standalone - this is straightforward enough but how about being able to test on the Template Builder for Word interface?


It can be done, no support directly in the tool but with a little jiggery pokery we can get the class tested. The list of jar files that the builder will load at runtime is limited but the main one we can highjack is the xdocore.jar. You'll find it under the jlib directory under the Template Builder install directory.


BarcodeTest1:


You can open the jar file using something like WinZip, with it you can see the structure of the contents,


BarcodeTest2:


The class you developed will no doubt have a package declaration in it e.g. oracle.apps.xx.xmlp.barcode - this needs to map to the path in the jar file. To get it into the jar in the right place just get the class into the directory path on your local drive.


BarcodeTest3:


Then, in the case of Winzip, open the jar, then drag and drop the class and ensure the 'Use Full Path Info' option is set to get the class into the correct path that will map to your package specification.


BarcodeTest4:


Now, you can test to your hearts content in the comfort and relative speed of MSWord.


 

Comments:

Hi, I can't understand how to add your site in my rss reader. Can you help me please?

Posted by Big Ass on July 27, 2010 at 05:55 PM MDT #

Hi Tim, I am having issues where the barcode font that comes packaged with BI publisher (128R00.ttf) does not render any special characters that are the output of the 128 b encoding process supplied by the BI documentation. My start, check and stop characters are never rendered as a barcode, they always show just as characters, eg. if Ì4662ÈÎ is the output of encoding process then everything EXCEPT the special characters is rendered as barcode. any ideas?

Posted by Simon D on September 01, 2010 at 11:52 AM MDT #

Could not see the images, is it testing for barcode in ASP.NET?

Posted by guest on November 26, 2012 at 09:13 PM MST #

Hi David
Can you explain more about the ASP.NET barcodes and your requirements?
Tim

Posted by guest on November 29, 2012 at 11:09 AM MST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Follow bipublisher on Twitter Find Us on Facebook BI Publisher Youtube ChannelDiscussion Forum

Join our BI Publisher community to get the most and keep updated with the latest news, How-to, Solutions! Share your feedback and let us hear your voice @bipublisher on Twitter, on our official Facebook page, and Youtube!

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today