示例#1
0
require_once "../fpdf16/MultiCellTag/header_footer.inc";
ob_end_clean();
$pdf = new pdf_usage();
$pdf->Open();
$pdf->AddPage();
$pdf->AliasNbPages();
if (strlen($id_Pago) < 5) {
    do {
        $id_Pago = "0" . $id_Pago;
    } while (strlen($id_Pago) < 5);
}
//Title
$pdf->Image('../images/logo.jpg', 5, 5, 50);
$pdf->SetFont('Arial', 'B', 7);
//Linea 1
$pdf->Cell(60, 3, '', 0, 0, 'C');
$pdf->Cell(23, 3, 'Dirección Fiscal:', 0, 0, 'L');
$pdf->SetFont('Arial', '', 7);
$pdf->Cell(80, 3, 'Calle 3-14 San Pascual Calle 3-14', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(23, 3, 'RECIBO', 0, 1, 'C');
//Linea 2
$pdf->SetFont('Arial', '', 7);
$pdf->Cell(60, 3, '', 0, 0, 'C');
$pdf->Cell(23, 3, '', 0, 0, 'L');
$pdf->Cell(80, 3, 'Urb. Ciudad Jardín. Cagua Edo. Aragua', 0, 1, 'L');
//Linea 3
$pdf->SetFont('Arial', 'B', 7);
$pdf->Cell(60, 3, '', 0, 0, 'C');
$pdf->Cell(23, 3, 'Dirección Oficina: ', 0, 0, 'L');
$pdf->SetFont('Arial', '', 7);
示例#2
0
$pdf->SetFont('Arial', 'B', 7);
/* //Linea 1
	$pdf->Cell(60,3,'',0,0,'C');
	$pdf->Cell(23,3,'Dirección Fiscal:',0,0,'L');
	$pdf->SetFont('Arial','',7);
	$pdf->Cell(80,3,'Calle 3-14 San Pascual Calle 3-14',0,0,'L');
	$pdf->SetFont('Arial','B',12);
	$pdf->Cell(23,3,'CONTRATO',0,1,'C');
//Linea 2
	$pdf->SetFont('Arial','',7);
	$pdf->Cell(60,3,'',0,0,'C');
	$pdf->Cell(23,3,'',0,0,'L');
	$pdf->Cell(80,3,'Urb. Ciudad Jardín. Cagua Edo. Aragua',0,1,'L'); */
//Linea 3
$pdf->SetFont('Arial', 'B', 7);
$pdf->Cell(60, 3, '', 0, 0, 'C');
$pdf->Cell(23, 3, 'Dirección Fiscal: ', 0, 0, 'L');
$pdf->SetFont('Arial', '', 7);
$pdf->Cell(80, 3, 'Av. Bolívar C.C. Amelia Piso 3 Ofic. 306', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 14);
$pdf->SetTextColor(255, 0, 0);
$pdf->Cell(23, 3, 'Nro.   ' . $id_Contrato, 0, 1, 'C');
//Linea 4
$pdf->SetFont('Arial', '', 7);
$pdf->SetTextColor(00, 00, 00);
$pdf->Cell(53, 3, '', 0, 0, 'C');
$pdf->Cell(80, 3, 'Cagua Edo. Aragua. Telfs: 0244-3964557 / 0426-5125749', 0, 1, 'C');
//Linea 5
$pdf->Cell(47, 3, '', 0, 0, 'C');
$pdf->Cell(80, 3, '0416-0458957 / 0426-5180385 / 0424-3261656', 0, 1, 'C');
$pdf->Ln(9);