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.
--
Curt Christianson
Site & Scripts:
http://www.Darkfalz.com
Blog:
http://blog.Darkfalz.com
"ObjectiFly" <> wrote in message
news:0FD30F22-5A0C-4081-9FFE-...
> 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.