Windows Develop Bookmark and Share   
 index > Windows Forms General > print preview problem its urgent
 

print preview problem its urgent

Hi All,

i am using printpreviewdialog control for show my print preview but after this when i press print button the print and printpreview is show different can any body help its urgent

thanks,

reddy_rs  Wednesday, December 26, 2007 2:34 PM

That is because when you generate the Print Preview, the Print event is called, and when you click the Print button, the Print event is called "again" so what is probably happening is that some global variable gets modified on the print event and when you call it again, the variable will caus a different output.

Fábio Franco  Wednesday, December 26, 2007 5:07 PM

That is because when you generate the Print Preview, the Print event is called, and when you click the Print button, the Print event is called "again" so what is probably happening is that some global variable gets modified on the print event and when you call it again, the variable will caus a different output.

Fábio Franco  Wednesday, December 26, 2007 5:07 PM

Post your PrintPage code.

JohnWein  Wednesday, December 26, 2007 11:15 PM

You can use google to search for other answers

Custom Search

More Threads

• Scope of Module Variable
• SOUGTING HELP ON RICHTEXTBOX
• How to add multiple lines to a textbox
• Place menu after particular menu pad
• VB.NET 2005 - Web Browser - New Window
• Instant messenger
• Disable all mdichildrens except the active one
• MissingManifestResourceException using images on controls
• how to merge and store corrdinates of mouse location?
• how to limit number of instances of a form being opened?