Hello all it been a while.. be rackuing my self

I need to delet a few printer via login scrip... the printer have been deleted off our seerver and do not want user trying to print to them. as you can see this can cause phone calls... I can not see why the code is not removing the Key this is on xp, and 7

script below
;********************************************************************************
;* subroutine to delete OLD printer
;**************************************************************************

if existkey("HKEY_CURRENT_USER\Printers\Connections\,,xxxxxxx,Cannon IR3300 (Copy Room East)=0
$temp=Delprinterconnections("\\xxxxxxx,IR3300 (Copy Room East)")
endif

if existkey("HKEY_CURRENT_USER\Printers\Connections\,,xxxxxxx,Cannon IR5050 (Copy Room East)") =0
$temp=Delprinterconnections("\\xxxxxxx,Cannon IR5050 (Copy Room East)")
endif

if existkey("HKEY_CURRENT_USER\Printers\Connections\,,xxxxxxx,HP 4Plus (IDF East)") =0
$temp=Delprinterconnections("\\xxxxxxx,HP 4Plus (IDF East)")
endif