PDA

Click to See Complete Forum and Search --> : Print lists on the printer


Matt-D
Jan 3rd, 2000, 08:01 PM
I have a list (list1) and want to print it on the printer. But with the method I know zhe printer onli prints on line or the first selected item.

This doesn't work:
Printer.print list1
Printer.EndDoc

How must I write the code (in VB3)?

onerrorgoto
Jan 3rd, 2000, 08:24 PM
Try this small code

dim intX as integer
for intx=0 to list1.listcount
printer.print list1.list(intX)
next intx


(If you use debug.print instead it prints to the immideate window)

------------------
On Error Goto Bed :0)
anders@zsystemdesign.se