Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement