PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → [WD5.5] Get default printer
[WD5.5] Get default printer
Started by Martin Overduin, Jun., 19 2003 3:43 PM - 1 reply
Posted on June, 19 2003 - 3:43 PM
Hello,
I need to know the name of the default printer as defined in the Windows control panel (independent the operating system). How can I get it?
Regards,
Martin
Posted on June, 19 2003 - 6:26 PM
extractstring(iniRead("windows","device"),1,",")
should do the job.

Hello,
I need to know the name of the default printer as defined in the Windows control panel (independent the operating system). How can I get it?
Regards,
Martin