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

The barcodes are missing the Function 1 Character (FNC 1)

Hi

I am using Crystal Report 2008 Ver 12.1.0.892

I need to generate a bar code for (02)10000093539071(37)55(17)130910(10)100913072Z for a retailer EDI accreditation testing.
I am using a font formula provided by Benjamin R. Johnson from IDAutomation.com, Inc.(see the top few lines of the formula below)

The requirement is as follows
format GS1-128, height 32mm, concatenated Bar Code AI02 (GTIN), AI37(Quantity), AI17 (used by date), A10(batch number)


But I am having issues. I am passing
DataToEncode = '(02)10000093539071(37)55(17)130910(10)100913072Z'

I have also tried to pass DataToEncode = '021000009353907137551713091010100913072Z'

I am using IDAutomationC128XXL size 15

The issue I am having is as follows
1. Function 1 character (FNC 1) is missing
2. The bar code is not scanning
3. The height of the bar code is also not compliant

Can you help and guide us on this issue or provide me with a solution to this issue?

Tony

NOTE: font formula provided by Benjamin R. Johnson (just the header sections)
'*********************************************************************
'* IDAutomation Barcode Font Formulas for Crystal Reports 4.01
'* Copyright, IDAutomation.com, Inc. 2000-2011. All rights reserved.
'*
'* You MUST use the fully functional Code 128 (dated 12/2000 or later)
'* font for this code to create and print a proper barcode
'*
'* To create UCC/EAN128 barcodes, use the appropriate
'* ASCII 0202 and AIs included as documented at:
'* https://www.barcodefaq.com/1d/gs1-128/
'*
'* You may incorporate our Source Code in your application
'* only if you own a valid License from IDAutomation.com, Inc.
'* for the associated font and the copyright notices are not
'* removed from the source code.
'*
'* Formula: Code128 - formats output to IDAutomationC128 fonts
'* Tutorial: https://www.idautomation.com/font-encoders/crystal-reports/
'*********************************************************************
'This method has been updated to support ReturnTypes 6 to 9,
'which increases its complexity. IDAutomation suggests using
'the prior version (https://www.idautomation.com/Assets/source-code/module1.txt)
'of this code when performing conversions or modifications.
'ReturnTypes are explained at https://www.barcodefaq.com/barcode-properties/definitions/return-type/

Dim DataToEncode As String
Dim ApplyTilde As Boolean
Dim ReturnType As Number

'Change the next line to connect to your data source; for example:
'DataToEncode = ({Table.Field})
DataToEncode = "(12)3456(4321)06"

Operating System: Windows

Application: Crystal reports 2008

07-03-13     11.2 year(s) ago    

  Report Abuse

 

Ben

Best Answer

Verify that ApplyTilde = True. It is similar to the forum post that explains how to generate SSCC18 barcodes (similar to GS1-128).

Fifteen points is an invalid size for Code 128. For a list of valid point sizes, view the Code 128 Specifications.

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