Danse Posted February 14, 2020 Share Posted February 14, 2020 (edited) Hey, how can i turn around the first Page in the quotepdf.tpl to have an horizontal view, so: So 297x210 instead of 210x297cm with this command $pdf->AddPage('L', 'A4'); It creates a new horizontal (good) Page, but first Page remains vertical. Any Idea? Edit: i already tried: $pdf->setPageFormat( 'L','A4' ); Error: Error: Call to protected method TCPDF::setPageFormat() from context 'WHMCS\Invoice' in /va EDIT2: I found a way, just use (and first page gets horizontal): $pdf->setPageOrientation('L'); Edited February 14, 2020 by Danse 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.