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

How to recognize symbology and character set in a barcode


Hi,

I would like to know if it is possible to recognize which symbology the barcode is and which character set it uses having the barcode already created (printed/scanned/etc.). In my specific scenario, I have a label that was generated by software and I know it uses Code 128 symbology, but I am not 100% sure what character set was used.

Is it possible to determine such information (symbology and character set) using any of your products? May it be achieved using some programming SDKs or standalone (GUI/Web) products etc?

Thank you.
Marcin

Operating System: Windows 7

09-11-13     10.5 year(s) ago    

  Report Abuse

 

Ben

Best Answer

The best way to recognize the symbology or character set is to look at the first few bars and the last few bars of a barcode, also called the start/stop characters/codes.

How to Identify a Barcode Type?

How to Identify Code 128 Character Sets by looking at the start character bars?

Posted 10.5 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 (5)
I think I understand that. The answer I am looking for is to know if there is your software/utility/library or external software/utility/library which can analyze already printed barcode and indicate that the barcode was printed using Code 128 Auto symbology, which for this particular barcode was constructed using e.b. character set B and C. Is this possible?

Posted 10.4 year(s) ago

(0)
(0)
   Report Abuse
Krupek,

There are so many variables regarding Code 128 (Code 128 Auto), you would actually want to read the symbology specification. Auto uses start A, start B, or start C, depending on the data.

Posted 10.4 year(s) ago

(0)
(0)
   Report Abuse
Thank you, Ben. I reviewed the VBA code but I have problems with making any use of it. Are you able to give me some short tips on how to use it to recognize symbology and characters set having the barcode already printed/generated?

Posted 10.4 year(s) ago

(0)
(0)
   Report Abuse
Code 128 Auto is a combination of A, B, and C. If you have the specs for Code 128, you may want to look at it. However, it is a bit complex to state every single scenario that causes a change in the character set. Therefore, you may take a look at our VBA code that displays the encoding.

Posted 10.5 year(s) ago

(0)
(0)
   Report Abuse
Thank you Ben for your answer. The information you provided is very helpful.

There is only one topic missing - how Code 128 Auto is structured/constructed.

I know that in my specific scenario, the application generates a barcode in Code 128 Auto symbology. The value which is encoded is e.g. CF-13-123, CF-13-1234, etc. The answer I would like to get is how such values are going to be encoded. Based on the documentation:
- Code 128 A uses control characters, numbers, punctuation, and upper case.
- Code 128 B uses punctuation, numbers, upper case, and lower case.
- Code 128 C uses only numbers.
I presume it may be a combination of Code 128 A and Code 128 C, but my testing revealed, see https://support.idautomation.com/datastore/photos/photo_52316c4200af7.jpg that it is rather only Code 128 B (for CF-13-123 value) or some combination of Code 128 B and.... something (for CF-13-1234 value). I don't know how to analyze it, how to be 100% sure.

Do you or somebody else know how to figure it out?

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