I think the proper way would be to use something like enumprinterconnections() and then compare the results with ini-file.

unmapprinters() works as a base but you need to add the code for adding if in ini but not mapped.
_________________________
!

download KiXnet