PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Dot matrix printer
Dot matrix printer
Started by Guenter Predl, Aug., 26 2004 11:05 PM - 3 replies
Posted on August, 26 2004 - 11:05 PM
Hi, does any body know the answers?
1. How to find out the dot matrix printers installed on a windows computer? Note: I do not want to show other printers than those which are dot matrix.
2. How to find out the fonts printable on an installed dot matrix printer? Some printer drivers (e.g. EPSON) are installed together with a set of fonts for that printer. NotePad can show these fonts when that printer is made the default printer. How could I do that?
Thanks for your ideas!
Guenter
Posted on August, 27 2004 - 2:44 AM
G'day Guenter
I had this article in my file of "Stuff that I don't quite understand but may be useful one day" kbinfo KB98577
http://support.microsoft.com/default.aspx…
Regards
Al
Posted on August, 27 2004 - 3:07 AM
Hi Al,
thanks for the hint! After some researches I do know a little more: Finding a dot matrix printer could be accomplished by WMI (Windows Management Instrumentation) (A (German) explanationion of WMI)
Information about printer type is shown on the MSDN site of Microsoft. Unfortunately, I cannot imagine how to translate the available code examples for ASP and VBScript to WinDev, but after consulting my son Alex this should be possible. I'll keep you informed about progress ..
Best regards,
Guenter
G'day Guenter
I had this article in my file of "Stuff that I don't quite understand but may be useful one day" kbinfo KB98577
http://support.microsoft.com/default.aspx…
Regards
Al
Posted on August, 27 2004 - 4:21 AM
G'day Guenter
Re the MSDN article - I am so glad that it was the "simplified from Managed Object Format (MOF) code" - What must the non simplified code look like !
Regards
Al