Added lpStatus variable to test for printer