2
$\begingroup$

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.

$\endgroup$
2
  • 1
    $\begingroup$ I suspect this is related to this question, unless there are other colors that are visible on screen that aren't making it to paper. $\endgroup$ Aug 23, 2021 at 22:22
  • $\begingroup$ Check File>Printing Settings>Printing Environment>Working. $\endgroup$ Aug 24, 2021 at 3:08

1 Answer 1

1
$\begingroup$

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]
$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.