Re: Yet Another different hack at getDefaultPrinter()
- Posted by Juergen Luethje <j.lue at gmx.de> Oct 11, 2003
- 424 views
Pete wrote: > Thanks to everyone testing this, it's now a humbling 4:0 to the > giggling guys and gals at Gates gaff. > > ...And for my fifth attempt, I present the GetProfileStringA method: > > Pete > PS Derek, Bob, you've already tested this for me! > > -- code follows > -- > -- GetDefaultPrinterName > -- Author Pete Lomax 9/10/03 [code snipped] Windows 98/1st ed., 3 printers installed: Your code correctly shows the name of the default printer. Regards, Juergen