TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jpietrasnh
NA
3
0
Printing using only PrintDocument
Jun 1 2004 11:18 AM
WEvery example I've seen includes either StreamReader or PrintDialog. I am trying to (simply - which may not be the right word) convert a simple print routine from VB6 to VB.Net I have a series of print program written in VB6. Each of them prints from arrays built after a file has been opened. When the user clicks on "Print XYZ report", the click event contains the following pseudo-code: Private Sub PrintXYZ_Click() For index = 1 to max If line_ctr > 0 then printer.newpage printer.print Header_1 printer.fontsize = 10 printer.print Header_2 printer.fontsize = 8 l line_ctr = 2 endif printer.print Name(index) line_ctr = line_ctr + 1 new index end sub What is necessary to do this painlessly. Thanx
Reply
Answers (
2
)
closing form
List View color