[FX.php List] [Offish] PDF generation

Steve Winter steve at bluecrocodile.co.nz
Wed Feb 16 00:27:18 MST 2011


Hi Stephen

Take valid XHTML document styled with CSS, push it through some process with as little work as humanly possible, end up with a PDF that looks pretty much identical... for this gig it's nothing too complex, and the recommendations both on and off list of mPDF are good, and I had settled on using that, till I downloaded it and found I ended up with with 242 files, totalling just under 30Mb... what on earth is that about...??

I took a look at https://github.com/mreiferson/php-wkhtmltox/blob/master/README which looks really promising however I can't get it to compile, and it requires installations on the server, rather than being able to be deployed through source code upload.

Based on what I've seen and read, I think cleaning out all the 'cruft' in mPDF to get it down to a sensible size is the way forward...

Cheers
Steve

On 16 Feb 2011, at 02:13, Stephen Grant wrote:

> There's a variety of methods for PDF generation available; 
> Tell me a bit more about your requirements; we've probably got an existing
> library that can help.
> 
> 
> 
> ----- Original Message -----
> From: "Tim 'Webko' Booth" <tim at nicheit.com.au>
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Sent: Wednesday, February 16, 2011 9:50:52 AM
> Subject: Re: [FX.php List] [Offish] PDF generation
> 
> Dear Steve,
> 
>> Hi all,
>> 
>> I've used fpdf quite a bit in the past, and have need of pdf  
>> generation for a current project and IIRC someone on the list (maybe  
>> you Joel?) mentioned an alternative which they had worked with  
>> recently and found a little more user-friendly than fpdf...
>> 
>> Anyone remember what it was...?
> 
> I've checked my archive, and can't find anything else mentioned in the  
> last few years...
> 
> Cheers
> 
> Webko
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

Steve Winter
steve at bluecrocodile.co.nz
m: +44 77 7852 4776
3 Calshot Court, Channel Way
Ocean Village, Southampton SO14 3GR

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20110216/7af5eb41/attachment.html


More information about the FX.php_List mailing list