Mike, i changed the orientation by adding 'oritentation'=>''landscape' on 
the $pdfConfig array

On Friday, July 20, 2012 10:26:41 AM UTC+2, Mike Griffin wrote:
>
> On Fri, Jul 20, 2012 at 8:37 AM, Elisio Leonardo 
> <[email protected]> wrote: 
> > Thanks for your response, but i'm using this another Cakepdf plugin 
> > https://github.com/ceeram/CakePdf that i think is the more updated 
> version, 
> > and it doesnt use component. 
> > 
>
> It looks like you can set it in the app/Config/bootstrap.php 
> After you have loaded the plugin, use something like this: 
>
> Configure::write('Pdf', 
>   array( 
>     'orientation' => 'landscape' 
>   ) 
> ); 
>
> I haven't tested this so it may not work, but it should put you on the 
> right track. 
>
> Mike. 
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to