By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,671 Members | 1,556 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,671 IT Pros & Developers. It's quick & easy.

print file

P: n/a
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 ?
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jun 26, 11:38*am, Nortas <norta...@gmail.comwrote:
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
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.