I have written a small shopping list program (VB 6)that puts items from a combo box into a list box and then prints the list. If the list is too long for the page it continues printing onto another page. I would like the printer to print another column on the same page say, after 40 items in column one. Could you help with the code for this please. The code I have at present is:- Dim i As Long Printer.FontBold = True Printer.FontSize = 16 For i = 0 To ListItem.ListCount -1 Printer.Print ListItem.List(i) Next
Printer.EndDoc
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visual Basic Forum.