Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the name of the default printer?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00235120
Message ID:
00239421
Views:
16
>George,
> I have another question. Set('PRINTER',2) works perfectly well. But I have a code that check if the default printer is equal to "default printer name" then I'll do something. But if the user changed the printer name in the Windows95 Printer properties..., I got a problem :(.
>
> How can I get the default printer name or ID no directly from the printer and not from Windows 95. This is because the printer name in the Windows 95 can be modified.
>
>Thanks,
>
Hi Charlotte,

I'm not exactly certain that I understand the problem, but I'll give it a shot. Anytime the user changes the default printer, Windows should notify all open applications, so I don't think that this is anything to worry about. Or am I missing something?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform