Barcode Issue in exporting to PDF in SSRS 2008 R2
Hi Sushma, Thanks for your post. Firstly, I would suggest you to verify whether the barcode font was embedded in the relevant PDF file, the fonts that are embedded in the PDF file are included in the Fonts property that is saved with the file, as metadata, you can open the file in Adobe Acrobat and from the File menu, view Properties, and switch to Fonts tab to verify whether the barcode font was listed there. If you can’t the barcode font in the Fonts tab, please continue to follow the second step. Secondly, please verify whether your barcode font type meet the conditions below: · Font embedding privileges are granted by the font author. Installed fonts include a property that indicates whether the font author intends to allow embedding a font in a document. If the property value is EMBED_NOEMBEDDING, the font is not embedded in the PDF file. For more information, see "TTGetEmbeddingType" on msdn.microsoft.com. · The Font is TrueType. · Fonts are referenced by visible items in a report. If a font is referenced by an item that has the Hidden property set to True, the font is not needed to display rendered data and will not be included in the file. Fonts are embedded only when they are needed to display the rendered report data. If all of these conditions are met for a font, the font is embedded in the PDF file. If one or more of these conditions is not met, the font is not embedded in the PDF file. Note: Although the conditions are met, there is one circumstance under which fonts are not embedded in the PDF file. If the fonts used are the ones in the PDF specification that are commonly known as standard type 1 fonts or the base fourteen fonts, then fonts are not embedded for ANSI content. Thirdly, if you font type doesn’t meet both the above the speciation, please verify whether the barcode font was installed on both the report server and client side correctly. You need to open the font (through the font control panel, so you can see the font preview) and then close the preview and reboot the server. Apparently this is sometimes needed to 'convince' the system to use the font. Thanks, Bill Lu Please remember to mark the replies as answers if they help and unmark them if they provide no help.
October 26th, 2011 4:22am

PROBLEM DEFINITION: The SSRS report is using TrueType font – 39251 for displaying the barcode. The report when rendered in BIDS environment for MHTML, EXCEL, PDF, WORD, the report is displaying the barcode and as such no issues. When the report is published to Reporting Services, there is issue with PDF rendering only. The PDF report output is not displaying the barcode, instead displaying numbers. Whereas for MHTML, EXCEL, WORD rendering the report is displaying the barcode. For the above issue, I have done lot of research and tried most of the workarounds (below mentioned) which did not work. 1. Changed the design of the SSRS to include barcode in the image instead of textbox. 2. Used Custom coding for barcode. 3. Ensured that the barcodes are installed in this location C:\WINDOWS\Fonts on the server and the server is restarted. 4. Ensured that the barcodes are installed in this location C:\WINDOWS\Fonts on the client machine and it is restarted. 5. On Report Server machine, Installed barcode font – 39251 in this location C:\Program Files\Adobe\Reader 9.0\Resource\Font. If anyone come up with the solution, please keep me informed. Thanks Sushma Sushma
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2011 10:03am

Hi, Did you restart the report server? Wmel
November 19th, 2011 2:26pm

Hi Sushma, Thanks for your post. Firstly, I would suggest you to verify whether the barcode font was embedded in the relevant PDF file, the fonts that are embedded in the PDF file are included in the Fonts property that is saved with the file, as metadata, you can open the file in Adobe Acrobat and from the File menu, view Properties, and switch to Fonts tab to verify whether the barcode font was listed there. If you can’t the barcode font in the Fonts tab, please continue to follow the second step. Secondly, please verify whether your barcode font type meet the conditions below: · Font embedding privileges are granted by the font author. Installed fonts include a property that indicates whether the font author intends to allow embedding a font in a document. If the property value is EMBED_NOEMBEDDING, the font is not embedded in the PDF file. For more information, see "TTGetEmbeddingType" on msdn.microsoft.com. · The Font is TrueType. · Fonts are referenced by visible items in a report. If a font is referenced by an item that has the Hidden property set to True, the font is not needed to display rendered data and will not be included in the file. Fonts are embedded only when they are needed to display the rendered report data. If all of these conditions are met for a font, the font is embedded in the PDF file. If one or more of these conditions is not met, the font is not embedded in the PDF file. Note: Although the conditions are met, there is one circumstance under which fonts are not embedded in the PDF file. If the fonts used are the ones in the PDF specification that are commonly known as standard type 1 fonts or the base fourteen fonts, then fonts are not embedded for ANSI content. Thirdly, if you font type doesn’t meet both the above the speciation, please verify whether the barcode font was installed on both the report server and client side correctly. You need to open the font (through the font control panel, so you can see the font preview) and then close the preview and reboot the server. Apparently this is sometimes needed to 'convince' the system to use the font. Thanks, Bill Lu Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2011 10:17pm

is it possible to use a barcode generator instead of barcode font. I just followed the following barcode generation guides to install one.http://www.onbarcode.com/tutorial/net-barcode-generation-reporting-service-2008.html,http://www.keepdynamic.com/barcoding/csharp-barcode-generator.shtml
November 20th, 2011 7:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics