$pdf->SetFont('Arial', 'B', $TamLetra); $pdf->cell(60, $alt, "Valor Total : ", $b, 0, "R", 0); $pdf->cell(20, $alt, "{$valortotal}", $b, 1, "C", 0); $pdf->SetFont('Arial', '', $TamLetra + 1); $pdf->cell(110, $alt, "{$linhadigitavel}", $b, 0, "C", 0); $pdf->SetFont('Arial', 'B', $TamLetra); $pdf->cell(80, $alt, "", 0, 1, "C", 0); $pdf->cell(40, $alt, "", $b, 0, "L", 0); $pdf->cell(70, $alt, "", $b, 0, "L", 0); $pdf->SetFont('Arial', 'B', $TamLetra); $pdf->cell(80, $alt, " A U T E N T I C A Ç Ã O M E C Â N I C A ", 0, 1, "C", 0); $y = $pdf->GetY(); $x = $pdf->GetX(); $pdf->SetXY($x, $y); $pdf->SetFillColor(00); $pdf->int25($x, $y - 4, $codigobarras, 13, 0.341); } $pdf->Sety(252); $y = $pdf->GetY(); $pdf->MultiCell(90, 5, '', 0, "C", 0); $pdf->SetFillColor(00); $pdf->MultiCell(180, 3, "Código de Autenticidade da Certidão", 0, "R", 0); $pdf->MultiCell(180, 10, $t1, 0, "R", 0); $pdf->int25(95, 270, $t1, 15, 0.341); $nomearq = $pdf->GeraArquivoTemp(); $arqpdf = $nomearq; $pdf->Output($arqpdf, false, true); if ($sqlerro == false) { db_inicio_transacao(); $localrecebeanexo = $arqpdf; // Para ler conteudo do arquivo pdf gerado