$pdf->SetXY($coorx, 32); $pdf->Cell($longitud, 2, $cadena); $cadena = "Pague Hasta:"; $pdf->SetFont("Arial", "B", 10); $coorx = 147; $longitud = $pdf->GetStringWidth($cadena); $pdf->SetXY($coorx, 32); $pdf->Cell($longitud, 2, $cadena); $cadena = str_replace('-', '/', $fecha_const_matricula); $pdf->SetFont("Arial", "", 10); $coorx = 187; $longitud = $pdf->GetStringWidth($cadena); $pdf->SetXY($coorx, 32); $pdf->Cell($longitud, 2, $cadena); //Descripcion del item $pdf->SetFillColor(192); $pdf->RoundedRect(12, 38, 130, 19, 1); $y = 6; $pdf->Line(100, 38, 100, 57); $pdf->Line(12, 38 + $y, 142, 38 + $y); $pdf->Line(12, 38 + 12, 142, 38 + 12); $pdf->SetFont("Arial", "", 10); $pdf->SetXY(13, 46); $pdf->Cell($longitud, 2, "MATRICULA"); $pdf->SetFont("Arial", "B", 10); $pdf->SetXY(113, 46); $pdf->Cell($longitud, 2, "\$ {$valor_matricula}"); $pdf->SetFont("Arial", "B", 10); $pdf->SetXY(60, 52); $pdf->Cell($longitud, 2, "TOTAL A PAGAR"); $pdf->SetXY(113, 52);