Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Pragma: public");
- header("Expires: 0");
- header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
- header("Cache-Control: private",false);
- header("Content-Type: application/octet-stream");
- header("Content-Disposition: attachment; filename=\"Source_Verification.pdf\"");
- header("Content-Transfer-Encoding: binary");
- header( "Content-Description: File Transfer");
- include("../pdf/class.ezpdf.php");
- $pdf =& new Cezpdf('a4','landscape');
- $pdf->selectFont('../pdf/fonts/Helvetica.afm');
- $pdf->ezStartPageNumbers(40,40,6,'','',1);
- $pdf->ezSetMargins(60,60,10,10);
- $all = $pdf->openObject();
- $pdf->saveState();
- $pdf->addText(315,560,18,'<b>Source Verification Form</b>');
- $pdf->addJpegFromFile('CANTREAT.jpg',10,530,150);
- $pdf->setStrokeColor(0,0,0,1);
- $pdf->line(730,40,780,40);
- $pdf->addText(715,40,6,'Date:');
- $pdf->line(670,30,780,30);
- $pdf->addText(590,30,6,'Source Verification done by:');
- $pdf->restoreState();
- $pdf->closeObject();
- $pdf->addObject($all,'all');
- $pdf->ezStream();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement