General information
Category:
Windows API functions
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only