示例#1
0
$precio = round($row_sql['precio']);
$pdf->SetFont('arial', 'B', 8);
$pdf->Cell(2, 5, '', 0, 0, 'C');
$pdf->Cell(20, 5, $row_sqlPagosR['npagos'], 1, 0, 'C');
$pdf->Cell(20, 5, cambiaf_a_normal($row_sql['f1']), 1, 0, 'C');
$pdf->Cell(20, 5, $row_sql['cuotas'], 1, 0, 'C');
$pdf->Cell(25, 5, cambiaf_a_normal($row_sql['f2']), 1, 0, 'C');
$pdf->Cell(25, 5, number_format($row_sqlPagosR['suma'], 2, ",", "."), 1, 0, 'C');
$pdf->Cell(25, 5, number_format($row_sql['precio'] - $row_sql['abonos'], 2, ",", "."), 1, 0, 'C');
$pdf->Cell(25, 5, number_format($row_sqlPagosR['suma'] + $row_sql['precio'] - $row_sql['abonos'], 2, ",", "."), 1, 1, 'C');
$pdf->Ln(2);
//Linea 20
$pdf->Ln(15);
$x = $pdf->GetX();
$y = $pdf->GetY();
$pdf->Line($x + 5, $y, $x + 50, $y);
$pdf->Line($x + 105, $y, $x + 150, $y);
$pdf->SetFont('arial', 'B', 8);
$pdf->Ln(3);
$pdf->Cell(50, 3, 'POR: LA EMPRESA', 0, 0, 'C');
$pdf->Cell(50, 3, '', 0, 0);
$pdf->Cell(50, 3, 'POR: EL COMPRADOR', 0, 0, 'C');
$pdf->Ln(5);
$pdf->SetFont('Arial', 'I', 7);
$pdf->Cell(0, 6, 'Impreso el: ' . date('d/m/Y'), 0, 1, 'R');
///COPIA///
$pdf->Ln(25);
$x = $pdf->GetX();
$y = $pdf->GetY();
$pdf->Line($x - 15, $y, $x + 250, $y);
$pdf->Ln(25);
示例#2
0
$pdf->Cell(52, 6, 'Fecha: ', 0, 1);
//Linea 19
$pdf->SetFont('arial', '', 6);
$pdf->Cell(70, 3, 'DECLARO QUE LOS DATOS SUMINISTRADOS POR MI', 0, 0, 'C');
$pdf->Cell(50, 3, '', 0, 0);
$pdf->Cell(70, 3, 'DECLARO QUE LOS DATOS SUMINISTRADOS POR MI', 0, 1, 'C');
//Linea 19
$pdf->SetFont('arial', '', 6);
$pdf->Cell(70, 3, 'EN EL PRESENTE DOCUMENTO SON VERDADEROS', 0, 0, 'C');
$pdf->Cell(50, 3, '', 0, 0);
$pdf->Cell(70, 3, 'EN EL PRESENTE DOCUMENTO SON VERDADEROS', 0, 1, 'C');
//Linea 20
$pdf->Ln(10);
$x = $pdf->GetX();
$y = $pdf->GetY();
$pdf->Line($x + 5, $y, $x + 70, $y);
$pdf->Line($x + 125, $y, $x + 190, $y);
$pdf->SetFont('arial', 'B', 8);
$pdf->Ln(3);
$pdf->Cell(70, 3, 'POR: LA EMPRESA', 0, 0, 'C');
$pdf->Cell(50, 3, '', 0, 0);
$pdf->Cell(70, 3, 'POR: EL COMPRADOR', 0, 0, 'C');
//Linea 21
$pdf->Ln(6);
$pdf->SetFont('arial', 'B', 12);
$pdf->Cell(200, 6, 'NO SE ADMITEN DEVOLUCIONES', 0, 1, 'C');
//Linea 22
$pdf->SetFont('arial', 'B', 7);
$pdf->Cell(10, 20, '', 0, 0, 'C');
$x = $pdf->GetX();
$y = $pdf->GetY();