[Mono-bugs] [Bug 80741][Maj] Changed - Crash when initializing PrinterSettings class
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Feb 9 07:01:00 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=80741
--- shadow/80741 2007-02-09 06:38:06.000000000 -0500
+++ shadow/80741.tmp.28751 2007-02-09 07:01:00.000000000 -0500
@@ -372,6 +372,16 @@
Looking at the code
(http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System.Drawing/System.Drawing.Printing/PrintingServicesUnix.cs?rev=71372&view=auto),
it may be that on your box, GetAlternativeDefaultPrinter() doesn't get
called. I updated the sample code to call
GetAlternativeDefaultPrinter() using reflection. Does it still work
for you?
+
+------- Additional Comments From gert.driesen at pandora.be 2007-02-09 07:01 -------
+I ran into a similar issue once when I configured my box to use some
+label printer.
+
+When I configured the default printer as some HP Deskjet series, it
+worked fine.
+
+I don't have an actual printer attached to my box, I only configured
+one to allow some (local) printing tests to pass.
More information about the mono-bugs
mailing list