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

1
vote
1answer
147 views

Printing problem in our campus lab

We have 12 iMacs in our computer lab at our college. Our students are having problems trying to print (to a black and white printer) their notebooks. Testing one students notebook (about 6 pages with ...
9
votes
3answers
211 views

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 ...
27
votes
0answers
549 views

Version 10 cannot print properly?

Bug introduced in 10.0 and persisting through 10.2 or later I have two problems with printing in version 10. First, I can't print correctly with a setting of printing scale For example, I have ...
0
votes
1answer
47 views

Custom headers - RunningText bug?

I'm trying to get MMA ready for writing papers and I'm almost there. At first it looked like there was plenty of space for customization with custom headers and footers, but then it turned out that I ...
0
votes
0answers
32 views

Start counting pages from 3rd page

How do I start page numbering from page number x? I've tried PrintingStartingPageNumber, but setting it to -2 gives me negative page numbers at first 2.
2
votes
1answer
27 views

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

The problem about page breaking when using PDF output of a Mathematica notebook in LaTeX

When I use the PDF output of my notebook in LaTeX just under a new chapter name, the page breaks and the inserted PDF starts from the next page. I have tried some options under File>Printing Settings ...
0
votes
0answers
40 views

How can I put the results of TrigReduce function into a more convenient form? [duplicate]

a1 D11 Cos[n x] + a0 a1 D11 Cos[n x] + 1/2 a1 a3 D11 Cos[n x] + 1/2 a2 a4 D11 Cos[n x] .......for example this expression can be written like ('expression') * ...
0
votes
0answers
31 views

Fontsize becomes too large when exporting a table to pdf [duplicate]

I have the following Grid ar = Grid[{{a, c, e}, {b, d, f}}, Frame -> All]; When I use Export["~/Desktop/grid.pdf", ar]; ...
1
vote
2answers
348 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 ...
2
votes
0answers
42 views

How do I print multiple slides per page?

I have a Mathematica 10 presentation (not made by me). The slides are very short and very many. I'd like to print it, but printing 100+ pages each with 2 or 3 equations seems like a waste to me. Is ...
2
votes
1answer
78 views

How can I change printing margins by page?

I want to have different margins in my notebook for bookbinding. I could change header and footer, but I couldn't individually change page margins
2
votes
5answers
229 views

Making loop based off what I can say in words

I have a list of values a: {1,4,11,14} I want to print out values that satisfy b(1+a) = 0 mod 15 where b are the values from 0 to 14. The output I am wanting is ...
5
votes
1answer
82 views

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

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

When printing a notebook in Mathematica 10, code sections do not wrap

I have a Mathematica 10 notebook where I am using code sections. The text in the code section does not wrap when printing. Is there a setting that I should use to allow the code to wrap?
0
votes
1answer
96 views

Can't print notebook containing Image3D images

I have a few Mathematica notebooks that have Image3D volumetric images in them. If I try to print a hardcopy of the notebook, Mathematica freezes up (or, perhaps it isn't really frozen, but it takes ...
0
votes
0answers
81 views

Printing Mathematica Code that isn't cut off

I'm trying to print Mathematica code (no figures) that is often much wider than a typical 9x11 page. Printing to PDF or XPS or any type of file cuts of the edges. I can select "Print Multiple pages ...
2
votes
1answer
251 views

How do I change the size of the font for the output of the Print[] command?

I created a Stylesheet that increased the sizes of the fonts for the styles Input, Output and Text. Still, when I use the command Print[] the output comes out tiny. In the code below I added some ...
0
votes
0answers
116 views

Export “Print” command to text file

I am trying to create a text file with specific information in exact locations. This is my code: ...
4
votes
2answers
110 views

Is there a way to accelerate buffering to the screen

I have an application that does a bunch of small computations, mostly Table management, and logic around loops. It takes seconds to execute. However, when I turn on debug (a variable I set for ...
3
votes
1answer
83 views

Defining a function that prints both the name and value of a variable defined locally within the calling function

To save time when debugging with Print statements, I'd like to define a function -- call it PrintVal -- that prints both the name and value of a variable defined locally within the calling function. ...
1
vote
2answers
109 views

Append list into nested list in a file

I have a nested list that I use Put[mylist, file] to write to a file. I would then like to then append to this nested list some values and add them to the file. ...
3
votes
3answers
218 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 ...
0
votes
1answer
69 views

How to copy [OUT] results to a txt document

Hi I am very new to Mathematica. I wanted to ask how can I copy the outputs (Out) data from Mathematica. I have results in this format ...
2
votes
2answers
254 views

How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
0
votes
3answers
90 views

Place symbols from small to big

I am wondering how to compare the different values of ω I derived in this code, and place them in order as follows. (use Print ...
3
votes
1answer
93 views

Is it possible to change the fontsize when printing a notebook in the working enviroment?

I want to print a notebook that owns syntax color,I use the Szabolcs's method SetOptions[$FrontEndSession, PrintingStyleEnvironment -> "Working"] Then I can ...
6
votes
1answer
427 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 ...
23
votes
4answers
3k 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. ...
5
votes
1answer
358 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 ...
2
votes
1answer
81 views

Print notebook with all cells opened

I have a long Mathematica notebook where some cells on multiple levels are closed for clarity. When I export the notebook as a PDF via Print or ...
1
vote
0answers
241 views

what is the best package/way to insert Mathematica code in latex docs?

I know that this question is not about strictly mathematica issue, but I think that in this site should be many pepople that use latex to distribute mathematica source code/examples. If the moderators ...
1
vote
1answer
69 views

Graph label smushed in when printing

I was playing around with the printing options because at first my notebook's printout was strangely way too large. However, after apparently solving the problem, now I noticed that when I print out ...
0
votes
1answer
66 views

Print without linefeed [duplicate]

Is it possible to print with a carriage return but not a new line? I'd like to keep track of the progress of a long calculation without filling the screen with prints.
2
votes
0answers
39 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
206 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
147 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
147 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
81 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
182 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
309 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
315 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
140 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
66 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 ...
3
votes
3answers
417 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
62 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" ...
3
votes
0answers
81 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
204 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, ...