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

Help required Encoding for Universal Font: Getting different results from different tools

All,

I am getting different results from encoding the data via two different tools.
e.g. If my data is 2LMY60000+48000001. PFB the results using different font encoders:

1. Online Font Encoder ( https://www.bcgen.com/fontencoder/universal.aspx )
Result : EBDFJACEIAIGIECFIBAIMEFFEFFAMIGBBAIMIIEEFFEFFFEFEIIGIAH

2. Native Windows DLL ( https://www.idautomation.com/font-encoders/windows-dll/ )
Result : EBJAMIFJACEIAIGIECFIBAIMEFFEFFAMIGBBFBIAIMABNEFFEFFAMIBJEEJBGIAH

Fortunately, I am able to scan the barcodes using both outputs. But, I would prefer to know how to get the output as suggested by the online font encoder. As the output is meeting my requirement (in height/width terms).

Please find below the details of the values I have passed to the IDAutomationNativeFontEncoder.dll:
long IDAutomation_Code128 (char *DataToEncode, long &ApplyTilde, char *ReturnVal, long &Size)
1. DataToEncode: 2LMY60000+48000001
2. ApplyTilde : 0
3. ReturnVal : (Empty String of length 1024)
4. Size : 0

Also, can anyone explain the ApplyTilde function to me?

Regards,
Abhineet

Operating System: Windows 7

10-08-12     11.9 year(s) ago    

  Report Abuse

 

Tim

Best Answer

Abhineet,

This is an error with the native font encoder which I am looking into today.
I will let you know as soon as it is fixed. It should not be much longer.

Posted 11.9 year(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 (6)
Hi Tim,

Can you provide the updated Windows Native DLL for testing?
I need to provide my POC as soon as possible.
Thanks for your help.

Regards,
Abhineet

Posted 11.9 year(s) ago

(0)
(0)
   Report Abuse
Hi Tim,

Thanks for your reply. Waiting for the resolved binary.

Regards,
Abhineet

Posted 11.9 year(s) ago

(0)
(0)
   Report Abuse
@Brant/Tim,

Thanks for your reply.
I am trying to integrate IDAutomation universal fonts into my application. Currently doing a POC on it.
The application is based on Delphi and cannot invoke a .Net DLL.
So, can you point out ways to use the algorithm incorporated in the .Net DLL?
I think that after purchasing the developer's license, I will have access to the source code for encoding. Can you please confirm this so that I can update my client and we can proceed to get the licensing info.

Regards,
Abhineet

Posted 11.9 year(s) ago

(0)
(0)
   Report Abuse
I believe the difference is because there are different ways to compact numbers into the barcode when using Code 128 Auto mode. The online font encoder uses the .NET Assembly DLL which has a more efficient algorithm.

Posted 11.9 year(s) ago

(0)
(0)
   Report Abuse
@Tim,

Any inputs?

Thanks and Regards,
Abhineet

Posted 11.9 year(s) ago

(0)
(0)
   Report Abuse
Abhineet,

I will run some tests on my end and see if I can recreate the error.
I will let you know ASAP.

Posted 11.9 year(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