Earn Points & Redeem with attractive offers!
You can earn points, by asking, answering, voting questions and redeem with
attractive offers
. To view various available redemption schemes, please visit
"My Profile".
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
Ask
Ask a question. Make sure you select the correct category for the question.
Answer
Like to help others? Then browse through the open questions to answer their questions.
Find
Find answer by browsing the resolved questions.
     
Search for Questions:
My Profile

Ben

Resolved Questions Bookmark and Share

How to create a GS1-128 barcode?

What do I need to generate a GS1-128 barcode using Code 128 barcode fonts? Here is the example data:

image

(420)123456789(92)1239123456781234567




03-13-15     1005 day(s) ago     Views: 7498

    Report Abuse

 

Ben

Best Answer

The following is a list of everything needed to generate the GS1-128 which uses many specifications including EAN-128 for the USPS, SSCC18, SCC14.
==============================================

Products Required
• Barcode Fonts: Code 128 Font Package
• Barcode Font Encoder: An encoder is a tool such as a plug-in, add-in, or formula that formats the data before the barcode font is applied. View a list of downloadable font encoders for various applications such as Crystal, FileMaker, MS Office, and Visual Studio.



Set up
1. Download and Install the Code 128 Fonts
2. Download the font encoder for the application that will be used to create barcodes.
3. To install the font encoder, follow the tutorial for the specific font encoder.



Which Code 128 function in the Font Encoder to use?
Although IDAutomation has functions for Code 128 A, Code 128 B, and Code 128 C, use the IDAutomation function named Code 128. In most of our products, it is the function or formula that does not have the letter A, B, or C after it.
Example: IDAutomation_Code128() or Code128()



How to encode the FNC1, DATA, and MOD 10
Because the font encoder for the Code 128 function adds start/stop character, it will automatically add the start C which is commonly used for GS1-128. For this example, IDAutomation will use the .NET Assembly Font Encoder to illustrate how data can be properly formatted for GS1.


• STEP 1
When encoding GS1-128 barcodes, a feature named ApplyTilde must be enabled to encode the FNC1 and calculate the MOD10 check digit. Enable ApplyTilde using the .NET Assembly DLL by setting the third parameter to 1.
image
(For other font encoders, view the function list to determine how to enable the property/parameter. Some encoders require the parameter to be set to True or Yes.)


• STEP 2
Encode the FNC1 by inserting ~212 for two digit AIs, ~213 for three digit AIs, ...
image
(Most IDAutomation encoders accept parentheses around the AI such as (420). However, the tilde method can also be used.)


• STEP 3
Calculate the MOD10 check digit by inserting ~m and the amount of digits you need to calculate. The number 22 is based on the human readable value which is 22 digits
image


• STEP 4
Once the data is encoded, apply the IDAutomationC128M barcode font by changing the font within the font selection window from its current font name to the barcode font.


• STEP 5
Review GS1-128 height and width specification to ensure that the Code 128 barcode is correct. GS1-128 Font Specifications



Examples

• Crystal Reports Example using UFL
image


• MS Excel Example using VBA
image
image



Posted 1005 day(s) ago

()
()
  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://")
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:// ")
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 2017 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