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

Inconsistent QR Code Rendering in Sage 100 Crystal Report


We are using the QR Code Font and Encoder, specifically the Crystal Reports Font Formula generator in Crystal Reports, with the included 2D font and below is the code that fills the data variable. In 95% of the cases, it works just fine. We are now having an odd occurrence where specific values in the Salesorderno field are causing the QR not to render correctly. To prove that we copied the Failed SO into a new SO with a simpler SO# and it worked:

X938322 failed
SDLT11 worked

We originally thought this meant that the overall string was too long. We proved this to not be the case by shortening another segment in the string. We tried increasing the font size, no dice.
DataToEncode = {SO_SalesOrderDetail.SalesOrderNo} & "|" & {SO_SalesOrderDetail.ItemCode} & "|" & strDims & "|" & strTag & "|" & totext({SO_SalesOrderHeader.ShipExpireDate},"MM/dd/yyyy")


Application: Sage 100 / Crystal Reports

02-19-26     103 day(s) ago    

  Report Abuse

 

debrac

Best Answer

The observations I have:
1) It's possible that the space provided for the barcodes that have one additional character is not large enough, as QR Codes get larger when additional data is entered.

2) What is the point size of the IDAutomation 2D font? Make sure it is large enough for the scanner to read it. I've used 12 points in my barcode example, and the valid point sizes are listed here: 2D Universal Font Specifications.

3) Make sure that you have enough white space around the barcode and are using a valid point size for the 2D font to start with. To meet official ISO specifications, a QR code requires a "quiet zone" of blank space on all four sides measuring at least 4 times the width of a single data module (the smallest black or white square inside the code itself).

I also am unable to scan the examples that aren't working for you. I see that you are using our Barcode Font Encoder Formulas for Crystal Reports, and when I use your exact data from the top example, it is working correctly for us, so I cannot reproduce the issue.

"SDLT9SD|SFST603015-RW|60X30X15|SEL|02/19/2026"
Encoded data:
image

Resulting barcode:
image

Posted 102 day(s) ago

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

SteveLimer11
Regarding what happened, the ones that failed would not scan at all. Thoe ones that worked were complete.

image image image

Posted 102 day(s) ago

(0)
(0)
   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://" 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 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTubeJoin us on LinkedIn Follow us on X