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

28
votes
4answers
4k 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. ...
3
votes
3answers
549 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 ...
16
votes
4answers
2k 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 ...
5
votes
2answers
533 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. ...
9
votes
2answers
203 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 ...
7
votes
2answers
76 views

How to Add a PageBreak menu by MenuSetup.tr

In 1998 there was a discussion on comp.soft-sys.math.mathematica how to add am PageBreak menu to Mathematica. I used the recipe from there for very long time (in fact, I used Mathematica 4 till ...
6
votes
1answer
162 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 ...
4
votes
1answer
114 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. ...
3
votes
1answer
180 views

Run Command Not Executing Node

How do I make the following command work in Mathematia? Import["!\"C:\\Program Files\\nodejs\\node.exe\" -p console.log('test')", "Text"] I don't get any output ...
1
vote
2answers
134 views

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 ...
1
vote
1answer
369 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 ...
20
votes
3answers
2k 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 ...
16
votes
2answers
5k 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 ...
32
votes
1answer
759 views

Version 10 cannot print properly?

Bug introduced in 10.0 and persisting through 10.4 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 ...
4
votes
2answers
126 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 ...
6
votes
2answers
380 views

Consistent crash printing from Mathematica 10.2.0 and 10.1.0 in OS X 10.11 El Capitan

Printing from either 10.2.0 or 10.1.0, or any other print related function (Print Preview, Save as PDF) crash my Mathematica instantly. I've tried all the usual stuff like reinstalling, deleting user ...
3
votes
1answer
237 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: ...
1
vote
0answers
69 views

How do I print a notebook without truncation?

How do I print my document without truncation of my code and figures? I've tried scaling the document down, but just scales down the size of the text, without expanding into the empty space thus ...
7
votes
1answer
224 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: ...
6
votes
1answer
154 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
3answers
186 views

Exporting PDF with large PaperSize

Suppose I create a new Notebook: nb = CreateDocument[{TextCell["PDF Test", "Section"], Table[PieChart@Range@5, {7}]}]; And set a big paper ...
3
votes
2answers
233 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 ...
2
votes
2answers
401 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
1answer
82 views

No PDF file produced (Font Problem)

When I want to export my notebook as a PDF document, I get the following error messages from Adobe Standard 11, which I use as PDF "printer": %%[ ProductName: Distiller ]%% %%[Page: 1]%% ...