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

How to Create DataMatrix in Crystal Reports using Bar. Fonts

I have purchased the Data Matrix Font Package and need to generate barcodes in Crystal Reports.

Operating System: Windows 10

Application: Crystal Reports

08-07-15     9.1 year(s) ago    

  Report Abuse

 

Ben

Best Answer

This example explains how to create a Data Matrix barcode using the IDAutomation Font Formula and Barcode Fonts

NOTE: The font formula is only included in the licensed version of the product


1. Purchase the Data Matrix Font Package.

2.Download and Install the Data Matrix Font Package

3. Navigate to the Integration folder of the Data Matrix Font Package. Some versions include the Integration folder under another folder. Within the unzipped Font Package, run a search for .rpt to locate the example. (updated 2/3/2021).
image


4. Open the Crystal Reports Formulas.rpt or Crystal Reports GS1 Formula.rpt file.

5. The report includes the Native Font Formulas object on the left (and in some versions of the product, the UFL object
on the right).
image

6. Right-click the Native Code Object and select Copy.
image

7. Open your own Crystal Reports project, right-click, and choose paste.
image

8. Right-click the barcode object, and select Formula Editor.
image

9. Edit the DataToEncode to the data or field to turn into the barcode.
image

10. Select Save and Close.

11. Apply the IDAutomationDMatrix or IDAutomation2D font from the font list.
image

12. Preview the report.
image


EXAMPLES
=========================================================================
UID Marking Label Example:

NOTE: When generating UID symbols, IDAutomation recommends testing the result with the Barcode Decoder App because it reveals the RS, GS, and EOT functions to verify proper encoding.

[)><RS>05<GS>800406141419999960MH80312<GS>21MH80312<GS>950614141<GS>24099999<RS><EOT>

To encode the RS (Record Separator), use ~d030
To encode the GS (Group Separator), use ~d029
To encode the EOT (End of Transmission), use ~d004

Example with String
DataToEncode = "[)>~d03005~d029800406141419999960MH80312~d02921MH80312~d029950614141~d02924099999
~d030~d004"


Example with Data Fields
NOTE: The fields within the brackets are for example purposes only. Your fields may have different names.
This is only designed to show the user how to format between string literals and data fields within the DataToEncode variable.


DataToEncode = "[)>~d030" & {FormatField} & "~d029" & {UIIField} & "~d029" & {SerialNumberField} & "~d029" & {SPLRField} & "~d029" & {PartNumber} & "~d030~d004"

=========================================================================

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