Questions tagged [printing]

Questions about printing from Mathematica. Includes questions about scaling output, printing to PDF, specifying headers and footers and other layout elements, the printing environment style sheet version etc.

185 questions
27
votes
2 answers

How to print without having newline added automatically at the end?

Print["first part of the result", DateString[]] Print["addition to the result", DateString[]] will add a newline character at the end of line automatically for each Print[]. But I'd like the two strings to be shown on the same line. How can I…
user13253
  • 8,666
  • 2
  • 42
  • 65
13
votes
3 answers

Suppress Print[ ]s?

I have a complex program that prints out lots of diagnostic/tracing information. Is there some mechanism to evaluate it and suppress all printing? I know I could protect every Print[ ] with If[printswitch, Print[...]]. But it would be convenient if…
Joseph O'Rourke
  • 4,731
  • 25
  • 42
7
votes
1 answer

Why does Mathematica remember print settings?

Mathematica has a strange behavior with respect to printing and saving to PDF. It remembers the print settings, such as page range and number of copies along with the file. So if I print 50 copies of a file for a large class, and six months later…
John McGee
  • 2,538
  • 11
  • 15
7
votes
2 answers

Decrease magnification for printing

I would like to decrease the magnification to a value of my choosing for printing purposes. How can I do this? Screen magnification, set at the bottom right of the window, doesn't carry to print output. In the option inspector we have Notebook…
Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
5
votes
1 answer

Page breaks within input cells

I am trying to print a notebook that begins with a lengthy piece of code that takes up almost an entire page. Because of my heading, it doesn't quite fit on Page 1, so Mathematica inserts a line break before the cell, leaving a ton of white space on…
4
votes
2 answers

How to print parentheses?

I have obtained a formula in Mathematica and I want to transfer it to Microsoft Word so I did this: ff = (-2 a17 denP[re] + b17 Sqrt[denE[re]] denP[re]^(3/2))/( 2 (a17 - b17 Sqrt[denE[re]] Sqrt[denP[re]] + c171 denE[re] denP[re])^2); nn = ff…
Wisdom
  • 1,258
  • 7
  • 13
3
votes
1 answer

How can I get NotebookPrint to pass through the system print dialog?

As near as I can tell, NotebookPrint goes directly to the default printer, without employing the system standard process of opening a print dialog first. Specifically, I'd like to he able to use NotebookPrint, or an alternative function,…
orome
  • 12,819
  • 3
  • 52
  • 100
3
votes
0 answers

How to increase the font size when printing?

Under print settings there are a number of options for print format (working, condensed, printout, printout grey, ...). It seems clear that the print settings are configurable, but perhaps that is only possible programatically? I'd like to know to…
Peeter Joot
  • 6,398
  • 4
  • 36
  • 55
2
votes
2 answers

Output of a Print in a list

I'just starting with Mathematica and therefore I was having a small question. It must be somewhere on Internet but I can't find it. My question is the following. I would like to get my values after having computed a Print[...] in a list. I wanted to…
Noah1997
  • 31
  • 1
  • 3
2
votes
1 answer

Print to console bis

In the answer to this question, one explains how to use a function PrintToConsole[...] to print output to the console. My question: can you make a global definition that will automatically print all output to the message box, without having to…
Latrace
  • 119
  • 5
2
votes
2 answers

How to change the default printing options using commmand?

I am looking for something like this: SetOptions[EvaluationNotebook[], "PaperSize" -> "A3"] The options are listed, but where do I find the arguments? Say for A3 paper, do I use A3 or "A3" or "a3paper"? and it looks like it takes two inputs?…
Chen Stats Yu
  • 4,986
  • 2
  • 24
  • 50
2
votes
1 answer

Print all cells independently at once

Is there any way to print out to pdf file, in sequence, all cells independently? I have literally hundreds of cells that need to be printed in that way. Selecting each cell and "Print Selections" takes me ages before I finish.
Thomas
  • 21
  • 1
2
votes
1 answer

Preface text output with Print

In the output of a script that calls Mathematica I would like to be able to differentiate lines printed by mathematica from lines printed by something else. I thought of prefacing lines printed by Mathematica with for example "m:". Is this possible?
Kvothe
  • 4,419
  • 9
  • 28
2
votes
1 answer

How do I print a notebook in color?

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…
Ed Davis
  • 41
  • 1
2
votes
1 answer

Alternative to "Echo" to output intermediate steps

I want to see the intermediate steps of my Program.I have placed Echo in places where it matters such as before plugging in a relation and before simplifying the expression,so that i can see all the steps in detail.However i want it as a standard…
Irtiza
  • 576
  • 2
  • 9
1
2