Second page in a pdf-report with different image etc...

Can somebody give me a hint. I made a pdf-report with a second page.
On the second page I want to have two things:

  1. An other background-image (as on the first page)
  2. The second page should be in landscape instead of portrait.

I found in the code this:

/------------------ Page 2 -----------------/
sc_pdf_add_page();
$this->pdf_image(‘test.pdf’)
foreach ({Abonnementen} as $NM_ind => $Dados)
{

I tried to put another image there with no succes. How to…
And how to get page 2 in landscape.

Would be nice…

Regards, Bert Steinebach

Ok I managed:

Put the image in ‘’…/_lib/img/" and changed the code in:

/------------------ Page 2 -----------------/
sc_pdf_add_page(Landscape,A4);
sc_pdf_image("…/_lib/img/contract_bel_02.jpg",‘1’,‘1’,‘300’,’’,‘jpg’);

This works…

Kind Regards, Bert Steinebach

Hi ,

May I know if this way still working? Because I try using your code but not working. Hope you can help me with it. Thanks