G
Guest
Using CrystalReports in a Windows Form - I use the PrintDialog to get the
printer name - then set the PrintOptions.PrinterName to the PrinterName
returned. I'm using a DataSet that's returned from a server that I hit via
..Net Remoting.
When I do this in my office - the response time is instant. The response
time to get the DataSet back from the server and then start printing is less
than a second.
When I do this at the customer's site - the response time is about a minute.
I get the DataSet back from the server instantly - but then the following
four statements take about a minute. I'm guessing the SetDataSource is the
major hang up.
SalesReport salesReport = new SalesReport();
salesReport.SetDataSource(viewDS);
salesReport.PrintOptions.PrinterName = printerName;
salesReport.PrintToPrinter(copies, true, 1, 500);
It seems that the SetDataSource is trying to authenticate the user or
something that takes a long time. Any ideas on how I can get this to print
instantly at the customer's site - like it does in my office?
Help is greatly appreciated. Thanks in advance.
printer name - then set the PrintOptions.PrinterName to the PrinterName
returned. I'm using a DataSet that's returned from a server that I hit via
..Net Remoting.
When I do this in my office - the response time is instant. The response
time to get the DataSet back from the server and then start printing is less
than a second.
When I do this at the customer's site - the response time is about a minute.
I get the DataSet back from the server instantly - but then the following
four statements take about a minute. I'm guessing the SetDataSource is the
major hang up.
SalesReport salesReport = new SalesReport();
salesReport.SetDataSource(viewDS);
salesReport.PrintOptions.PrinterName = printerName;
salesReport.PrintToPrinter(copies, true, 1, 500);
It seems that the SetDataSource is trying to authenticate the user or
something that takes a long time. Any ideas on how I can get this to print
instantly at the customer's site - like it does in my office?
Help is greatly appreciated. Thanks in advance.