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.Invali dPrinterExcepti on: No printers are installed.
at System.Drawing. Printing.Printe rSettings.GetHd evmodeInternal( )
at System.Drawing. Printing.Printe rSettings.GetHd evmode()
at System.Drawing. Printing.PageSe ttings.GetPaper Size(IntPtr modeHandle)
at System.Drawing. Printing.PageSe ttings.get_Pape rSize()
at
CrystalDecision s.CrystalReport s.Engine.PrintO ptions.FindPape rSize(PrinterSe ttings
printer, PaperSize size)
at
CrystalDecision s.CrystalReport s.Engine.PrintO ptions.CopyTo(P rinterSettings
printer, PageSettings page)
at
CrystalDecision s.CrystalReport s.Engine.Format Engine.PrintToP rinter(Int32
nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
Thank You
Peter