I have mPDF working within an existing view. Now i need to figure out how 
to create a PDF of a another view.

For example, I would like to set up a cron job which calls a function which 
creates and emails a number of PDFs every night but I don't know how to 
actually call that controller and retrieve the HTML from the view to give 
mpdf in order for it to render a pdf.

Does anyone know/have a tutorial on how to achieve that?

On Friday, 9 September 2011 17:26:39 UTC+2, LunarDraco wrote:
>
> You might want to review this article in the bakery: 
>
> http://bakery.cakephp.org/articles/Casmo/2010/06/26/creating-pdf-files-with-html2ps-html2pdf
>  
>
> As mPDF is based on html2fpdf perhaps the techniques in that article 
> could help you get started. 
>
> On Sep 8, 12:34 pm, Uziel Barbosa <[email protected]> wrote: 
> > anyone? 
> > 
> > 2011/9/8 Uziel Barbosa <[email protected]> 
> > 
> > > Has anyone used mPDF with Cake? 
> > > Thanks. 
> > 
> > > __ 
> > > Uziel Barbosa 
> > > GodLabs 
> > > IFAL 
> > > @uzielbarbosa 
> > 
> > -- 
> > Uziel Barbosa 
> > GodLabs 
> > IFAL 
> > @uzielbarbosa

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to