Announcement

Collapse
No announcement yet.

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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

    Comment

    Working...
    X