check for printer attached