Is there a module out there that can export the current page's content into PDF (and be able to add another PDF template too)?
i've had a look round the modules and only see one that's been discontinued:
http://dev.cmsmadesimple.org/projects/content2pdf
[SOLVED] Export this Page as PDF
[SOLVED] Export this Page as PDF
Last edited by Anonymous on Fri Oct 16, 2009 12:49 pm, edited 1 time in total.
Re: Export this Page as PDF
The printing module (part of core), has that capability already, you can call the
{cms_module module='printing' pdf='true'}
at the same place as the print-page is set, with the same module
Ronny
{cms_module module='printing' pdf='true'}
at the same place as the print-page is set, with the same module
Ronny
Re: Export this Page as PDF
i've actually tried this - with no quotes, single quotes and double quotes - as well as changing {cms_module module='printing'...} to {print..} and nothing seems to work. It directs to the printer page but nothing else happens. Also the content is missing (as content of the page i want to do this with is generated by another smarty).
Re: Export this Page as PDF
In the Printing module, you have to enable the "Enable PDF-generation" on its settings tab.
Ronny
Ronny
Re: Export this Page as PDF
500 error
Re: Export this Page as PDF
what version of CMSMS?
Ronny
Ronny
Re: Export this Page as PDF
Have a link, or could you PM an account to me to test the backend?
Ronny
Ronny
Re: Export this Page as PDF
i have been given the solution by my host (if this happens to you):
...made a small change to the file named : modules/Printing/tcpdf/tcpdf.php
Lines 5055-5057 i have commented out as it was duplicating the content-type header
//header('Content-Type: application/force-download');
//header('Content-Type: application/octet-stream', false);
//header('Content-Type: application/download', false);
...made a small change to the file named : modules/Printing/tcpdf/tcpdf.php
Lines 5055-5057 i have commented out as it was duplicating the content-type header
//header('Content-Type: application/force-download');
//header('Content-Type: application/octet-stream', false);
//header('Content-Type: application/download', false);
-
- Forum Members
- Posts: 23
- Joined: Thu Jun 17, 2010 12:48 am
Re: [SOLVED] Export this Page as PDF
I don't understand how to fix this.
I still don't see icon print and pdf on top right corner every page.
How to make enable both icon print and pdf on every right corner every page?
I still don't see icon print and pdf on top right corner every page.
How to make enable both icon print and pdf on every right corner every page?