Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Default Printer ?
Message
From
06/09/2001 23:15:19
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00553536
Message ID:
00553562
Views:
19
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
Map
View

Click here to load this message in the networking platform