Last post Jan 22, 2013 01:59 AM by rsrvs214
Jan 21, 2013 12:51 AM|Abdul Muqeet|LINK
i want to print crystal report , when i try to print with this code its giving me this error.
A StartDocPrinter call was not issued
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: A StartDocPrinter call was not issued
Line 227: Report.SetDataSource(dt);
Line 228: Report.Refresh();
Line 229: Report.PrintToPrinter(1, false, 1, 1);
Line 230: }
protected void Print(object sender, EventArgs e)
ReportDocument Report = new ReportDocument();
Report.PrintToPrinter(1, true, 1, 1);
Jan 22, 2013 01:00 AM|necro_mancer|LINK
please kindly refer to http://support.microsoft.com/kb/121074
Please mark this response as an "answer" if it helps you. Thanks heaps
Jan 22, 2013 01:15 AM|Abdul Muqeet|LINK
i am trying to connect network printer . there is no printer connected to server.
i cant find the solution
Jan 22, 2013 01:45 AM|Abdul Muqeet|LINK
Jan 22, 2013 01:59 AM|rsrvs214|LINK