Added auto-reenabling of printer after restart.