Are you certain the login script is running?

Are you running login scripts synchronously?

Try adding debug code to ensure that the printers are being enumerated.