Exemple #1
0
        $con++;
        $this->Cell(6, 6, $con, 1, 0, 'C');
        $this->Cell(92, 6, utf8_decode('Docente Aux.: ' . $nom_auxdocente), 1, 0, 'L');
        $this->Cell(19, 6, utf8_decode(''), 1, 0, 'C');
        $this->Cell(79, 6, '', 1, 1, 'C');
        /*$this->Cell(6,6,'',1,1,'C');*/
    }
}
$pdf = new MiPdf($id_viajesito);
//$datos,$gestion,$periodo
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 9);
///ESTA ES LA TABLA
//$pdf->BasicTable($tabla);
$pdf->text(180, 49, 'Cod-Viaje ' . $id_viajesito);
$pdf->cell(0, 7, 'SOLICITUD DE VIAJE DE PRACTICA DE CAMPO ' . $gestion_, 'T', 1, 'C');
$pdf->SetFont('Arial', '', 7);
$pdf->cell(98, 7, utf8_decode('FACULTAD : ' . $facultad), 1, 0, 'L');
//$pdf->cell(98,7,'FACULTAD : '."BFB",1,0,'L');
$pdf->cell(98, 7, utf8_decode('CARRERA : ' . $carrera), 1, 1, 'L');
$pdf->cell(170, 7, utf8_decode('ASIGNATURA : ' . $materia), 'LTB', 0, 'L');
$pdf->cell(26, 7, utf8_decode('SIGLA : ' . $sigla), 'TRB', 1, 'L');
$pdf->cell(196, 7, utf8_decode('LUGAR DE LA PRACTICA : ' . $lugar_prac), 1, 1, 'L');
$pdf->cell(98, 7, utf8_decode('DISTANCIA : ' . $distancia . '   Km.'), 1, 0, 'L');
$pdf->cell(98, 7, utf8_decode('DURACION DEL VIAJE :  ' . $dur . '  Dias.'), 1, 1, 'L');
$pdf->cell(196, 7, 'DIAS A PERNOCTAR EN :          Ciudad: ' . $ciudad . ' dias,          Provincia: ' . $provincia . ' dias,          Frontera: ' . $frontera . ' dias', 1, 1, 'L');
$pdf->cell(196, 7, 'NUMERO DE PARTICIPANTES :              Docentes   :   1,               Estudiantes   :   ' . $cantidad_final_pas, 1, 1, 'L');
/*($pasaje-1),1,1,'L');*/
$pdf->cell(98, 7, 'FECHA DE PARTIDA :   ' . $fecha_i, 1, 0, 'L');
$pdf->cell(98, 7, 'FECHA DE RETORNO :   ' . $fecha_f, 1, 1, 'L');
$pdf->cell(98, 7, 'HORA DE PARTIDA :   ' . $horap, 1, 0, 'L');
Exemple #2
0
        $this->SetY(-30);
        $this->SetX(23);
        $x = $this->GetX();
        //+20
        $y = $this->GetY();
        //-15
        $this->Image("fpdf/img/Pie_C.N.png", $x, $y, 0, 28);
        //$this->SetFont('arial','B',20);
        //$this->cell(100,10,"ffff",0,0,'C');
        //$this->Ln(20);
    }
}
$pdf = new MiPdf();
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 10);
$pdf->cell(0, 7, 'GESTION ' . $gestion_, 0, 1, 'C');
$pdf->SetFont('Arial', 'B', 8);
$pdf->cell(170, 7, "DATOS DEL VIAJE :", 0, 0, 'L');
$pdf->SetFont('Arial', '', 7);
$pdf->Cell(40, 10, 'Impresion ' . date('d/m/Y'), 0, 1, 'L');
$pdf->cell(98, 7, utf8_decode("FACULTAD :  " . $facultad), 1, 0, 'L');
$pdf->cell(98, 7, utf8_decode("CARRERA :  " . $carrera), 1, 1, 'L');
$pdf->cell(98, 7, utf8_decode("MATERIA :  " . $materia), 1, 0, 'L');
$pdf->cell(98, 7, "SIGLA :  " . $sigla, 1, 1, 'L');
$pdf->cell(98, 7, utf8_decode("LUGAR DE PRACTICA :  " . $lugar_prac), 1, 0, 'L');
$pdf->cell(98, 7, "DISTANCIA :  " . $distancia, 1, 1, 'L');
$pdf->cell(98, 7, "FECHA DE VIAJE :  " . $fecha_ini, 1, 0, 'L');
$pdf->cell(98, 7, "FECHA DE FIN DE VIAJE :  " . $fecha_fin, 1, 1, 'L');
$pdf->cell(98, 7, "FECHA REFORMULADA DE VIAJE :  " . $fecha_r_ini, 1, 0, 'L');
$pdf->cell(98, 7, "FECHA REFORMULADA DE FIN DE VIAJE :  " . $fecha_r_fin, 1, 1, 'L');
$pdf->cell(0, 7, "NUMERO DE PARTICIPANTES :  " . $pasajeros, 1, 1, 'L');