The script you posted is still using that $defPrinter variable from my earlier example, but it looks like you should be using $1stPrinter instead now, right?