• Hi,

    I’m looking to use your plugin to auto generate and autopopulate pdf files with custom profile fields from another plugin and need to customize the output of the pdf in the following ways:

    • Completely remove the header and top margin
    • Completely remove the footer and bottom margin
    • Stretch the ‘featured image’ to act as a page background
    • Completely remove any timestamp or identification that it was created from the website

    I’m wondering if there’s a place in the code that you could direct me to add/remove the code that I need from the plugin

    OR

    If these fixes would be reasonable to suggest for a future update.

    I’ve been looking for this functionality – that would ultimately result in a customizable piece for marketing material purposes that could be updated and re-saved by members of my client’s site with their own contact information and wording via shortcodes.

    Any help would be greatly appreciated! I love the functionality of your plugin and it would be great to be able to modify it slightly to suit my client’s needs.

    thanks for your help in advance.

    Adam

    https://wordpress.org/plugins/wp-post-to-pdf-enhanced/

Viewing 1 replies (of 1 total)
  • Plugin Author Lewis Rosenthal

    (@lewisr)

    Hi, Adam…

    Indeed, this is a good feature request, and you may find that the development version of the plugin might suit your needs better, at least in terms of customizing the footer.

    The header items can be edited out of the PDF data by following the basic steps I’ve outlined here. In the main class, you’ll also find where the document creator info is inserted in the data stream, and you could customize that to whatever you choose.

    As for your third item, regarding stretching the featured image, you should study up on some of the TCPDF details. Images can be resized and transparency added, but it’s not easy, and at this point, beyond the scope of what this plugin is intended to do. However, I’ll surely consider adding it to the roadmap, but it would likely be well off in the future. Again, with some understanding of TCPDF, you could make that happen. Most of this stuff you mention is handled through the main class of the plugin, so poke around a bit. My own issues with images are more with alignment, but if you know the absolute coordinates on the page, it might actually be easier than handling the embedding in the content.

    Good luck. HTH

    Cheers

    Lewis

Viewing 1 replies (of 1 total)
  • The topic ‘Printing with no Margins, no Header and no Footer’ is closed to new replies.