How do I print my document without truncation of my code and figures? I've tried scaling the document down, but just scales down the size of the text, without expanding into the empty space thus created. Unlike every other application on known to humankind, Mathematica neither prints what one sees on the screen, nor does it print what it can on the page, but preforms arbitrary scaling and truncation that seems unrelated to either.

For example, my code and figures get cut off long before they reach the (standard .75") margin (in gray) in my printout:


Scaling things down (necessary anyway, since otherwise printing is huge; Page Setup > Scale) further retains the truncation (while oddly rewrapping the code, but still truncating it):

enter image description here

For reference, this is what it should look like:

enter image description here

What settings do I need to use to get Mathematica to print the full screen with of my notebook. That is, to scale so that the width of the window I'm printing from is taken as the width of the document as printed, so that the wrapping I see in the screen is what I see in the printout, and so that figures are not truncated?

  • $\begingroup$ You know that you can use BarcodeRecognize to move on to the next stage of the challenge :-)! $\endgroup$ – MikeLimaOscar Dec 14 '15 at 0:10
  • $\begingroup$ @MikeLimaOscar: Yep, but it get's less fun (as a coding challenge) after that. $\endgroup$ – orome Dec 14 '15 at 0:11
  • 1
    $\begingroup$ @MikeLimaOscar: As is typical for Mathematica 10% of the time was spent on the substance of the problem (and MMA was very helpful with that); 90% was spent on getting the simplest things (like printing) to work (and I've almost given up on the latter). Note to self: Python! $\endgroup$ – orome Dec 14 '15 at 0:13
  • $\begingroup$ My solution involves generating large numbers of permutations and is unworkably slow. You're obviously a more suitable candidate. As to your actual question, if I print with Print Settings -> Show Page Breaks (and Printing Environment -> Printout) the printed page is more reasonably scaled (but the screen display is correspondingly shrunken). Perhaps bypassing the print functionality and Exporting to PDF is the way to go? $\endgroup$ – MikeLimaOscar Dec 14 '15 at 0:47
  • $\begingroup$ PS This is probably a duplicate. $\endgroup$ – MikeLimaOscar Dec 14 '15 at 0:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.