Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer dialog box very slow
Message
De
18/02/2010 15:36:20
 
 
À
18/02/2010 14:59:11
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01449793
Message ID:
01449803
Vues:
39
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform