2

How to print a notebook in color?

When I select File>Print from the menu the output is in black and white, except error messages and lines in plots. I need to print the actual color version of the notebook, the "Working" Environment version to help students.

Ed Davis
  • 41
  • 1

1 Answers1

1

The solutions are exactly the same as for the question linked by Brett Champion in the comments:

But since you are asking about printing, not about saving as PDF, this may be considered as a separate question.

I need to print the actual color version of the notebook, the "Working" Environment version to help students.

The obvious solution is to select the "Working" Printing Environment for your Notebook by selecting the menu item File ► Printing Settings ► Printing Environment ► Working when your Notebook window is active. Or equivalently, you could evaluate in this Notebook:

CurrentValue[EvaluationNotebook[], PrintingStyleEnvironment] = "Working";

However, you will notice that everything will become larger upon printing because the "Working" style environment uses a higher Magnification setting. To avoid this and just retain the syntax highlighting, you could use the solution by xyz instead:

SetOptions[
  SelectedNotebook[], 
  PrintingStyleEnvironment -> "Printout", ShowSyntaxStyles -> True]
Alexey Popkov
  • 61,809
  • 7
  • 149
  • 368