que eu estou com dúvidas referente ao convenio com o banco, pois o convenio é de 7 digitos e eu não
consigo identificar se o boleto que eu possuo é para 6 ou 7 digitos. vou colocar o código dos arquivos
abaixo, e se alguém puuder verificar, se esta de acordo com o que o banco do brasil solicita, pois eu acho
que deve ter algum erro.
Desde já agradeço.
preparaboleto.asp
<!--#include file="../funcoes.asp"--> <% compra = request("compra") nome_loja = loja("nome_loja") cpf_cnpj = loja("cnpj") cedente = loja("razao_social") boleto_desconto = boleto("desconto") boleto_banco = boleto("banco") boleto_taxa = 0 'dados("tarifa", "config_boleto", "") boleto_prazo = 3 'dados("prazo", "config_boleto", "") boleto_agencia = boleto("agencia") 'boleto_ag_digito = dados("ag_digito", "config_boleto", "") boleto_conta = boleto("conta") boleto_ct_digito = boleto("ct_digito") boleto_cod_cedente = boleto("codigo_cedente") boleto_convenio = boleto("convenio") cotacao = 1 'moeda = dados("moeda", "config_geral", "") 'Calcula o vencimento da compra adiciona = CDate(Date) + boleto_prazo If Len(Day(adiciona)) = 1 Then dia = "0"&day(adiciona) Else dia = day(adiciona) End If If Len(Month(adiciona)) = 1 Then mes = "0"&Month(adiciona) Else mes = Month(adiciona) End If vencimento = dia &"/"& mes &"/"& Year(Now) data_venc = vencimento 'Procura a compra Set cp = conexao.execute("SELECT * FROM compras WHERE idcompra='"&compra&"'") If cp.eof Or cp.bof Then response.write " A compra "&compra&" não foi localizada!" End If Set cl = conexao.execute("SELECT * FROM clientes WHERE email='"&cp("clienteid")&"'") tatlis = 1 + hash(cp("frete")) + hash(cp("totalcompra")) - 1 If cp("cupom") <> "" Then sql = "SELECT * FROM cupom WHERE codigo='"& hash(cp("cupom")) &"'" Set cpc = conexao.execute(sql) If cpc("tipo")= "porcentagem" Then valor_total = tatlis - (tatlis * cpc("valor") / 100) ElseIf cpc("tipo") = "dinheiro" Then valor_total = tatlis - cpc("valor") End If Else valor_total = tatlis End If valor_total = formatnumber(valor_total - (valor_total * boleto("desconto") / 100),2) Set cpc= Nothing 'Pega o último nosso número 'Calcula o valor final da compra valor_total = formatnumber(1 + valor_total + boleto_taxa -1,2) valor_cobrado = replace(formatnumber(valor_total,2), ".","") valor_boleto = valor_cobrado nosso_numero = replace(cp("idcompra"),",","") 'nosso_numero = "2254655" numero_documento = replace(cp("idcompra"),",","") data_vencimento = data_venc data_documento = date data_processamento = cp("datacompra") sacado = hash(cl("nome")) sacado_cep = hash(cl("cep")) sacado_cidade = hash(cl("cidade")) sacado_estado = hash(cl("estado")) endereco1 = hash(cl("endereco"))&", "& hash(cl("complemento")) endereco2 =hash(cl("cidade")) &" - "& hash(cl("estado")) &" - CEP:"& hash(cl("cep")) Set ct = conexao.execute("select * from config_boleto") obs1 = "Pagamento de Compra Nº "&cp("idcompra")&" na Loja " &nome_loja obs2 = ct("obs_linha1") obs3 = ct("obs_linha2") obs4 = ct("obs_linha3") obs5 = ct("obs_linha4") ins1 = ct("instr_linha1") ins2 = ct("instr_linha2") ins3 = ct("instr_linha3") ins4 = ct("instr_linha4") ct.close Set ct = Nothing cp.close Set cp = Nothing quantidade = "" valor_unitario = "" aceite = "" so_banco = "" especie = "R$" especie_doc = "" Select Case boleto_banco Case "bhsbc.asp" %> <!--#include file="hsbc.asp"--> <% Case "bitau.asp" %> <!--#include file="itau.asp"--> <% Case "bbb.asp"%> <!--#include file="bb.asp"--> <% Case "bcaixa.asp" %> <!--#include file="caixa.asp"--> <% Case "unibanco" %> <!--#include file="unibanco.asp"--> <% Case "breal.asp" %> <!--#include file="real.asp"--> <% Case "bbradesco.asp" %> <!--#include file="bradesco.asp"--> <% 'Case "bcaixa.asp" %> <!-- include file="caixa.asp"--> <% End Select %>
bb.asp
<% 'BoleTo Bancário Unibanco 'Carteira Especial - Sem Registro 'Andrews - 15/04/2009 'Define primeiro a composição do código de barras '1 a 3 - Código do Banco = 409 '4 - Código da Moeda = 9 '5 - Código VerificadOr de Código de Barras '6 a 9 - FavOr do vencimento, 4 digitos '10 a 19 - Valor do boleTo com zeros a esquerda - 10 digitos '20 - Codigo Fixo de Transação = 5 '21 a 27 - Código do Cliente no código de barras + DV verificadOr - 7 digitos '28 e 29 - Vago, usar 00 '30 a 43 - Numero de referencia do nosso numero - 14 digitos '44 - DigiTo Verificador banco = "001" moeda = "9" dv = "" fator_vencimenTo = f_vencimento(data_vencimento) Valor = formata_numero(valor_boleto, 10, 0, "valor") carteira = "5" codigo_de_cliente = boleto_cod_cedente zeros = "00" nosso_num = formata_numero(nosso_numero, 14, 0, "geral") dv_nosso_num = modulo_11(nosso_num) 'Monta o código de barras, com 43 digitos, sem DV codigo_barras = banco&moeda&fator_vencimento&valor&carteira&codigo_de_cliente&zeros& nosso_num&dv_nosso_num 'Calcula o DV do codigo de barros dv = digitoVerificador_barra(codigo_barras) linha = codigo_barras&dv 'Monta agora a linha digitada '1º BLOCO 'Banco, Moeda, CVT - Carteira, 4 primeiros Código Cliente, DV modulo 10 campo1 = banco&moeda&carteira&left(codigo_de_cliente, 4) campo1 = campo1 &modulo_10(campo1) campo1 = left(campo1, 5) &"."& right(campo1, 5) '2º BLOCO '3 ultimos Código Cliente, Zeros 00, 5 primeiros nosso numero, DV modulo 10 campo2 = right(codigo_de_cliente, 3)&zeros&left(nosso_num, 5) campo2 = campo2 & modulo_10(campo2) campo2 = left(campo2, 5) &"."& right(campo2, 6) '3º BLOCO '9 ultimos nosso numero, DV modulo 10 'Último digiTo da agencia, conta com dac, 3 zeros campo3 = right(nosso_num&dv_nosso_num, 10) campo3 = campo3 & modulo_10(campo3) campo3 = left(campo3, 5) &"."& right(campo3, 6) '4º BLOCO 'DV codigo barras campo4 = dv '5º BLOCO 'FatOr de vencimento, valor. campo5 = fator_vencimento&valor 'Monta linha linha_digitavel = campo1 &" "& campo2 &" "& campo3 &" "& campo4 &" "& campo5 'Prepara os ítens para a folha do boleto codigo_banco_com_dv = geraCodigoBanco(banco) nossonumero = "1/"&nosso_num&"/"&dv_nosso_num agencia = formata_numero(boleto_agencia, 4, 0, "geral") ' testado, ok! conta = formata_numero(boleto_conta, 5, 0 , "geral") ' testado, ok! conta_dv = formata_numero(boleto_ct_digito, 1, 0, "geral") ' testado, ok! dac_agconta = modulo_10(agencia&conta) agencia_codigo = boleto_agencia&" / "& boleto_conta&"-"&modulo_10(boleto_agencia&boleto_conta) nosso_numero = nossonumero '**** FUNÇÕES USADAS NA GERAÇÃO DO BOLETO 'Calcula o DV da BARRA Function digitoVerificador_barra(numero) resto2 = modulo_11(numero) If resto2 = 0 Or resto2 = 1 Or resto2 = 10 Or resto2 = 11 Then dv = 1 Else dv = resto2 End If digitoVerificador_barra = dv End Function 'Formata o numero Function formata_numero(numero, Loops, insert, tipo) Select Case tipo Case "geral" numero = Replace(numero, ", ", "") Do While Len(numero) < Loops numero = insert & numero Loop Case "valor" numero = Replace(numero, ", ", "") Do While Len(numero) < Loops numero = insert & numero Loop Case "convenio" Do while (Len(numero) < Loops) numero = insert & numero Loop End Select formata_numero = numero End Function 'Calcula o favor de vencimento Function f_vencimento(vencimento) If Len(vencimento)<8 Then f_vencimenTo = "0000" Else f_vencimenTo = datevalue(""&vencimento&"")-datevalue("1997/10/07") End If End Function 'Calcula módulo Function modulo_10(cadeia) mult=(Len(cadeia) Mod 2) mult=mult+1 total=0 For pos=1 To Len(cadeia) res= mid(cadeia, pos, 1) * mult If res>9 Then res=int(res/10) + (res Mod 10) End If total=total+res If mult=2 Then mult=1 Else mult=2 End If Next total=((10-(total Mod 10)) Mod 10 ) CALCDIG10=total modulo_10 = CALCDIG10 End Function 'Calcula MOD11 Function modulo_11(cadeia) limitesup = 9 lflag = 0 mult=1 + (Len(cadeia) Mod (limitesup-1)) If mult=1 Then mult=limitesup End If total=0 For pos=1 To Len(cadeia) total=total+(mid(cadeia, pos, 1) * mult) mult=mult-1 If mult=1 Then mult=limitesup End If Next nresto=(total Mod 11) If lflag = 1 Then calcdig11=nresto Else If nresto=0 Or nresto=1 Or nresto=10 Then ndig=1 Else ndig=11 - nresTo End If calcdig11=ndig End If modulo_11 = calcdig11 End Function 'Gera código do Banco Function geraCodigoBanco(numero) parte1 = left(numero, 3) parte2 = modulo_11(parte1) geraCodigoBanco = parte1 &"-"& parte2 End Function 'Monta o Código de Barras Function fbarcode(valor) Dim f, f1, f2, i Dim texto Const fino = 1 Const largo = 3 Const altura = 50 Dim BarCodes(99) If isempty(BarCodes(0)) Then BarCodes(0) = "00110" BarCodes(1) = "10001" BarCodes(2) = "01001" BarCodes(3) = "11000" BarCodes(4) = "00101" BarCodes(5) = "10100" BarCodes(6) = "01100" BarCodes(7) = "00011" BarCodes(8) = "10010" BarCodes(9) = "01010" For f1 = 9 To 0 step -1 For f2 = 9 To 0 Step -1 f = f1 * 10 + f2 texTo = "" For i = 1 To 5 texTo = texTo & mid(BarCodes(f1), i, 1) + mid(BarCodes(f2), i, 1) Next BarCodes(f) = texto Next Next End If 'Desenho da barra ' Guarda inicial %> <img src="imagens/p.gIf" width="<%=fino%>" height="<%=altura%>" border="0"> <img src="imagens/b.gIf" width="<%=fino%>" height="<%=altura%>" border="0"> <img src="imagens/p.gIf" width="<%=fino%>" height="<%=altura%>" border="0"> <img src="imagens/b.gIf" width="<%=fino%>" height="<%=altura%>" border="0"> <img <% texTo = valor If Len( texTo ) Mod 2 <> 0 Then texTo = "0"& texto End If ' Draw dos dados Do While Len(texto) > 0 i = cint( left( texto, 2) ) texTo = right( texto, Len( texTo ) - 2) f = BarCodes(i) For i = 1 To 10 step 2 If mid(f, i, 1) = "0" Then f1 = fino Else f1 = largo End If %> src="imagens/p.gIf" width="<%=f1%>" height="<%=altura%>" border="0"> <img <% If mid(f, i + 1, 1) = "0" Then f2 = fino Else f2 = largo End If %> src="imagens/p.gIf" width="<%=f2%>" height="<%=altura%>" border="0"> <img <% Next Loop ' Draw guarda final %> src="imagens/p.gIf" width="<%=largo%>" height="<%=altura%>" border="0"> <img src="imagens/b.gIf" width="<%=fino%>" height="<%=altura%>" border="0"> <img src="imagens/p.gIf" width="<%=1%>" height="<%=altura%>" border="0"> <% End Function %> <!doctype html public '-//W3C//DTD HTML 4.0 Transitional//EN'> <html> <head> <title>Impressão de BoleTo Bancário</title> <meta http-equiv="Content-Type" content="text/html" charset="ISO-8859-1"> <style type="text/css"> <!-- .cp { font: bold 10px Arial; color: black; } .ti { font: 9px Arial, Helvetica, sans-serif; } .ld { font: bold 15px Arial; color: #000000; } .ct { font: 9px "Arial Narrow"; color: #000033 } .cn { font: 9px Arial; color: black; } .bc { font: bold 20px Arial; color: #000000 } .ld2 { font: bold 12px Arial; color: #000000; } --> </style> </head> <body text="#000000" bgColor="#ffffff" topMargin="0" rightMargin="0"> <table width="666" cellspacing="0" cellpadding="0" border="0"> <tr> <td valign="top" class="cp"> <div align="center"> Instruções de Impressão </div> </td> </tr> <tr> <td valign="top" class="cp"> <div align="left"> <p> <li>Imprima em impressora jaTo de tinta (ink jet) ou laser em qualidade normal ou alta (Não use modo econômico).<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.<br /> <li>Caso não apareça o código de barras no final, clique em F5 para atualizar esta tela. <li>Caso tenha problemas ao imprimir, copie a seqüencia numérica abaixo e pague no caixa eletrônico ou no internet banking:<br /> </p> <br /> <span class="ld2"> Linha Digitável: <%=linha_digitavel%><br /> Valor: R$ <%=valor_cobrado%><br /> </span> </div> </td> </tr> </table> <br /> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tbody> <tr> <td class="ct" width="666"><img height="1" src="imagens/6.png" width="665" border="0"></td> </tr> <tr> <td class="ct" width="666"><div align="right"><b class="cp">Recibo do Sacado</b></div></td> </tr> </tbody> </table> <table width="666" cellspacing="5" cellpadding="0" border="0"> <tr> <td width="41"></td> </tr> </table> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tr> <td class="cp" width="150"> <img src="imagens/logobb.jpg" width="150" height="40"> </td> <td width="3" valign="bottom"> <img height="22" src="imagens/3.png" width="2" border="0"> </td> <td class="cpt" width="58" valign="bottom"> <div align="center"> <font class=bc><%=codigo_banco_com_dv%></font> </div> </td> <td width="3" valign="bottom"> <img height="22" src="imagens/3.png" width="2" border="0"> </td> <td class="ld" align="right" width="453" valign="bottom"> <span class="ld"> <span class="campotitulo"> <%=linha_digitavel%> </span> </span> </td> </tr> <tbody> <tr> <td colspan="5"><img height="2" src="imagens/2.png" width="666" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="298" height="13" >Cedente</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width=126 height="13" >Agência/Código do Cedente</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="34" height="13" >Espécie</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="53" height="13" >Quantidade</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width=120 height="13" >Nosso número</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="298" height="12"><span class="campo"><%=boleto("cedente")%></span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width=126 height="12"> <span class="campo"> <%=agencia_codigo%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="34" height="12"><span class="campo"> <%=especie%> </span> </td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="53" height="12"><span class="campo"> <%=quantidade%> </span> </td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width=120 height="12"><span class="campo"> <%=nosso_numero%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="298" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="298" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width=126 height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width=126 border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="34" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="34" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="53" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="53" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width=120 height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width=120 border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" colspan="3" height="13" >Número do documento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="132" height="13" >CPF/CNPJ</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="134" height="13" >Vencimento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >Valor documento</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" colspan="3" height="12"><span class="campo"> <%=numero_documento%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="132" height="12"><span class="campo"> <%=cpf_cnpj%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="134" height="12"><span class="campo"> <%=data_vencimento%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="180" height="12"><span class="campo"> <%=valor_cobrado%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="113" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="113" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="72" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="72" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="132" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="132" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="134" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="134" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="113" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/negative.png' class='bbc_emoticon' alt='(-)' /> DesconTo / Abatimentos</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="112" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/negative.png' class='bbc_emoticon' alt='(-)' /> Outras deduções</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="113" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/positive.png' class='bbc_emoticon' alt='(+)' /> Mora / Multa</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="113" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/positive.png' class='bbc_emoticon' alt='(+)' /> Outros acréscimos</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >(<img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/original.gif' class='bbc_emoticon' alt='=)' /> Valor cobrado</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="113" height="12"></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="112" height="12"></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="113" height="12"></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="113" height="12"></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="180" height="12"></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="113" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="113" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="112" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="112" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="113" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="113" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="113" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="113" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="659" height="13" >Sacado</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="659" height="12"><span class="campo"> <%=sacado%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="659" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="659" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" width="7" height="12"></td> <td class="ct" width="564" >Demonstrativo</td> <td class="ct" width="7" height="12"></td> <td class="ct" width="88" >Autenticação mecânica</td> </tr> <tr> <td width="7" ></td> <td class="cp" width="564" > <span class="campo"> <%=obs1%><br /> <%=obs2%><br /> <%=obs3%><br /> <%=obs4%><br /> <%=obs5%><br /> </span> </td> <td width="7" ></td> <td width="88" ></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tbody> <tr> <td width="7"></td> <td width="500" class="cp"><br /><br /><br /> </td> <td width="159"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tr> <td class="ct" width="666"></td> </tr> <tbody> <tr> <td class="ct" width="666"><div align="right">Corte na linha pontilhada</div></td> </tr> <tr> <td class="ct" width="666"><img height="1" src="imagens/6.png" width="665" border="0"></td> </tr> </tbody> </table> <br /> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tr> <td class="cp" width="150"><img src="imagens/logobb.jpg" width="150" height="40"></td> <td width="3" valign="bottom"><img height="22" src="imagens/3.png" width="2" border="0"></td> <td class="cpt" width="58" valign="bottom"><div align="center"><font class=bc><%=codigo_banco_com_dv%></font></div></td> <td width="3" valign="bottom"><img height="22" src="imagens/3.png" width="2" border="0"></td> <td class="ld" align="right" width="453" valign="bottom"><span class="ld"> <span class="campotitulo"> <%=linha_digitavel%> </span></span></td> </tr> <tbody> <tr> <td colspan=5><img height="2" src="imagens/2.png" width="666" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="472" height="13" >Local de pagamento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >Vencimento</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="472" height="12">Pagável em qualquer Banco até o vencimento</td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="180" height="12"><span class="campo"> <%=data_vencimento%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td width="472" height="1" valign="top" bgcolor="#000000" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="472" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="472" height="13" >Cedente</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >Agência/Código cedente</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="472" height="12"><span class="campo"> <%=cedente%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="180" height="12"><span class="campo"> <%=agencia_codigo%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="472" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="472" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="113" height="13" >Data do documento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="153" height="13" >N<u>o</u> documento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="62" height="13" >Espécie doc.</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="34" height="13" >Aceite</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="82" height="13" >Data processamento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >Nosso número</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="113" height="12"><div align="left"> <span class="campo"> <%=data_documento%> </span></div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="153" height="12"><span class="campo"> <%=numero_documento%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="62" height="12"><div align="left"><span class="campo"> <%=especie_doc%> </span> </div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="34" height="12"><div align="left"><span class="campo"> <%=aceite%> </span> </div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="82" height="12"><div align="left"> <span class="campo"> <%=data_processamento%> </span></div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="180" height="12"><span class="campo"> <%=nosso_numero%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="113" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="113" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="153" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="153" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="62" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="62" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="34" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="34" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="82" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="82" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" COLSPAN="3" height="13" >Uso do banco</td> <td class="ct" valign="top" height="13" width="7"><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="83" height="13" >Carteira</td> <td class="ct" valign="top" height="13" width="7"><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="53" height="13" >Espécie</td> <td class="ct" valign="top" height="13" width="7"><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width=123 height="13" >Quantidade</td> <td class="ct" valign="top" height="13" width="7"><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="72" height="13" > Valor Documento</td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >(<img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/original.gif' class='bbc_emoticon' alt='=)' /> Valor documento</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td valign="top" class="cp" height="12" COLSPAN="3"><div align="left"> </div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="83"><div align="left"> <span class="campo"> <%=boleto("carteira")%> </span> </div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="53"><div align="left"><span class="campo"> <%=especie%> </div></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="123"><span class="campo"> <%=quantidade%> </span> </td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="72"><span class="campo"> <%=valor_unitario%> </span></td> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" align="right" width="180" height="12"><span class="campo"> <%=valor_cobrado%> </span></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width=75 border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width=31 height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width=31 border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="83" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="83" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="53" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="53" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width=123 height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width=123 border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="72" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="72" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tbody> <tr> <td align="right" width=10> <table cellspacing="0" cellpadding="0" border="0" align="left"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="1" border="0"></td> </tr> </tbody> </table> </td> <td valign="top" width="468" rowspan="5"> <font class="ct">Instruções (TexTo de responsabilidade do cedente)</font><br /><br /> <span class="cp"> <font class="campo"> <%=ins1%><br /> <%=ins2%><br /> <%=ins3%><br /> <%=ins4%> </font><br /><br /> </span> </td> <td align="right" width="188"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> <td class="ct" valign="top" width="180" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/negative.png' class='bbc_emoticon' alt='(-)' /> DesconTo / Abatimentos</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> <td class="cp" valign="top" align="right" width="180" height="12"></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="7" border="0"> </td> <td valign="top" width="180" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="180" border="0"> </td> </tr> </tbody> </table> </td> </tr> <tr> <td align="right" width=10> <table cellspacing="0" cellpadding="0" border="0" align="left"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="1" border="0"> </td> </tr> </tbody> </table> </td> <td align="right" width="188"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> <td class="ct" valign="top" width="180" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/negative.png' class='bbc_emoticon' alt='(-)' /> Outras deduções</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> <td class="cp" valign="top" align="right" width="180" height="12"> </td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="7" border="0"> </td> <td valign="top" width="180" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="180" border="0"> </td> </tr> </tbody> </table> </td> </tr> <tr> <td align="right" width="10"> <table cellspacing="0" cellpadding="0" border="0" align="left"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="1" border="0"> </td> </tr> </tbody> </table> </td> <td align="right" width="188"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> <td class="ct" valign="top" width="180" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/positive.png' class='bbc_emoticon' alt='(+)' /> Mora / Multa</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> <td class="cp" valign="top" align="right" width="180" height="12"> </td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="7" border="0"> </td> <td valign="top" width="180" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="180" border="0"> </td> </tr> </tbody> </table> </td> </tr> <tr> <td align="right" width="10"> <table cellspacing="0" cellpadding="0" border="0" align="left"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="1" border="0"> </td> </tr> </tbody> </table> </td> <td align="right" width="188"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> <td class="ct" valign="top" width="180" height="13" ><img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/positive.png' class='bbc_emoticon' alt='(+)' /> Outros acréscimos</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> <td class="cp" valign="top" align="right" width="180" height="12"></td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="7" border="0"> </td> <td valign="top" width="180" height="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="180" border="0"> </td> </tr> </tbody> </table> </td> </tr> <tr> <td align="right" width="10"> <table cellspacing="0" cellpadding="0" border="0" align="left"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> </tr> </tbody> </table> </td> <td align="right" width="188"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> <td class="ct" valign="top" width="180" height="13" >(<img src='http://forum.wmonline.com.br/public/style_emoticons/<#EMO_DIR#>/original.gif' class='bbc_emoticon' alt='=)' /> Valor cobrado </td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> <td class="cp" valign="top" align="right" width="180" 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="1" style="bgcolor:#000000"> <img height="1" src="imagens/2.png" width="666" border="0"> </td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" > <img height="13" src="imagens/1.png" width="1" border="0"> </td> <td class="ct" valign="top" width="659" height="13" >Sacado</td> </tr> <tr> <td class="cp" valign="top" width="7" height="12"> <img height="12" src="imagens/1.png" width="1" border="0"> </td> <td class="cp" valign="top" width="659" height="12"> <span class="campo"><%=sacado%></span> </td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="cp" valign="top" width="7" height="12"><img height="12" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="659" height="12"><span class="campo"> <%=endereco1%> </span> </td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="cp" valign="top" width="472" height="13" ><span class="campo"> <%=endereco2%> </span></td> <td class="ct" valign="top" width="7" height="13" ><img height="13" src="imagens/1.png" width="1" border="0"></td> <td class="ct" valign="top" width="180" height="13" >Cód. baixa</td> </tr> <tr> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="472" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="472" border="0"></td> <td valign="top" width="7" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="7" border="0"></td> <td valign="top" width="180" height="1" style="bgcolor:#000000"><img height="1" src="imagens/2.png" width="180" border="0"></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" border="0" width="666"> <tbody> <tr> <td class="ct" width="7" height="12"></td> <td class="ct" width="409" >Sacador/Avalista</td> <td class="ct" width="250" ><div align="right">Autenticação mecânica - <b class="cp">Ficha de Compensação</b></div></td> </tr> <tr> <td class="ct" colspan="3" ></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tbody> <tr> <td valign="bottom" align="left" height="50"><%=fbarcode(linha)%></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="666" border="0"> <tr> <td class="ct" width="666"></td> </tr> <tbody> <tr> <td class="ct" width="666"><div align="right">Corte na linha pontilhada</div></td> </tr> <tr> <td class="ct" width="666"><img height="1" src="imagens/6.png" width="665" border="0"></td> </tr> </tbody> </table> </body> </html>
Edição feita por: Renan L. Queiroz, 08/02/2010, 14:52.
Formatação do script para melhor entendimento