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

C# Printing

P: 1
Hello sir,
I am privileged enough to be a user of ur site.
How could print output in c# using visual studio 005?
Mar 22 '07 #1
Share this Question
Share on Google+
1 Reply


SammyB
Expert 100+
P: 807
Hello sir,
I am privileged enough to be a user of ur site.
How could print output in c# using visual studio 005?
You use the PrintDocument component from your toolbox. See PrintDocument Class. Then you code the PrintPage event. Finally, you call the Print() method of the PrintDocument object to start the print process.

There are also PrintDialog, PrintPreviewControl and PrintPreviewDialog components in the toolbox to help you with other aspects of printing.

HTH --Sam
Mar 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.