Displaying barcode in SSRS report

2019-02-26 12:58发布

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?

3条回答
来,给爷笑一个
2楼-- · 2019-02-26 13:33

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.

查看更多
冷血范
3楼-- · 2019-02-26 13:36

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

查看更多
该账号已被封号
4楼-- · 2019-02-26 13:53

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.

查看更多
登录 后发表回答