added settable printstream