Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default printer
Message
 
 
À
05/11/2004 15:06:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00949852
Message ID:
00958670
Vues:
23
The set('PRINTER',2) returns default Windows printer which you cannot change with VFP commnds or functions. The set('PRINTER',3) returns default VFP printer that can be changed with SET PRINTER TO NAME command. BTW, you don't need macro substitution in that case.
SET PRINTER TO NAME (lcDefa)
>I believe you can just use the code:
>
>lcDefa = set('PRINTER',2)
>
>the "2" parameter signifies the default printer.
>
>then restore it by using the code:
>
>SET PRINTER TO NAME &lcDefa
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform