OBJETO PINTER
encontrei alguns exemplos ak, mas nao conseguir fazer funcionar.. a duvida é: uso um listview onde adiciono os registros nas seguintes colunas:
Ref,Produto,Qtd,SubTotal
e Total Geral, a e soma de SubTotal
e a Soma de SubTotal
e Quero Agora Imprimir os Conteúdo da ListView
já Consigui imprimir isso ak
Option Explicit
Dim Lp As ListItem
Dim vValor1 As Currency
Ref,Produto,Qtd,SubTotal
e Total Geral, a e soma de SubTotal
e a Soma de SubTotal
e Quero Agora Imprimir os Conteúdo da ListView
já Consigui imprimir isso ak
Option Explicit
Dim Lp As ListItem
Dim vValor1 As Currency
Private Sub cmdRecibo_Click()
Printer.Print
Printer.Print
Printer.Print
Printer.Print Tab(8); "S3 BOLSAS & ACESSORIOS"
Printer.Print Tab(8); "Rua Projetada, S/N, Condominio Marcele"
Printer.Print Tab(8); "Fone (0xx) 1111-1111"
Printer.Print Tab(8); "São Luis - Ma"
Printer.Print
Printer.Print
Printer.Print Tab(60); "*** RECIBO DE VENDA ******";
Printer.Print
Printer.Print Tab(8); "Vendedor(a)"; Spc(2); lblVenda.Caption
Printer.Print
Printer.Print Tab(8); "Refer.: "; Spc(5); "Descrição"; Spc(30); "Qtd"; Spc(5); "Vlr.Unitário"; Spc(5); "Sub.Total"
Printer.EndDoc
End Sub
eu faria algo mais ou menos desta maneira:
Neste meu FOR, estou imprimindo o que está no LIST por completo, aàé contigo, fazendo MIDÂÂ's para ajustar o conteúdo do seu LIST na posição correta aonde deverá ser impresso o conteúdo.
[/c]
Option Explicit
Dim Lp As ListItem
Dim vValor1 As Currency
dim CountList as double
[c]Private Sub cmdRecibo_Click()
Printer.Print
Printer.Print
Printer.Print
Printer.Print Tab(8); "S3 BOLSAS & ACESSORIOS"
Printer.Print Tab(8); "Rua Projetada, S/N, Condominio Marcele"
Printer.Print Tab(8); "Fone (0xx) 1111-1111"
Printer.Print Tab(8); "São Luis - Ma"
Printer.Print
Printer.Print
Printer.Print Tab(60); "*** RECIBO DE VENDA ******";
Printer.Print
Printer.Print Tab(8); "Vendedor(a)"; Spc(2); lblVenda.Caption
Printer.Print
Printer.Print Tab(8); "Refer.: "; Spc(5); "Descrição"; Spc(30); "Qtd"; Spc(5); "Vlr.Unitário"; Spc(5); "Sub.Total"
countList = list.listcount - 1
for i=0 to countlist
printer.print list.list(list.listindex(i)
next i
Printer.EndDoc
End Sub
Neste meu FOR, estou imprimindo o que está no LIST por completo, aàé contigo, fazendo MIDÂÂ's para ajustar o conteúdo do seu LIST na posição correta aonde deverá ser impresso o conteúdo.
[/c]
bom, LCSD. achei algo parecido, como esse q vc colocou e é exatamente a minha dificudade... é na formatação.... nas seguintes colunas no list.. com os itens Adicionado
Ref,produto,Qtd,Sub.total
Ref,produto,Qtd,Sub.total
isso nao seria ECF neh ?
NÃO, IMPRESSORA NORMAL.EXEMPLO: JATO DE TINTA
alguem mais pode ajudar ?
por favor, amigos uma ajudinha....
Tópico encerrado , respostas não são mais permitidas