• Hi, nice plugin but I’m having issues trying to format the PDF document being produced.

    The website page where the PDF Button is located displays as per the CSS for the site (font = arial etc). When I click the DK PDF button it produces a document that is formatted using the fonts from the WP-admin area (times roman etc.).

    So, I went to the PDF CSS tab in your plugin and ticked the “Use your enqueued theme and plugin CSS” and tried again. Instead of the PDF document I got an error message in the middle of a new screen that said “Failed to load document” followed by “RELOAD”. I clicked the RELOAD link but nothing changed.

    I unticked the “Use your enqueued them and plugin CSS” box and entered some custom CSS as follows to test the output –

    body {
    font-family:arial;
    }
    h2 {
    font-family:arial;
    }
    h1 {
    font-size:2.0em;
    }

    When I ran the PDF button again it produced a PDF but it was still displaying the same times roman fonts as before. It did not pick up the custom CSS. I make sure I refreshed all screens before running the PDF button.

    Can you please guide me on what I should do to get the PDF to format the fonts correctly.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Formatting PDF and Failed to Load Document error’ is closed to new replies.