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

aseinges

Resolved Questions Bookmark and Share

Issues to generate GS1-128 barcode

Hello,

I bought to IDAutomation the product "Native Barcode Generator for Crystal Reports" to generate barcodes in CR using the standard GS1-128 (EAN-128), but the barcode generated with "Native Barcode" contains additional bars that not permit the barcode was recognized by the billing application (please view attachment).

To generate the following GS1-128 barcode:

(415)7709998004405(8020)13560581(3900)0000023730(96)20131210

is used the following encodig:

Ê+ 415+ 7709998004405+ Ê+ 8020+ 13560581 + Ê+ 3900+ 0000023730 + Ê+ 96 + 20131210

I appreciate the help you can give me.

Thanks.

Edison



Operating System: Windows 7

Application: Crystal Reports 14

03-07-14     1321 day(s) ago     Views: 1809

    Report Abuse

 

James

Best Answer

What basis is being used to determine this barcode as not scannable?

Using a cross section of the image sent in, the barcode scanned perfectly with an image scanner:

image

Try generating an image using the test value of ~2148100712345~21342012345678. The issue has to do with length, not that there are minute lines that make up the bar width when drawn (which is how the Native product works to form the barcode).



Posted 1318 day(s) ago

()
()
  Report Abuse
 
   Find Interesting  
   Email to Others  
   Bookmark  
   Subscribe to Answer Alert  
No comments yet.     Be the first to comment.
Other Answers (8)

James
While IDAutomation does not provide GS1 validation services (validating the use of specific AIs to a specific industry's use), a previous post shows that GS1 data is properly encoded into the barcode:

By using the data provided, I have encoded a barcode that forms correctly and is scannable:

DataToEncode="~2134157709998004405~214802013560581~21439000000023730~2129620131210"

Barcode produced:
image

Decodes properly as:
]C14157709998004405<GS>€802013560581<GS>39000000023730€<GS>9620131210

The problem in this case is the data length. To decode the above barcode, an (undisclosable 3rd party) image scanner had to be used, since it was too wide to read for the physical scanners onhand.

Physical scanners have a maximum width for the laser/sensor input. Not all barcode scanners are the same; some lack the ability to scan all types and sizes of barcodes. Some scanners have a narrow reading width and cannot read long barcodes, while others cannot read small barcodes. Refer to your scanner manual for details.



Posted 1311 day(s) ago

()
()
   Report Abuse

aseinges
Hello James:

I do not doubt that the barcode is scanned perfectly, but my main interest is that the image of barcode is according to the standard GS1-128 because barcode must be read from applications of banks.

Could you confirm if the barcode image generated with IDAutomation (sent to email) is according to the standard GS1-128?

Thanks.



Posted 1314 day(s) ago

()
()
   Report Abuse

aseinges
Email sent to support@idautomation.com.

Thanks.



Posted 1318 day(s) ago

()
()
   Report Abuse

James
There were not any attachments to your posts. Please send the relevant files (with an explanation) to support@idautomation.com.



Posted 1319 day(s) ago

()
()
   Report Abuse

aseinges
Hello James:

The solution you give me (tilde method) does not work, also generates a wrong barcode. In the previous post I gave a visual example of the codes generated with the method.

(415)7709998004405(8020)13560581(3900)0000023730(96)20131210

DataToEncode="~2134157709998004405~214802013560581~21439000000023730~2129620131210 "

Thanks.



Posted 1320 day(s) ago

()
()
   Report Abuse

James
By using the data provided, I have encoded a barcode that forms correctly and is scannable:

DataToEncode="~2134157709998004405~214802013560581~21439000000023730~2129620131210"

Barcode produced:
image

Decodes properly as:
]C14157709998004405<GS>€802013560581<GS>39000000023730€<GS>9620131210

The problem in this case is the data length. To decode the above barcode, an (undisclosable 3rd party) image scanner had to be used, since it was too wide to read for the physical scanners onhand.

Physical scanners have a maximum width for the laser/sensor input. Not all barcode scanners are the same; some lack the ability to scan all types and sizes of barcodes. Some scanners have a narrow reading width and cannot read long barcodes, while others cannot read small barcodes. Refer to your scanner manual for details.



Posted 1320 day(s) ago

()
()
   Report Abuse

aseinges
Hello,

Already was changed the encoding for use tilde method, but it is generating a barcode equal to generated with the "Direct ASCII Method". The barcode generated with tilde method also contains additional bars that not permit the barcode to be recognized by the billing application (please view attachment generates with tilde method).

To generate the following GS1-128 barcode:

(415)7709998004405(8020)13560581(3900)0000023730(96)20131210

is used the following encodig with tilde method:

DataToEncode="~2134157709998004405~214802013560581~21439000000023730~2129620131210 "

Thanks.



Posted 1320 day(s) ago

()
()
   Report Abuse

James
The main cause of the unwanted results is that the Direct ASCII Method of encoding the GS1 data is not being properly used.

IDAutomation does not recommend this method outside of the United States and Europe, as this relies on the 1250 ISO Latin 1 character set. Instead, we highly recommend using the Tilde Method. To provide assistance, examples for both methods will be given.

In this example, we will hard-coding (static data) the following fictitious data (8100)712345(420)12345678:

Direct ASCII Method:
DataToEncode = "Ê8100712345Õ42012345678"

Resulting properly encoded GS1-128 barcode:
image

Which properly decodes as ]C1 for the FNC1 and <GS> for the FNC (a special "function" character that is used to tell the scanner when one Application Identifier ends and the other one starts):

]C18100712345<GS>42012345678


Tilde Method (with Apply Tilde enabled):
DataToEncode = "~2148100712345~21342012345678"

Resulting properly encoded GS1-128 barcode:
image

Which properly decodes as ]C1 for the FNC1 and <GS> for the FNC (a special "function" character that is used to tell the scanner when one Application Identifier ends and the other one starts):

]C18100712345<GS>42012345678



Posted 1321 day(s) ago

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