VB6 Print in .Net

  • Thread starter Thread starter auhagen
  • Start date Start date
A

auhagen

Does anyone have an example of how to emulate this VB6
code?
Printer.Orientation = 1
PrintForm
Printer.EndDoc

Thanks...
 
Hi,

Take a look at the PrintDocument and PrintController classes. There's also
an article in the MSDN Magazine on how to print a text file in .NET.
However, I am not sure you can easily print the contents of the form.
 

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

Back
Top