Code

Discussion on DK PDF Generator

dinamiko

dinamiko supports this item

Supported

This author's response time can be up to 2 business days.

109 comments found.

Hi,

Could you please provide instructions to insert a counter-cover? I mean a last page styled like i want. I know html/css, i only need the pdf to use a counter-cover.php as last page.

thanks

Hi globalser,

Currently only cover is implemented, but maybe you can try to create a page and add the end of the PDF.

Thanks, Emili

Hi,

The PDF protection features are not working, correct? Because even thought i enable all protections (and individualy), i can copy/print, etc.

thanks

Hi globalser,

PDF protection should work, at least in DK PDF (free), I´m going to take a look in Generator to see if it still works there, once I´ve more info I let you know.

Thanks, Emili

Hey guys, we’re needing support with a Google Maps integration issue. We’ve submitted a ticket via #1747758 but haven’t received a response.

We have a map built into our PDF downloads that was generated through an Advanced Custom Field using code taken from this tutorial (http://www.dinamiko.com/add-custom-fields-pdf-using-advanced-custom-fields/). This worked well for almost a full year, but we are now noticing that the maps are not displaying in the PDF even though they’re still loading as expected on the website (so the Google Maps API keys should be valid). Any feedback you could provide as to what we can do to resolve this issue would be appreciated.

Hi gruffygoatllc,

I have just replied in the ticket, I´m copy/pasting the response here just in case:

Looks like a problem with the API key: g.co/staticmaperror/key
Here you have more info about the error and how to fix it:
https://developers.google.com/maps/documentation/maps-static/error-messages

Also here is more info about static maps and api usage:
https://developers.google.com/maps/documentation/maps-static/intro
https://developers.google.com/maps/documentation/maps-static/usage-and-billing

pre sale question: I’m currently trying the free version of the plugin and I get the following error in some browsers: It fails when we try to generate a pdf in Chrome or IE. In chrome we get an error that it could not load. In IE, we get this error File does not start with ‘% PDF-‘

Hi co_holm,

DK PDF Generator is an extension of DK PDF (free), Generator uses the PDF library (mPDF) from DK PDF (free) so the issue you are facing comes from DK PDF (free).

Thanks, Emili

Hi dinamiko, we are using the plugin, and it worked like a charm. But unfortunately it stopped working now – clicking on the PDF-Button affects in a an endless loading with finaly showing that the server ended the connection. Rest of the site is working fine. I tried downgrading to 1.9.2 and 1.9.3, but no difference. I tried disabling SSL and stepping down to php 5.6, but no difference… any idea? Thanks!

Hi Adicto,

If everything is the same, maybe the problem comes from the content that you are trying to display in the PDF, can you check if the issue still happens with an empty post?

Also the issue can come from a conflict with another plugin or theme, in that case try to disable all and activate one by one to find the culprit.

Thanks, Emili

Hi Emili – thanks for your reply. We could solve the problem – we changed settings (display PDF instead of download PDF, and then back to download PDF again). And this seemed to reset the settings. Now it works again :-)

I’m writing you because one of my customers bought the DK-pdf plug-in for wordpress and installed it. In the control panel, even if I insert the logo in “PDF Header & Footer” the image is not inserted in the PDF but buy a red X. And then the post date is not included in the exported pdf. is it possible to add it?

Hi uffa1999,

Red X is because the image can not be loaded into the PDF for some reason, adding the date needs to be done by a template customization, it is not include by default in the plugin as an option.

In order the debug the image problem properly, please create a new ticket here: https://dinamiko.ticksy.com/?envato_item_id=13530581

Thanks, Emili

Hi, I tried the version downloaded from Github. I tried to print a pdf issued from a post with content restriction. When the user is connected, the post is fully displayed in the website, but when he tries to print the pdf via dkpdf, the pdf printed display the content restricted. The plugin is woocommerce membership. Can you tell me if the purchassed version of dkpdf solves this issue. Thank you, Bruno

Hi bbr13,

The version in GitHub is the same as you can find in WordPress repository (DK PDF), I use GitHub for the devleopment of the free version.

Regarding hidding content in the PDF there are some shortcodes (http://wp.dinamiko.com/demos/dkpdf/doc/dkpdf-remove-shortcode/) you can use or add your own code logic in the PDF templates (http://wp.dinamiko.com/demos/dkpdf/doc/how-to-use-dk-pdf-templates-in-your-theme/).

Regarding DK PDF Generator, it is an extension of DK PDF that allows you to add multiple posts in the same PDF, also you can add a cover and a table of contents in the PDF, everything else comes from DK PDF.

Thanks,
Emili

hi there this plugin allows to create two pdf of page: one with the logo of the website and one without the logo? Best regards

Bom Dia , Estou usando a versão grátis e depois da ultima atualização do wordpress para blocos ,ele não esta mais tabulando ou seja o texto está todo junto sem formatar o espaço. pode ver por favor

by
by
by
by
by
by