[FX.php List] [Offish] PDF generation
Joel Shapiro
jsfmp at earthlink.net
Wed Feb 16 11:56:36 MST 2011
Hey Steve
When I was playing w/ mPDF (testing out rotated tables, as discussed
some here in thread "printable very wide table?"), the only file I
needed to reference was mpdf.php (plus my own css file). mpdf.php is
a hefty 1.1MB, but it's no 30MB.
Before trying to trim the file down on your own, you might want to
check in w/ the developer (through the forum on his website). I asked
him a couple questions and he was very responsive.
Cheers,
-Joel
On Feb 15, 2011, at 11:27 PM, Steve Winter wrote:
> 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
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list