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.

learn more… | top users | synonyms

0
votes
0answers
36 views

How to make the MMA document has the background--color effect when the dounment is printed?

Description: Recently,I use the Mathematica to do my undergraduate paper,I would like to use the Mathematica to compose my paper. So I hope the Input and Output results have the ...
0
votes
0answers
20 views

Print numbers in the terminal

I am trying to run a parallelized version of my Mathematica code on a cluster and i want to display some information on the terminal. When i try to display the time taken for the calculation, using ...
3
votes
2answers
187 views

Preventing notebook cells from being broken across two pages when printing

Sometimes I create a number of plots together, e.g. by GraphicsGrid[]. If it happens that I have to print the notebook, very often the cell is broken, half on one ...
2
votes
0answers
30 views

Am I using the cell option setting PageBreakWithinGroup->False correctly?

I had expected that this option would prevent a page break occurring within a group of cells of which this cell is the "group leader". In my case it is a "Subsubsection" containing a group of ...
3
votes
1answer
138 views

Ugly plots when printing notebook to pdf

One image is worth one thousand words, so: Question: At what options should I be looking, so that what I see in my notebook is what I get in my printed pdf ? Here is the code I'm using: ...
2
votes
1answer
118 views

How to break graph to fill in the gap in pdf

I've printed my notebook into a pdf. There is a huge gap in the left page, due to the fact that the graph in the right page isn't divided to fill in the gap. Is there a way to fix it, preferably ...
3
votes
1answer
92 views

With limited memory, how can I export very long Print results into a PDF or a notebook file?

I have a script with a long loop and very long formatted outputs like the following example code: ...
3
votes
1answer
65 views

Want actual cell data from CellEvaluationFunction

Let's say I print a cell like so. CellPrint@Cell[ BoxData[" "], "Input", Evaluatable -> True, CellEvaluationFunction -> Function[Print[#];] ] Now I ...
3
votes
2answers
94 views

Include Headers on first page

I know it is possible to check the box "Include headers on first page" in the "Headers and Footers" dialog box of the Print Settings menu item, but is it also possible to check this using commands in ...
4
votes
1answer
94 views

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 ...
1
vote
1answer
132 views

Print indexed (by subscript) variable name systematically

I have some variables : Subscript[S, 1], Subscript[S, 2]...etc. But they are defined in a for loop like For[g = 1, g < 4, g++, Subscript[S, g] = g]; Later, I ...
3
votes
1answer
119 views

Conditional printed output [duplicate]

I would like to use a Mathematica notebook as a printable document with conditional output. If the condition is true, some parts of the notebook should be printed; otherwise they should not be ...
2
votes
1answer
60 views

Followup question from "Temporarily redirect output of Print[ ] to a second file

I'm implementing the first answer to my earlier question about redirecting the output of Print[ ]. Opening a file with OpenWrite[] and assigning the stream to ...
5
votes
1answer
273 views

Problem printing what appears in my notebook

I have created a dashboard that looks fine on my screen and fits onto my screen at 100% magnification on Mathematica. When I try printing it, no matter what printing environment I use, I can not get ...
3
votes
3answers
173 views

Temporarily redirect the output of Print[ ] to a second file

I have started using Mathematica to automate file backup operations. The logistics I need make Mathematica a good choice. I am testing and developing the Notebook manually, and ...
1
vote
1answer
55 views

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" ...
4
votes
1answer
143 views

How to export large matrix from .nb file into .pdf

I have one technical problem with printing large matrix 50x50 with lot of data. Always when I want to export .nb to .pdf, I can see just part of matrix, never all? Is there solution for this. I need ...
3
votes
0answers
70 views

Duplex Printing from button inside DialogNotebook on Mac

All, I have the following code which generates a window containing the variable PrintOut and a Print button. When the print button is pressed the contents of the window are sent to the printer and ...
1
vote
2answers
169 views

Apply confusion in Do loop

I am trying to apply InversePermutation on a list of sublists of selected permutation elements. First I am trying to see if I am able to reach every element, ...
5
votes
2answers
206 views

How to capture Print output

How can I capture output from Print from a function which does not leave the printed object as its final output, (and which I do not wish to edit)? E.g. ...
1
vote
1answer
103 views

How to apply multiple format to a list

I have a nested list like matrix = {{1.2345664, 2.38673956, 3.567846}, {0.00034554, 124.4554654, 6.34543}, {0.0000233, 244.34454, 2}} and I want to apply ...
16
votes
4answers
1k views

Printing exported PDF graphics fails (version 8)

When I export even simple graphics, say, a DateListPlot to PDF under Windows, it refuses to print on any of the printers at work. Acrobat (Reader X) throws three ...
10
votes
4answers
442 views

Typography messed up in prints

For a long time now I've had trouble printing Mathematica files. While the .nb itself displays just fine on my screen, the kerning is awful when printed. Screen: Print: And in case you ...
2
votes
1answer
99 views

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. ...
2
votes
0answers
517 views

Automatically sending to Print (using CutePDF Writer)

I use CutePDF for creating PDF output, but this requires manually selecting Print (Ctrl+P), with CutePDF Writer as the printer, and pressing OK. Can this be automated?
5
votes
1answer
139 views

How can I restore context menu functionality to a Manipulate that contains Locators?

Before adding a Locator to a Manipulate, I can easily print or export the result using a context menu: But after adding a ...
5
votes
1answer
167 views

Why are my images not printing at the expected size?

I understand how (in theory) to get images to be a specific size in inches, but when I follow the documentation, all of my output seems to be scaled down by a factor of a bit less than 70% (e.g., ...
3
votes
0answers
301 views

With comma as decimal separator, how do you insert a period in the header/footer?

I have enabled comma as my decimal separator, which means that comma still acts normally and when pressing period it will be converted to a comma. In the header I would like to make a period, so I ...
7
votes
1answer
184 views

How do I re-direct FilePrint's output?

I recently wanted to use FilePrint to print the contents somewhere else but in the notebook I was using. However, the obvious-seeming solution doesn't work at all: ...
8
votes
2answers
133 views

Substituting confidential tagged cells by a “content removed” cell

When producing a notebook with both code and text, I often end up with pieces of code, or even entire chapters, that I don't want to be shown on the final output. I generally hide or close them by ...
1
vote
1answer
189 views

How to print a message dialog window

I'm trying to figure out how to print a message dialog without printing the whole notebook. FrontEndExecute[FrontEndToken["PrintDialog"]] displays the print window ...
15
votes
4answers
1k views

Real Size Image Printing

I am generating a complicated graphics with Mathematica, but with objects of given sizes (e.g. a line of length 1 inch, between two points). I want to make sure that when I export the graphics, e.g. ...
6
votes
1answer
135 views

How to let output and message be print to two separate external files?

How to let output and message be print to two separate external files? Also, I'd like the content print out to have similar look as when it's print inside the notebook, i.e. it should be in ...
1
vote
3answers
110 views

How can parts of a list of lists be printed to the nb, at regular interval positions?

I have a large list of lists with the dimensions {441,21,21,3} of which I need to print the x,y,z data from every 21st part up to 441. How can I print the 21x21x3 piece of every 21st part of this ...
10
votes
2answers
2k views

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 ...
5
votes
3answers
365 views

Printing a Dynamic variable inside Dynamic

I'm trying to Print the variable a inside the Dynamic wrapper. Seems like such a simple question, but I haven't been able to get ...
17
votes
3answers
670 views

Removing In/Out Labels before printing

I know that I can close a notebook and open it again in order to remove the In/Out labels. What I would like to know is if there is another easy way of removing these labels without having to close ...