Printing a document

  • Thread starter Thread starter john sutor
  • Start date Start date
J

john sutor

Does anyone know how to print a document. This should be simple. Here is
my code
I get a blank page
string sdoc="C:\\Test1.txt";

this.prtDocument.DocumentName=sdoc;

this.prtDocument.Print();
 

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