Displaying barcode in SSRS report

2019-02-26 13:20发布

问题:

I am trying to display the barcode in the SSRS report.

I have created a field in the report for barcode in the visual studio and changed the font type to BC C39 3 to 1 Wide format. The corresponding text that I have used to display is "hellobarcode".

Whenever I generate the report, it is not displaying the barcode but the text only. Can anyone help please?

回答1:

I figured out the problem. When a particular field in the report is an hyperlink to other report (for drilldown purpose), it will get the default font format so that it won't display barcode font. I removed the hyperlink from the field and it showed the barcode.



回答2:

Check to see if the font is installed on the SSRS server.



回答3:

Go look how others have done it: \SSRS Reports\Reports\WMSLocationLabel

Your barcode font should be installed wherever the font is used, and usually is by the AX installer.

Some barcodes are only for numeric data, in others alphanumeric is okay. Also most fonts requires the field to be preprocessed (fx. a star in front and end). The Barcode class takes care of that.