Re: Yet Another different hack at getDefaultPrinter()

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu