<?php // ------------------------- DADOS DINÂMICOS DO SEU CLIENTE PARA A GERAÇÃO DO BOLETO (FIXO OU VIA GET) -------------------- // // Os valores abaixo podem ser colocados manualmente ou ajustados p/ formulário c/ POST, GET ou de BD (MySql,Postgre,etc) // // DADOS DO BOLETO PARA O SEU CLIENTE $dias_de_prazo_para_pagamento = 5; $taxa_boleto = 2.95; $data_venc = date("d/m/Y", time() + ($dias_de_prazo_para_pagamento * 86400)); // Prazo de X dias OU informe data: "13/04/2006"; $valor_cobrado = "2950,00"; // Valor - REGRA: Sem pontos na milhar e tanto faz com "." ou "," ou com 1 ou 2 ou sem casa decimal $valor_cobrado = str_replace(",", ".",$valor_cobrado); $valor_boleto=number_format($valor_cobrado+$taxa_boleto, 2, ',', ''); $dadosboleto["nosso_numero"] = '12345678'; // Nosso numero - REGRA: Máximo de 8 caracteres! $dadosboleto["numero_documento"] = '0123'; // Num do pedido ou nosso numero $dadosboleto["data_vencimento"] = $data_venc; // Data de Vencimento do Boleto - REGRA: Formato DD/MM/AAAA $dadosboleto["data_documento"] = date("d/m/Y"); // Data de emissão do Boleto $dadosboleto["data_processamento"] = date("d/m/Y"); // Data de processamento do boleto (opcional) $dadosboleto["valor_boleto"] = $valor_boleto; // Valor do Boleto - REGRA: Com vírgula e sempre com duas casas depois da virgula // DADOS DO SEU CLIENTE $dadosboleto["sacado"] = "Nome do seu Cliente"; $dadosboleto["endereco1"] = "Endereço do seu Cliente"; $dadosboleto["endereco2"] = "Cidade - Estado - CEP: 00000-000"; // INFORMACOES PARA O CLIENTE $dadosboleto["demonstrativo1"] = "Pagamento de Compra na Loja Nonononono"; $dadosboleto["demonstrativo2"] = "Mensalidade referente a nonon nonooon nononon<br>Taxa bancária - R$ ".number_format($taxa_boleto, 2, ',', ''); $dadosboleto["demonstrativo3"] = "BoletoPhp - http://www.boletophp.com.br"; $dadosboleto["instrucoes1"] = "- Sr. Caixa, cobrar multa de 2% após o vencimento"; $dadosboleto["instrucoes2"] = "- Receber até 10 dias após o vencimento"; $dadosboleto["instrucoes3"] = "- Em caso de dúvidas entre em contato conosco: xxxx@xxxx.com.br"; $dadosboleto["instrucoes4"] = " Emitido pelo sistema Projeto BoletoPhp - www.boletophp.com.br"; // DADOS OPCIONAIS DE ACORDO COM O BANCO OU CLIENTE $dadosboleto["quantidade"] = ""; $dadosboleto["valor_unitario"] = ""; $dadosboleto["aceite"] = ""; $dadosboleto["especie"] = "R$"; $dadosboleto["especie_doc"] = ""; // ---------------------- DADOS FIXOS DE CONFIGURAÇÃO DO SEU BOLETO --------------- // // DADOS DA SUA CONTA - ITAÚ $dadosboleto["agencia"] = "1565"; // Num da agencia, sem digito $dadosboleto["conta"] = "13877"; // Num da conta, sem digito $dadosboleto["conta_dv"] = "4"; // Digito do Num da conta // DADOS PERSONALIZADOS - ITAÚ $dadosboleto["carteira"] = "175"; // Código da Carteira: pode ser 175, 174, 104, 109, 178, ou 157 // SEUS DADOS $dadosboleto["identificacao"] = "BoletoPhp - Código Aberto de Sistema de Boletos"; $dadosboleto["cpf_cnpj"] = ""; $dadosboleto["endereco"] = "Coloque o endereço da sua empresa aqui"; $dadosboleto["cidade_uf"] = "Cidade / Estado"; $dadosboleto["cedente"] = "Coloque a Razão Social da sua empresa aqui"; // NÃO ALTERAR! include("include/funcoes_itau.php"); //include("include/layout_itau.php"); $boleto = ' <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Boleto - BBBoleto Free</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD> <BODY> <STYLE>BODY { FONT: 10px Arial } .Titulo { FONT: 9px Arial Narrow; COLOR: navy } .Campo { FONT: 10px Arial; COLOR: black } TD.Normal { FONT: 12px Arial; COLOR: black } TD.Titulo { FONT: 9px Arial Narrow; COLOR: navy } TD.Campo { FONT: bold 10px Arial; COLOR: black } TD.CampoTitulo { FONT: bold 15px Arial; COLOR: navy } </STYLE> <P><BR> <P><BR> <DIV align=center> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD class=normal> <DIV align=center><B>O pagamento deste boleto também poderá ser efetuado nos terminais de Auto-Atendimento BB.</B></DIV> <P><B>Instruções:</B><BR> <OL> <LI>Imprima em impressora jato de tinta (ink jet) ou laser em qualidade normal ou alta Não use modo econômico.<BR><B>Por favor, configure a margens esquerda e direita para 17 mm</B><BR> <LI>Utilize folha A4 (210 x 297 mm) ou Carta (216 x 279 mm) e margens mínimas à esquerda e à direita do formulário.<BR> <LI>Corte na linha indicada. Não rasure, risque, fure ou dobre a região onde se encontra o código de barras. </LI></OL></TD></TR></TBODY></TABLE><BR> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD class=titulo width=666>Corte na linha pontilhada</TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD></TR></TBODY></TABLE><BR><BR> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD class=campo width=150><IMG height=22 src="imagens/imgbb.gif" width=150 border=0></TD> <TD width=3><IMG height=22 src="imagens/imgbrrazu.gif" width=2 border=0></TD> <TD class=campotitulo align=middle width=46>001-9</TD> <TD width=3><IMG height=22 src="imagens/imgbrrazu.gif" width=2 border=0></TD> <TD class=campotitulo align=right width=464>'.$dadosboleto["linha_digitavel"].' </TD></TR> <TR> <TD colSpan=5><IMG height=2 src="imagens/imgpxlazu.gif" width=666 border=0></TD></TR></TBODY></TABLE><BR> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=298 height=13>Cedente</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=126 height=13>Agência / Código do Cedente</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=34 height=13>Espécie</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=53 height=13>Quantidade</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=120 height=13>Nosso número</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=298 height=12>'.$dadosboleto["cedente"] .' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=126 height=12>'.$dadosboleto["agencia_codigo"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=34 height=12>'.$dadosboleto["especie"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=53 height=12>'.$dadosboleto["quantidade"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=120 height=12>'.$dadosboleto["nosso_numero"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=298 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=298 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=126 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=126 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=34 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=34 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=53 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=53 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=120 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=120 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=113 height=13>Número do documento</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=72 height=13>Contrato</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=132 height=13>CPF/CEI/CNPJ</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=134 height=13>Vencimento</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>Valor documento</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=113 height=12>'.$dadosboleto["numero_documento"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=72 height=12>'.$dadosboleto["contrato"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=132 height=12>'.$dadosboleto["cpf_cnpj"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=134 height=12>'.$dadosboleto["data_vencimento"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12>'. $dadosboleto["valor_boleto"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=113 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=113 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=72 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=72 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=132 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=132 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=134 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=134 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=113 height=13>(-) Desconto / Abatimento</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=112 height=13>(-) Outras deduções</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=113 height=13>(+) Mora / Multa</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=113 height=13>(+) Outros acréscimos</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 bgColor=#ffffcc height=13>(=) Valor cobrado</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=113 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=112 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=113 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=113 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 bgColor=#ffffcc height=12> </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=113 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=113 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=112 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=112 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=113 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=113 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=113 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=113 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=659 height=13>Sacado</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=659 height=12>'.$dadosboleto["sacado"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=659 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=659 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=88 height=13>Autenticação mecânica</TD></TR> <TR> <TD vAlign=top width=7 height=3></TD> <TD vAlign=top width=564 height=3></TD> <TD vAlign=top width=7 height=3></TD> <TD vAlign=top width=88 height=3></TD></TR></TBODY></TABLE><BR><BR><BR> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD class=titulo width=666>Corte na linha pontilhada</TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD></TR></TBODY></TABLE><BR><BR> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD class=campo width=150><IMG height=22 src="imagens/imgbb.gif" width=150 border=0></TD> <TD width=3><IMG height=22 src="imagens/imgbrrazu.gif" width=2 border=0></TD> <TD class=campotitulo align=middle width=46>001-9</TD> <TD width=3><IMG height=22 src="imagens/imgbrrazu.gif" width=2 border=0></TD> <TD class=campotitulo align=right width=464>'.$dadosboleto["linha_digitavel"].' </TD></TR> <TR> <TD colSpan=5><IMG height=2 src="imagens/imgpxlazu.gif" width=666 border=0></TD></TR></TBODY></TABLE><BR> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=472 height=13>Local de pagamento</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 bgColor=#ffffcc height=13>Vencimento</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=472 height=12> '.$dadosboleto["local_pagamento"].'</TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 bgColor=#ffffcc height=12>'.$dadosboleto["data_vencimento"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=472 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=472 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=472 height=13>Cedente</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>Agência/Código cedente</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=472 height=12>'.$dadosboleto["cedente"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12>'.$dadosboleto["agencia_codigo"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=472 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=472 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=93 height=13>Data do documento</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=173 height=13>N<U>o</U> documento</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=72 height=13>Espécie doc.</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=34 height=13>Aceite</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=72 height=13>Data process.</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>Nosso número</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=93 height=12>'.$dadosboleto["data_documento"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=173 height=12>'.$dadosboleto["numero_documento"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=72 height=12>'.$dadosboleto["especie_doc"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=34 height=12>'.$dadosboleto["aceite"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=72 height=12>'.$dadosboleto["data_processamento"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12>'.$dadosboleto["nosso_numero"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=93 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=93 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=173 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=173 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=72 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=72 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=34 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=34 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=72 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=72 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=93 bgColor=#ffffcc height=13>Uso do banco</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=93 height=13>Carteira</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=53 height=13>Espécie</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=133 height=13>Quantidade</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=72 height=13>x Valor</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>(=) Valor documento</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=93 bgColor=#ffffcc height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=93 height=12>'.$dadosboleto["carteira"].''.$dadosboleto["variacao_carteira"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=53 height=12>'.$dadosboleto["especie"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=middle width=53 height=12>'.$dadosboleto["quantidade"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=72 height=12>'.$dadosboleto["valor_unitario"].' </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12>'. $dadosboleto["valor_boleto"].' </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=93 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=93 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=93 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=93 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=53 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=53 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=133 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=133 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=72 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=72 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD width=7 rowSpan=5></TD> <TD vAlign=top width=447 rowSpan=5><p><FONT class=titulo>Instruções (Texto de responsabilidade do cedente)</FONT><BR> <br> <FONT class=campo> '.$dadosboleto["instrucoes"] .'<br> '.$dadosboleto["instrucoes1"] .'<br> '.$dadosboleto["instrucoes2"] .'<br> '.$dadosboleto["instrucoes3"] .'<br> '.$dadosboleto["instrucoes4"] .'</FONT></p> <p><FONT class=titulo>Demonstrativo:</FONT><br> <FONT class=campo> '.$dadosboleto["demonstrativo"] .' </FONT></p></TD> <TD align=right width=212> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=18 height=13>27</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>(-) Desconto / Abatimento</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12></TD> <TD class=campo vAlign=top width=18 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12> </TD></TR> <TR> <TD vAlign=top width=7 height=3></TD> <TD vAlign=top width=18 height=3></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD align=right width=212> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=18 height=13>35</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>(-) Outras deduções</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12></TD> <TD class=campo vAlign=top width=18 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12> </TD></TR> <TR> <TD vAlign=top width=7 height=3></TD> <TD vAlign=top width=18 height=3></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD align=right width=212> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=18 height=13>19</TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>(+) Mora / Multa</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12></TD> <TD class=campo vAlign=top width=18 height=12> </TD> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12> </TD></TR> <TR> <TD vAlign=top width=7 height=3></TD> <TD vAlign=top width=18 height=3></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD align=right width=212> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>(+) Outros acréscimos</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 height=12> </TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD align=right width=212> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 bgColor=#ffffcc height=13>(=) Valor cobrado</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top align=right width=180 bgColor=#ffffcc height=12> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD vAlign=top width=666 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=666 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=659 height=13>Sacado</TD></TR> <TR> <TD class=campo vAlign=top width=7 height=36><IMG height=36 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=659 height=36>'.$dadosboleto["sacado"].'<BR>'.$dadosboleto["endereco1"].'<BR>'.$dadosboleto["endereco2"].' </TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=659 height=13>Sacador/Avalista</TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=campo vAlign=top width=7 height=12><IMG height=12 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=campo vAlign=top width=472 height=13> </TD> <TD class=titulo vAlign=top width=7 height=13><IMG height=13 src="imagens/imgbrrlrj.gif" width=5 border=0></TD> <TD class=titulo vAlign=top width=180 height=13>Cód. baixa</TD></TR> <TR> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=472 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=472 border=0></TD> <TD vAlign=top width=7 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=7 border=0></TD> <TD vAlign=top width=180 height=3><IMG height=1 src="imagens/imgpxlazu.gif" width=180 border=0></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=470 height=13></TD> <TD class=titulo vAlign=top width=7 height=13></TD> <TD class=titulo vAlign=top width=182 height=13>Autenticação mecânica - Ficha de Compensação</TD></TR></TBODY></TABLE><BR> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD>'. fbarcode($dadosboleto["codigo_barras"]) .'</TD></TR></TBODY></TABLE><BR> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD class=titulo width=666>Corte na linha pontilhada</TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width=666 border=0> <TBODY> <TR> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD> <TD width=5><IMG height=1 src="imagens/imgpxlazu.gif" width=6 border=0></TD> <TD width=5></TD></TR></TBODY></TABLE><BR><BR></DIV></BODY></HTML>'; include('../dompdf/dompdf.php'); $dompdf = new DOMPDF(); $dompdf->load_html($boleto); $dompdf->set_paper('a4', ''); $dompdf->render(); $dompdf->stream("dompdf_out.pdf"); ?>
Estou quase, modifiquei o html, mas agora so apresenta 1 derro :
Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'An input file is required (i.e. input_file _GET variable).' in C:\Servidor PHP\www\dompdf\dompdf.php:229 Stack trace: #0 C:\Servidor PHP\www\boleto\boleto_itau.php(1686): include() #1 {main} thrown in C:\Servidor PHP\www\dompdf\dompdf.php on line 229
Um detalhe, o código de barra apareceu !
Edição feita por: mofo, 23/05/2009, 19:07.