I have a few cells in a report (notebook or CDF) that need to be printed "Landscape" where the rest of the report is printed "Portrait". These cells are in different sections/locations of the report.

I found the PrintingOptions option and its "PaperOrientation" setting. There is no information on where to use it so I tried it on ExpressionCell with no effect.

 Plot[x^2, {x, 0, 1},
  AspectRatio -> 5/10.5, Frame -> True,
  ImageSize -> {
     QuantityMagnitude@UnitConvert[Quantity[10.5, "Inches"], "DesktopPublishingPoints"],
  PrintingOptions -> {"PaperOrientation" -> "Landscape"}]

The above cell contains a plot $10.5\times5$ inches. It prints portrait and chops off a portion of the right-hand side of the plot.

I also tried adding page breaks before and after the cell. However, Print Preview still shows all cells printed "Portrait".

The notebook/CDF should print all cases of File | Print (also the File | Save As PDF case) with these cells in "Landscape" and the other cells in "Portrait". The cells cannot be rotated in the report as the reader will not be able to read/interact with them.

Any ideas how to set certain cells to print in specific paper orientations? This would be similar to how you can change page orientations between sections within a Microsoft Word document (I know this is not Word).

  • 1
    $\begingroup$ I am not sure if you do much beyond using Rotate. $\endgroup$
    – chuy
    Commented Aug 9, 2016 at 18:17
  • $\begingroup$ Could we have an example of a cell that needs the treatment you ask for? $\endgroup$
    – m_goldberg
    Commented Aug 10, 2016 at 2:16
  • $\begingroup$ @m_goldberg I added a representative cell. It is a plot that is $10.5 \times 5$ inches so needs to be printed "Landscape". However, the rest of the notebook (or CDF) needs to be printed "Portrait". $\endgroup$
    – Edmund
    Commented Aug 10, 2016 at 12:48
  • $\begingroup$ I'm running into this issue now too. Were you able to find a solution @Edmund ? $\endgroup$ Commented Sep 16, 2019 at 13:36


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.