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

Code 128 Set C adds a leading zero to barcode with odd amount of data


I am using ActiveX control and Symbology 13 for Code 128. The encoding data is 911099960, where 91 stands for AI, and 1099960 is my store number. The DLL added a leading zero on the readable and scanned data so I am reading 0911099960, even though it should be 911099960.
Are there any parameters that can be changed to remove the leading zero?


04-30-12     12.4 year(s) ago    

  Report Abuse

 

Tim

Best Answer

Hello Waleed,

It sounds like the Code 128 set C is being used. Set C is a numeric-only subset and will add a zero to the beginning of the data if there is an odd set of numbers because it requires that an even set be used.

It is recommended to set the Code128CharSet property to zero for AUTO, to encode this kind of barcode. You will also want to make sure that the ApplyTilde property is set to 1 or true. This will encode the proper FNC1 bar pattern before the application identifier.

Refer to this page for a complete list of properties.
https://www.idautomation.com/barcode-components/activex/user-manual/#Adjusting

Posted 12.4 year(s) ago

(1)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (7)
That is great news, I am glad it is working for you.

Posted 12.4 year(s) ago

(0)
(0)
   Report Abuse
Hi Tim,
Downloading the demo version fixed the problem.
Thanks a lot for your help, I appreciate your efforts.


Regards,
Waleed

Posted 12.4 year(s) ago

(0)
(0)
   Report Abuse
I will try to download the demo version and check, but how can I upgrade my OCX which I already purchased before?

Regards,
Waleed

Posted 12.4 year(s) ago

(0)
(0)
   Report Abuse
I suggest trying our latest control. This has the ApplyTilde property and should fix the original issue.
Refer see this page to download the demo version.
https://www.idautomation.com/barcode-components/activex/download/

Posted 12.4 year(s) ago

(0)
(0)
   Report Abuse
Hi Tim,
I tried your solution but I could not find the ApplyTilde property in ActiveX. I use IDAutomation Linear Barcode 1.3.

So could you please advise me?

Regards,
Waleed

Posted 12.4 year(s) ago

(0)
(0)
   Report Abuse
Sounds good, let me know how this goes.

Posted 12.4 year(s) ago

(0)
(0)
   Report Abuse
Thank you Tim, I will try this solution.

Posted 12.4 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