well, you are testing if the printer is there and only if it is not, do delprinterconnection()
_________________________
!

download KiXnet