Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing default windows printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00109349
Message ID:
00109369
Vues:
28
>How can i change the default windows printer programatically in VFP5.0.

Venture for the following VFP printer functions.

SYS(6) &&CURRENT PRINTER DEVICE
SET('PRINTER',2) &&DEFAULT PRINTER NAME

Basic command but this will work:
cPrinter = GETPRINTER()
SET PRINTER TO "&cPrinter"
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform