Start with the GetGroups() UDF.
http://www.kixtart.org/UDF/UDF_lister.php?what=post&code=82790

AScan() is pretty straight forwward. Just make sure you have the newest KiX as partial matches are a recent addition.

Read the INI with ReadProfileString().

The only challenge would be in ascertaining which printer to make default.

See what you can do with that and post back when you hit a speedbump.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.