The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi All,
The barcode is displayed when printing the report to the screen. But when the report is exported to pdf, it displays only plain text which starts and ends with an asterisk symbol instead of the barcode.
Is there any solution to the above problem? If no solution, is there any workaround?
e.g.,*P-2109002*
Solved! Go to Solution.
@Anonymous wrote:
The reports are hosted using the Power BI service.
I suggested installing the fonts on the Report Server since this forum is focused on the on-prem Power BI Report Server product. If your reports are hosted on the cloud service then you will not have access to the server where the reports are rendered. Custom Fonts are listed here as be not currently supported https://docs.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-faq#what-paginated-report-features-in-ssrs-aren-t-yet-supported-in-power-bi-
So you will need to investigate an alternative approach like embedding the barcode as images in your database / data model or something like that.
Hi,
The reports are hosted using the Power BI service. We are using barcode font '3 of 9 Barcode Regular'. The font is installed on the workstation as well as on the server. The report displays correctly but when exported to pdf, it is just plain text.
@Anonymous wrote:
The reports are hosted using the Power BI service.
I suggested installing the fonts on the Report Server since this forum is focused on the on-prem Power BI Report Server product. If your reports are hosted on the cloud service then you will not have access to the server where the reports are rendered. Custom Fonts are listed here as be not currently supported https://docs.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-faq#what-paginated-report-features-in-ssrs-aren-t-yet-supported-in-power-bi-
So you will need to investigate an alternative approach like embedding the barcode as images in your database / data model or something like that.
How are you rendering the barcodes? Are you using a barcode font? If so this probably means that the font is installed on your workstation, but not on the server. So it works when the report server sends the HTML version of the report since that can pick up the local font from your machine. One possible fix would be to install the font to the server so that it is available there when the server generates the PDF