January 25, 2018

    MICROSOFT DYNAMICS AX: My PDF Is Unreadable 

    For several years, users have reported that they are unable to read PDF documents, such as order confirmations, invoices or purchase orders that are attached to emails.  The text comes across as “garbled” or unreadable characters as shown below:

    Bru PDF 1.png

     

    As most of us have experienced, this unreadable PDF version is not present to all users, and in some cases one person sees the unreadable text and another person sees it just fine…how can this be?  This occurs because the PDF Viewer being used to view the PDF document does not recognize the font set in the document. Recently, we have seen an increase in the number of reported issues following Windows and Adobe security updates.

    There can be several reasons why PDF documents are not rendering correctly, including: security changes made by software vendors, users operating system, web browsers do not have the proper plug-ins installed or the PDF reader software is not up to date or is improperly installed. 

    We found that users that have encountered this issue have been able to resolve the issue by 1) confirming the PDF reader software is up-to-date, or 2) opening the PDF in a different browser.  In instances where these two options did not work, other options are available but require coding to change the font. 

    Below are some options to consider for resolving the unreadable PDF issue:

    Embedded Fonts
    • Embedding fonts into documents can increase the size of the document by ~1MB for each attachment.  This may not be an issue for single attachment but for multiple attachments, this can cause issues based on mailbox size limitations
    • May require additional storage requirements and maintenance concerns as a result
    • Some browsers may misinterpret embedded fonts: https://msdn.microsoft.com/en-us/library/ms533034(v=vs.85).aspx
    • You have the option to save individual PDFs with embedded fonts.   You can save the document to your local workstation, then forward the document to your customer
    • If you have questions how to do this, please contact us

     

    Substitute the Font
    • You can select an alternative font to be displayed. We found that in most cases, setting the default font for the report to Helvetica works. Helvetica may not be the best option in all cases, so please review your options and test before deploying.

     Bru PDF 2.png

    • In the PDFViewer class, it may be required to make a minor change. Without the fix, it always calls font.deleteFont() and this fails when using a predefined font such as Helvetica.

    Bru PDF 3.png

     

     

    Meet the Authors

     

    Scott Brubaker

    Scott_Brubaker

    A seasoned executive, Scott has held leadership positions with Dynegy, Sun Microsystems, HSBC and Essendant.  He has spent the last 10 years in the Distribution industry leading Managed Services, Project Management and Consulting divisions and has been instrumental in the implementation of dozens of enterprise ERP solutions across several vertical markets.Follow ENAVATE on Twitter (@ENAVATE) or LinkedIn.

     

     Greg Gustad

    Gustad Headshot.jpgGreg is a Senior AX Consultant at ENAVATE with three years of Microsoft Dynamics AX experience and over five years of writing and debugging various software systems. Greg has a Bachelor's Degree in Computer Science and a Microsoft Certification for AX2012 R3 Development.

     

     

     

    Enavate Recent Posts

    January 9, 2025

    Microsoft Dynamics GP Year-End Close: AP & 1099 Processing

    Knowing how to close out your Microsoft Dynamics GP instance can be difficult if you don’t know best practices and how to streamline the process. At Enavate, we can assist... Read More
    January 8, 2025

    17 Reasons to Upgrade to Dynamics GP 18.7

    Microsoft releases new features for the Dynamics GP platform three times a year. Each of these releases adds upwards of thirty new features to the platform, in addition to... Read More
    January 7, 2025

    Microsoft Dynamics GP Year-End Close: Tips & Tricks for U.S. Payroll

    Conducting your Year-End Close in Microsoft Dynamics GP can be complex— if you don’t know all the ways to streamline it. At Enavate, we help with just that, sharing tips and... Read More

    Subscribe to Receive Email Updates