Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printers installer
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01276226
Message ID:
01276234
Vues:
16
You can use APRINTERS() to check if any printers are installed and start AddPrinter Wizard if necessary. Code below shows how to do that using WSH but you can use your favorite method of running external programs.
oShell = Createobject("wscript.shell")
oShell.Run("%windir%\\system32\\rundll32.exe printui.dll, PrintUIEntry /il")
>When I issue the command getprint () and there is no printer
>installed, I see the message "printer not ready"
>
>Is it possible to call printer installation wizard, when this error
>happens ?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform