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
Open Questions

Lot number length error - universal font encoder -GS128

When I use a 4-digit lot number field and IDAutomation_Uni_GS1_128 universal font encoder I get an error. If I use a 5-digit code that works fine.
this errors
(01)10896668002787(15)241105(3202)000450(10)5162
This works
(01)10896668002787(15)241105(3202)000450(10)15162

Operating System: Windows

Application: NAV2013 embedded

11-18-24     42 day(s) ago    

  Report Abuse
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Answers (5)
Please try the string of:
~2020110896668002787152411053202000450105162
with IDAutomation_Uni_C128 because the FNC1 is not necessary before each AI because the variable AI is last. If that does not work, try:
Ê0110896668002787152411053202000450105162

Posted 38 day(s) ago

(0)
(0)
   Report Abuse
Thanks, Brant that did not work but what did work was the ~202 before each AI so the text string sent to function C128 needs to be
~2020110896668002787~20215241105~2023202000450~202105162 with a variable = true. Found that in this guide on the IDAutomation site
https://www.idautomation.com/barcode-fonts/universal/user-manual/#Encoders

As well I also used the font 'IDAutomationGS 50' in case anyone has the same issue and asks - not sure if it matters.

Posted 38 day(s) ago

(0)
(0)
   Report Abuse
Please try the string of:
~2020110896668002787152411053202000450105162
with IDAutomation_Uni_C128 and not IDAutomation_Uni_GS1_128.
The ~202 encodes the FNC1.

Posted 40 day(s) ago

(0)
(0)
   Report Abuse
Hi Brant, the error is attached as an image, It is when encoding the Data, A developer of the report put in the code so not sure exactly how it works calling an external component but uses this code if that helps identify the font encoder
IDAutomationEncoder.IDAutomation_Uni_GS1_128(data)

Error is 'A call to IDAutomation.Linear.UniversalFontEncode.IDAutomation_Uni_GS1_128 failed with this message: Index and length must refer to a location within the string. Parameter name: length.

Will try that alternate string and see if that will scan.

Posted 41 day(s) ago

(0)
(0)
   Report Abuse
You mentioned you receive an error when you use a four-digit lot number for GS1-128. In order to troubleshoot the issue, we need to know exactly which font encoder you are using, what error you are receiving, and whether the error is from the font encoder or if it is from the application that is scanning the barcode. We also need to know the exact data string that is being encoded to produce the error.

If you are encoding exactly (01)10896668002787(15)241105(3202)000450(10)5162 we recommend this string instead:
~2020110896668002787152411053202000450105162
where ~202 encodes the FNC1. With this data, only 1 FNC1 is needed.

Posted 41 day(s) ago

(0)
(0)
   Report Abuse
Edit your comment. Click save when finished.
Question Title Lot number length error - universal font encoder -GS128
Your Answer or Comment
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript  list  list 
  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 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
Character Count ( Max. - 6000 ) : 269
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