Results 1 to 2 of 2

Thread: [RESOLVED] fpdf issue, Could be very easy, But :-(

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Resolved [RESOLVED] fpdf issue, Could be very easy, But :-(

    im using PDF as template for printing data on its various places using X and Y axis. Everything works fine but when i print data at the end of the of the page. then automatically a new page is created in PDF and this text is displayed on the next page. :-( i want this text to be shown on the same page where i want at the bottom of the page only.
    Im using code for its X and Y axis

    Code:
    	$pdf->SetXY(83, 276);
    	$pdf->Write(0, $total_charges);

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: fpdf issue, Could be very easy, But :-(

    i fixed the issue by adding
    Code:
    $pdf->SetAutoPageBreak(false);
    after this line

    Code:
    $pdf->AddPage();

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width