New to .Net (Printing)

R

Robert

In VB 6.0, I would use the following
printer.print tab(5)"Some Text"
printer.enddoc

I have VS 2005 Standard running on XP-Pro SP2

The above code does not work.
How do I send data to the Printer?

Any pointers would be appreciated.

Thanks in advance
bob
(e-mail address removed)
 
K

Kerry Moorman

Lloyd,

I was excited about that printer compatibility library when I first saw it.
But after trying it with some really simple printing tasks I found it to be
so buggy as to be essentially useless.

Kerry Moorman
 
R

Robert

Had a look at the link, just prints the form.

Does not print any data.

Still cannot find out how to simply send data to the printer.
Simple in VB 6 Printer.Print...

Any samples how to print data?
Have database, text files that will need to be printed, depending on user's
selection.

Thanks in advance.
bob
(e-mail address removed)
 
A

Armin Zingler

Robert said:
Had a look at the link, just prints the form.

Does not print any data.

No. See sub topics "how to: create standard windows forms print jobs" and
"PrintDocument Component (Windows Forms)"


Armin
 
R

Robert

Works if you want a none text file:

Armin Zingler said:
No. See sub topics "how to: create standard windows forms print jobs" and
"PrintDocument Component (Windows Forms)"


Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top