Exemplo n.º 1
0
    $pdf->Text(80,40,$conteP2);
    $pdf->Text(120,40,$equipo);
    // Entregado por
    $pdf->Text(10,50,$naviera);
    $pdf->Text(60,50,"$entF $entH:$entM");
    $pdf->Text(100,50,"BKG. $bkg");
    $pdf->Text(140,50,"$salF $salH:$salM");
    // Transportista
    ( $entSal=="E" )?$pdf->Text(10,60,$transp):$pdf->Text(110,60,$transp);
    // Operador y Placas
    ( $entSal=="E" )?$pdf->Text(10,70,$operador):$pdf->Text(110,70,$operador);
    ( $entSal=="E" )?$pdf->Text(50,70,$placas):$pdf->Text(160,70,$placas);
    ( $entSal=="E" )?$pdf->Text(20,80,"CLASE :$clase"):$pdf->Text(120,80,"CLASE : $clase");
    ( $entSal=="E" )?$pdf->Text(50,80,$damage):$pdf->Text(160,80,$damage);
    $pdf->Text(130,90,"NO. DE SELLO : $sello");

    $nota = str_replace("\n","\r",$nota);
    $pdf->Text(110,270,$nota);
    //$pdf->Ln(70);
    //$pdf->MultiCell(100,190,$nota,0,'L');


    // finalizar el documento pdf
    $pdf->Output();

    }
    /* fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff */
/*----------------------------------------------------------------*/
$idReg = $_GET[idReg];
showPdf($idReg);
Exemplo n.º 2
0
$pdf->Text(120,40,$equipo);
// Entregado por
$pdf->Text(10,50,$naviera);
$pdf->Text(60,50,"$entF $entH:$entM");
$pdf->Text(100,50,"BKG. $bkg");
$pdf->Text(140,50,"$salF $salH:$salM");
// Transportista
( $entSal=="E" )?$pdf->Text(10,60,$transp):$pdf->Text(110,60,$transp);
// Operador y Placas
( $entSal=="E" )?$pdf->Text(10,70,$operador):$pdf->Text(110,70,$operador);
( $entSal=="E" )?$pdf->Text(50,70,$placas):$pdf->Text(160,70,$placas);
( $entSal=="E" )?$pdf->Text(20,80,"CLASE :$clase"):$pdf->Text(120,80,"CLASE : $clase");
( $entSal=="E" )?$pdf->Text(50,80,$damage):$pdf->Text(160,80,$damage);
$pdf->Text(130,90,"NO. DE SELLO : $sello");

$nota = str_replace("\n","\r",$nota);
$pdf->Text(110,270,$nota);
//$pdf->Ln(70);
//$pdf->MultiCell(100,190,$nota,0,'L');


// finalizar el documento pdf
$pdf->Output();

}
/* fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff */
/*----------------------------------------------------------------*/
$idReg = $_GET[idReg];
$entSal = $_GET[entSal];
showPdf($idReg, $entSal);