Data Matrix Barcodes with SQL Server Reporting Services SSRS
How to create barcodes in SSRS using BarCodeWiz DataMatrix Fonts
- This tutorial shows how you can add DataMatrix 2D barcodes to SQL Server Reporting Services.
Before You Begin
- Ensure BarCodeWizFonts.DataMatrix.dll as well as the font files are installed on the server.
- See BarCodeWiz Fonts in SSRS - Installation
Step 1. Insert a Text Box
- Insert a text box into the report by dragging one of the columns from your DataSet.
- In this example, the text box is placed inside a Table
Step 2. Edit Text Box Properties
- Right-Click > Expression...
- Edit the expression as shown
- Let's preview the report. It should look like this:
Step 3. Set Font Properties
- Set Font Name to: BCW_DM
NOTE: For smaller barcodes, you can set the point size as low as 2pt
- The report is now ready.