I have taken a look at that article and it looks like a possible solution.
My question though, is does the set("printer",2)return the printer name is upper case while the aprinters() array is case sensitive? If you were looking for an exact match while scanning through aprinters() it would not be found.
Sue
Sue Burnham