fpdf Reportes PHP PDF APACHE WINDOWS LINUX

// creamos el objeto FPDF
$pdf=new PDF('P','mm','Letter');
$pdf->Open();
$pdf->AddPage();
$pdf->SetMargins(10,10,10);

//Header
$pdf->SetFont('Arial', 'B', 10);
$pdf->SetTextColor(248,248,255);
$pdf->setFillColor(105,105,105);
$pdf->MultiCell (0,6, "ACTIVIDAD DE OPERADORES ", '' , 'C' , TRUE );

$pdf->ln (4);
$pdf->Image ("http://localhost//images/client/KERNEL/logos/.jpg", 150, 24 , 35, '', '', '');

//Info del header
$pdf->SetTextColor(0, 0, 0);
$pdf->SetFont('Arial', '', 8);
$pdf->SetWidths(array("20","50"));
$pdf->SetDrawColor(255,255,255);
$pdf->SetLineWidth("0");
$pdf->Row(array("Usuario:", $_SESSION['username'] ));
$pdf->Row(array("Fecha Inicial:", "24/21/2009"));
$pdf->Row(array("Fecha Final:", "01/05/2019"));


//Separador
$pdf->SetWidths(array("350"));
$pdf->Row(array("___________________________________________________________________________________________________________________________"));
$pdf->ln (5);

0 pensamientos:

Post a Comment

feedback!