Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the default printer
Message
 
 
À
16/07/2002 04:50:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00677896
Message ID:
00679029
Vues:
24
You're welcome.

>thank u very much
>Alessio
>
>>You can change printer in VFP with SET PRINTER command.
SET PRINTER TO NAME < printer name >
>>? SET("PRINTER,3")    && Display curent VFP printer 
You can change default windows printer using WSH
lcSaveWinDefPrinter = SET("PRINTER", 2)
>>loNet = CREATEOBJECT("WScript.Network")
>>loNet.SetDefaultPrinter(< printer name >)
>>...
>>loNet.SetDefaultPrinter(lcSaveWinDefPrinter)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform