2017 © Pedro Peláez
 

library fpdf-stream

FPDF Version that supports streaming directly to the browser

image

ponyfleisch/fpdf-stream

FPDF Version that supports streaming directly to the browser

  • Tuesday, March 11, 2014
  • by ponyfleisch
  • Repository
  • 1 Watchers
  • 1 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

fpdf-stream

This is a modified version of fpdf (1.7) which outputs pdf generation directly to the browser as it is generated page by page., (*1)

Still pre-alpha., (*2)

Usage

header('Content-Type: application/pdf');
header('Content-Disposition: inline; filename="schnitzel.pdf"');


$pdf = new Pdf();

$pdf->startOutput();

for($i=0; $i < $pages; $i++){
    $pdf->AddPage();
    ob_flush();
    $pdf->SetFont('Arial','B',16);
    for($j=0; $j < 500; $j++){
        $pdf->Cell(10, 10,'Hello World! '.$j);
    }
}

$pdf->endOutput();

The Versions

11/03 2014

dev-master

9999999-dev http://github.com/ponyfleisch/fpdf-stream

FPDF Version that supports streaming directly to the browser

  Sources   Download

MIT License

The Requires

  • php >=5.3.0

 

by Claudio Mettler

pdf

11/03 2014

v0.0.4

0.0.4.0 http://github.com/ponyfleisch/fpdf-stream

FPDF Version that supports streaming directly to the browser

  Sources   Download

MIT License

The Requires

  • php >=5.3.0

 

by Claudio Mettler

pdf

07/03 2014

v0.0.3

0.0.3.0 http://github.com/ponyfleisch/fpdf-stream

FPDF Version that supports streaming directly to the browser

  Sources   Download

MIT License

The Requires

  • php >=5.3.0

 

by Claudio Mettler

pdf

06/03 2014

v0.0.2

0.0.2.0 http://github.com/ponyfleisch/fpdf-stream

FPDF Version that supports streaming directly to the browser

  Sources   Download

MIT License

The Requires

  • php >=5.3.0

 

by Claudio Mettler

pdf

06/03 2014

v0.0.1

0.0.1.0 http://github.com/ponyfleisch/fpdf-stream

FPDF Version that supports streaming directly to the browser

  Sources   Download

MIT License

The Requires

  • php >=5.3.0

 

by Claudio Mettler

pdf