Forum Discussion

SamSpronk's avatar
SamSpronk
Copper Contributor
Mar 19, 2021
Solved

Unsupported document-format: application/pdf.

Hi Everyone

 

We have commissioned a Business Central v18.0 environment and added a Azure Universal Printer to it, which works outside of Business Central. When printing a report from Business Central via the Azure Universal Printer we get this error:

 

Could not upload the document to print job 9. Unsupported document-format: application/pdf. Supported formats: Attribute document-format-supported: SimpleIppValue-Type:MimeMediaType-Value:application/oxps

 

 

 

 

I get the same error when attempting this from the mobile app on iOS as well. 

 

In Universal Print Portal in Azure the jobs show up with a status of Paused. If it makes a difference we are using a Connector 

 

 

 

  • SamSpronk 

    Thank you for keeping the conversation going.

     

    Universal Print supports both PDF and XPS. The target printer is what affects whether those formats are supported or not. I'll explain more:

     

    The new version of BC works today in 3 ways

    1. With Universal Print Ready printers (those that don't need a connector to communicate with Universal Print). Please take a look at this information about printer manufacturers that offer these printers here: Partner Integrations - Universal Print | Microsoft Docs. You may find that there's a firmware upgrade for your printers that give them this capability. The manufacturer of your printer will be able to provide you more information about that.
    2. In environments with connectors created by our partners where the connector supports PDF.
    3. On Windows devices by installing the cloud printers on the device and printing to them locally.

    The piece we're working on is adding support for PDF in the Microsoft connector (by converting the PDF sent by BC, or any other app, to an XPS that could be sent to printers installed on the connector).

    Please try the pre-release feature in the connector and give us feedback. The steps to enable it are in the troubleshooting guide here: "Unsupported document format: application/pdf" error
    We're making some improvements and will soon release this feature in the connector.


    Thank you.
    Rani

7 Replies

  • georg_f's avatar
    georg_f
    Copper Contributor

    SamSpronk 

    might be a bit outdated but maybe for others to help:


    I experienced the same issue with unsupported document-format: application/pdf when printing from Business Central 20.5.

     

    However the first step in https://learn.microsoft.com/en-us/universal-print/fundamentals/universal-print-troubleshooting-support-howto#admin-is-unable-to-access-universal-print-on-the-azure-portalthen did the trick for me.

    There is the setting document conversion in the Azure Portal / Universal Print - when I enabled this setting, then printing worked out fine for me in BC.

     

    • SamSpronk's avatar
      SamSpronk
      Copper Contributor

      Rani_Abdellatif  Thanks for that. I am wondering how anyone is able to use the new Universal Print in Business Central? If reports generated from Business Central are in PDF format and Universal Print only supports oxps, or am I missing something? Dynamics 365 BC 2021 Wave 1 - just released -  has added support for Azure Universal Print but I don't see how it is possible to leverage that?

      • Rani_Abdellatif's avatar
        Rani_Abdellatif
        Icon for Microsoft rankMicrosoft

        SamSpronk 

        Thank you for keeping the conversation going.

         

        Universal Print supports both PDF and XPS. The target printer is what affects whether those formats are supported or not. I'll explain more:

         

        The new version of BC works today in 3 ways

        1. With Universal Print Ready printers (those that don't need a connector to communicate with Universal Print). Please take a look at this information about printer manufacturers that offer these printers here: Partner Integrations - Universal Print | Microsoft Docs. You may find that there's a firmware upgrade for your printers that give them this capability. The manufacturer of your printer will be able to provide you more information about that.
        2. In environments with connectors created by our partners where the connector supports PDF.
        3. On Windows devices by installing the cloud printers on the device and printing to them locally.

        The piece we're working on is adding support for PDF in the Microsoft connector (by converting the PDF sent by BC, or any other app, to an XPS that could be sent to printers installed on the connector).

        Please try the pre-release feature in the connector and give us feedback. The steps to enable it are in the troubleshooting guide here: "Unsupported document format: application/pdf" error
        We're making some improvements and will soon release this feature in the connector.


        Thank you.
        Rani

Resources