Printing...
Howdy....
I am trying to use some of the examples on this website and the msdn to print with C#.
Without fail, even with the downloaded example from the article
http://www.c-sharpcorner.com/winforms/texteditor.asp
and
http://www.c-sharpcorner.com/Code/2003/March/FormPrinting.asp
... I get the following error: System.ComponentModel.Win32Exception: The parameter is incorrect
I assume it's some kind of configuration issue. It happens right as it tries to fire off the printing. I can get a PrintDialog or PrintPreviewDialog up just fine. But as soon it tries to spool pages to the printer, I get that error. Any help is greatly appreciated :)
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

edjo_hacam3 reputationPosted Jun 16, 2004, 6:21 PM EDT