Store the different printer names in a local table, and give the users the option to update the table whenever needed.
>Here is my situation. I have application running on a window's network which has many printers... some shared and some local.
>When I print a report, I have to make the desired printer as windows default printer... print the report and then set the setting back to its original. I use the following code to do that:
>
>
>
> lcPrinter = "Laser"
> oWSHNet = CREATEOBJECT('Wscript.Network')
> oWSHNet.SetDefaultPrinter(lcPrinter)
> RELEASE oWSHNet
>
>
>
>Why on some work stations the Printer Dialog box takes a long time to come up... sometimes upto 1 minutes. On some network the same code works fine and no delay at all.... Can someone please help me to resolve this issue.
>
>Thank you in advance...
>
>Raz