Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00482327
Message ID:
00482427
Vues:
9
This is not a bad option and have considered it. Have you ever ran into a customer that would not allow wsh on the computers for security reasons? This was my only concern with going this route.

Thanks for the suggestion.

Tommy

>One way is to not use the PROMPT dialog at all; instead, select a printer from the APRINTERS()-returned array, and use the Wscript.Network's SetDefaultPrinter method to assign the printer as the default Windows printer, taking care of the printer assignment without invoking the PROMPT clause for every report - IOW, you can have a separate 'sticky' dialog that assigns the default printer, and then simply print the report without presenting the selection dialog each time, and you can query the current assignment at any moment using SET('PRINTER',2); the WSH method works the same regardless of Windows platform.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform