ASP.NET 3.5
I am trying to print from a Webservice on Windows 2003 box, but I am getting
the following error when I try to print
I have tried the following solution but it did not help
http://support.microsoft.com/?kbid=184291
(I have a local and a network printer installed)
Is there a fix for this problem or should I be using different solution for
printing on the server?
The Error:
System.Drawing.Printing.InvalidPrinterException: No printers are installed.
at System.Drawing.Printing.PrinterSettings.GetHdevmod eInternal()
at System.Drawing.Printing.PrinterSettings.GetHdevmod e()
at System.Drawing.Printing.PageSettings.GetPaperSize( IntPtr modeHandle)
at System.Drawing.Printing.PageSettings.get_PaperSize ()
at
CrystalDecisions.CrystalReports.Engine.PrintOption s.FindPaperSize(PrinterSettings
printer, PaperSize size)
at
CrystalDecisions.CrystalReports.Engine.PrintOption s.CopyTo(PrinterSettings
printer, PageSettings page)
at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.PrintToPrinter(Int32
nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
Thank You
Peter