Printing output from scripting block

Is there a way to format output from a scripting block so that printing works without the content being cut off? Or possibly a different option to solve this problem.

When I click print on the output view some of the content gets cutoff. See screenshots below.