Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Windows default printer
Message
From
05/02/2007 06:01:00
 
 
To
05/02/2007 05:41:13
Aman Bains
Jaguar Computers
Jalandhar, India
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Miscellaneous
Thread ID:
01192297
Message ID:
01192321
Views:
22
>>How to Change Windows default printer in Win 98 programatically?
>
>
>DECLARE INTEGER SetDefaultPrinter IN WINSPOOL.drv STRING pszPrinter
>lcPrinter = GETPRINTER()
>SetDefaultPrinter(lcPrinter)
>
>
>Gives error in Win 98:-
>"Cannot find entry point SetDefaultPrinter in the DLL", Error No 1754.
>
>How to change Default printer in Win 98?

As far as I can understand, you don't need to change the default printer at all to achive what you want. But you must clear the printer specific info from your frx.
Previous
Reply
Map
View

Click here to load this message in the networking platform