I'm trying to delete some local IP printers, here's a sample of the code I am using.

DelPrinterConnection ("Panasonic DP-4520 (Mail Room)")

I keep getting an 1801 error. The printer names have parenthesis in them and I am wondering if that is the problem and how to get around it.

Any ideas? Thanks!