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 manually switch character sets for Code 128?



07-10-13     11.3 year(s) ago    

  Report Abuse

 

Ben

Best Answer

IDAutomation recommends using the Code 128 Auto function as it generates the most efficient barcode. However, we are also aware that clients have use cases and specific encoding rules that they must follow.

Within our products, there is an option to switch character sets manually by encoding the Code A, B, or C characters.

SWITCH CHARACTERS

Code A is É (ASCII 201)
Code B is È (ASCII 200)
Code C is Ç (ASCII 199)


The example will explain how to switch between character sets using the Barcode Image Generator.

Run the Image Generator and set the Symbology to Code 128.
image

__________________________________________________________

SWITCH FROM CHARACTER SET A TO B
1. Set the Character Set to A

2. Enter the data in the Data To Encode area and include the Code B character: DATAÈ123A

The switch to B from A will occur right after the second A in DATA.

image

Result:
image

Scans as:
DATA123A

NOTE: Switching from B to A is a similar process. Start in Character Set B and use the Code A character.
__________________________________________________________

SWITCH C CHARACTER SET
Switching from A to C or B to C requires an additional step.

When the encoding starts in Set A or B and then switches to C using the Code C (Ç), the C data is entered using the starting Character Set's value. For example, if the data starts in Set A, switches to C, and the data that comes after the switch is 03, then based on the chart, the character to encode is a # symbol.

The example explains how to start in Set A and switch to C using the data ABCD1502.

1. Set the Character Set to A

2. Enter the data for Set A in the Data To Encode area ABCD.

3. Enter the Code C character Ç in the Data To Encode area.

4. Separate 1502 into pairs to make 15, 02. Code 128 C data must be separated into pairs.

5. Use the Code 128 Character Set Chart and pull the Char values for 15 and 02.
image

Based on the chart:
15 is /
02 is "


6. Enter the Char values for set C: /"

The complete value is:
ABCDÇ/"

image

Result:
image

Scans as:
ABCD1502


NOTE: Encoding the data as is for set C will produce an incorrect scan. Encoding as ABCDÇ1502 will produce a barcode that scans as ABCD17211618 where
17, 21, 16, and 18 are the Values for 1, 5, 0, and 2.

Posted 11.3 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.

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