Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Default Printer ?
Message
De
06/09/2001 23:15:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00553536
Message ID:
00553562
Vues:
20
It actually worked under win98.

A problem though...

The reason I need to set the Win printer (and not just the default vfp printer) is because I'm trying to print a .TIF by using the ShellExecute Win api function. This function works, but of course, sends output to the default windows printer - regardless of what VFP says is the default printer.

So, I expected the TIF to be printed to my new printer after issuing the oNet.SetDefaultPrinter, but it still prints to the old one even tho the calls to oNet.SetDefaultPrinter seemed to work. (I even checked the values of SET('PRINTER',2) and SET('PRINTER',3) to verify that it worked. But still, the TIF printed to the old printer.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform