adjusting socket_url settings for printing