471,354 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

print 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 ?
Jun 27 '08 #1
1 1353
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.

Similar topics

7 posts views Thread by Ron | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.