print data from a server