I am tring to print a list in vb 5 does anyone have a code for it using printer.print
Thanks

Recommended Answers

All 2 Replies

please specify the problem clearly.

Waht do you mean by a list.

use this code :-

dim i as integer

for i=1 to 12
list1.additem monthname(i)
next i

for i=0 to list1.listcount-1
printer.print list1.list(i)
printer.enddoc
next i

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.