getprint() returns reponse code