Generate PDF

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Generate PDF

Post by stefhoesli »

I tried to use TCPDF from within a UDT. But so far I'm not able to modify the Content-Type. These lines at the top of my UDT (and using a template containing only {content}) don't alter the Content-Type:

@ob_clean();
@ob_clean();
header('Content-Type: application/pdf');

Do I need to implement this with a module instead of a UDT? Or is there a simpler solution? I found the "PDF Generator" module, but that seems to be stale and not compatible with 1.10...
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Generate PDF

Post by Rolf »

I will ask Silmarillion about http://dev.cmsmadesimple.org/projects/pdf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Re: Generate PDF

Post by stefhoesli »

That's great, thanks a lot!
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Re: Generate PDF

Post by stefhoesli »

Any news here...?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Generate PDF

Post by Rolf »

Yeah I got in contact with Sill.
He tries to update the module a.s.a.p. but his spare time is limited at the moment... Thanks for being patient ;-)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
stefhoesli
Forum Members
Forum Members
Posts: 56
Joined: Mon Sep 19, 2011 1:06 pm

Re: Generate PDF

Post by stefhoesli »

Sure, I'm Swiss. We invented patience... ;-)
Duketown

Re: Generate PDF

Post by Duketown »

Hi,

I've been using FPDF in a couple of modules that I build and that has an extensive set of functions. Don't know if it would be easy to implement in or as an UDT, in a module however it is great.
If I can help you out with FPDF, please drop me a PM.

Regards,

Duketown
Post Reply

Return to “Modules/Add-Ons”