print file

  • Thread starter Thread starter Nortas
  • Start date Start date
N

Nortas

Hi!!
I'm new in c#
I have this:
PrintDocument pd = new PrintDocument();
pd.PrintPage += new
PrintPageEventHandler(this.PrintPageEvent);
pd.Print();
And i have a file myFile.something
How do i print this file ?
 
Hi!!
I'm new in c#
I have this:
                PrintDocument pd = new PrintDocument();
                pd.PrintPage += new
PrintPageEventHandler(this.PrintPageEvent);
                pd.Print();
And i have a file    myFile.something
How do i print this file ?


what kind of file?
using PrintDocument you take care of ALL the printing logic, you have
to take care of the pagination, etc
 

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