PHP fpdf




php fpdf ,pdf edit ,example,
download link https://drive.google.com/open?id=1XNyIs-RKFLmG-0f5CE43nwRgIq558GTt



<?php

use setasign\Fpdi\Fpdi;
use setasign\Fpdi\PdfReader;
require('PDF/fpdf.php');
require('PDF/fpdi/src/autoload.php');

$pdf = new Fpdi();
$pageCount = $pdf->setSourceFile("a.pdf");
$pageId = $pdf->importPage(1, PdfReader\PageBoundaries::MEDIA_BOX);

$pdf->addPage();
$pdf->useImportedPage($pageId101090);
$pdf->SetFont('Arial','',14);
$pdf->SetTextColor(0,0,255);
$pdf->SetFont('','U');
$pdf -> SetY(100); 
$pdf -> SetX(100); 
$pdf->Cell(100,50,'TEST');

$pdf->Output();

?>

Related Posts

PHP fpdf
4/ 5
Oleh