CrystalReports Response Time

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
I dont know for certain but I'm betting it's getting the printers from the
server not the client?
Check this.... otherwise I would maybe hit up the crystal site and see if
their forum has specifics since it's really a crystal setup issue.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top