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
0answers
30 views

Printing definitions properly

GeneralUtilities's definition printing functions are very useful, I find them much better than Save and friends because they format the code properly. However, ...
4
votes
1answer
44 views

CForm not getting exp(), pow, log() functions

I'm performing derivatives in Mathematica and I want to use them in a C code. For that, I'm using CForm as for example in this expression: ...
0
votes
1answer
137 views

“Save Graphic As…” suddenly doesn't work

I suddenly can't create jpegs or pngs using the menu. I have not changed versions or operating systems lately, but the method I've used all along suddenly doesn't work. When I create a plot, left-...
3
votes
2answers
52 views

Is it possible to retrieve a previous un-evaluated, un-normalized input?

For example, if I do this: In[42]:= {{2}, {3}} // MatrixForm where In[42]:= is the notebook prompt, I am looking for some way ...
0
votes
0answers
30 views

Is it possible to split the last cell in a group of cells, such that the split-off part remains grouped with the old group? How can one achieve this?

I have a notebook with several groups of cells grouped with their respective headlines (Title ... down to Subsubsection). I grouped them all manually. It often becomes necessary, to add something to ...
0
votes
1answer
45 views

Printing what appears in Working environment

I have this notebook appearance in the Working environment, and I'd like it to have the same appearance when it is printed. Suggestions appreciated!
1
vote
1answer
96 views

No PDF file produced (Font Problem) [closed]

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]%% ...
2
votes
0answers
79 views

Is it possible to change the fontsize and simultaneously TabSpacing when printing a notebook in the working enviroment

It is a dilemma: In order to easily edit code on the screen, I have to set Magnification to 1.25 and also to set fontsize for Input (using Courier New bold for Input) to 12 pt. Of course, in this ...
1
vote
1answer
56 views

Why can't I change the Magnification in Printout Style in Default.nb

This happens with Mathermatica 10.3.1.0: When working with a notebook, I can choose between different working environments. However, they inherit their settings from Default.nb situated at c:\...
7
votes
2answers
77 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 ...
1
vote
1answer
37 views

How to print TeXForm running script?

I've got a simple script which runs in bash some code - I want now to get an answer in TeX Form. If I would run Mathematica code inside the interpreter, it would be easy: ...
3
votes
2answers
88 views

Frame with round corners does not look the same in Working and Printout environments

I want to generate some graphics that contain framed texts with rounded corners that display correctly in the Working and ...
1
vote
0answers
27 views

Manipulate panel does not print (or print to pdf) the same as it displays in a notebook [duplicate]

Whenever I print (or print to pdf) a manipulate panel it never looks like the manipulate panel I have in the notebook on my display. This is what the manipulate panel looks like on my display. ...
2
votes
1answer
35 views

Expanding/printing function with constrained arguments [duplicate]

Let's say you have a function $ f(t) = t, \text{ for } t > 0,$ declared in Mathematica as f[t_?(# > 0 &)] := t; How do you print that function? I ...
4
votes
0answers
55 views

Usage information garbled when printed to pdf or printer

In Mathematica v10.2 running in the notebook Information ?Integrate yields the following But, when printed to printer or ...
2
votes
1answer
65 views

Adding headers and/or footers to a stylesheet

I would like to push a common header(file name and page number) across multiple notebooks using one Stylesheet. I know I can use the header/footer dialog on each notebook individually but this is ...
1
vote
1answer
49 views

Export data to a file with row indices added

While Export["file.txt", A, "Table"] exports a file of data, A represents a data set, in column form the question is about how to export, or print, a set of data ...
1
vote
0answers
77 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 ...
1
vote
0answers
83 views

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

How can I export a notebook as a single huge pdf page?

I have a notebook that I would like to export as a pdf file. I currently want to send this to a collaborator, but in general I'd like to keep the technique to future-proof my notebook collection ...
3
votes
1answer
182 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
154 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
0answers
88 views

Front end crash on Export in 10.2 on OS X macbook air 6,2

When trying to create a PDF (export, print-save as, save image as) fronted crashes. With both OS X Mavericks and El Capitan My machine is: Model: MacBookAir6,2, BootROM MBA61.0099.B19, 2 processors, ...
6
votes
2answers
393 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 ...
5
votes
3answers
195 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 ...
1
vote
1answer
135 views

How to print a warning/error message from my own module? [duplicate]

I would like to print a warning/error message from my own module. Of course I could use Print["WARNING: my warning"] but in all the output this would be barely ...
1
vote
1answer
192 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
344 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 ...
0
votes
1answer
64 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 ...
2
votes
1answer
47 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
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') * ...
2
votes
0answers
54 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
175 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
232 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 ...
2
votes
2answers
81 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 for ...
5
votes
1answer
108 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 ...
0
votes
0answers
132 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
121 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 ...
1
vote
0answers
162 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
533 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 ...
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 ...
4
votes
1answer
124 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
176 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. ...
1
vote
1answer
38 views

Formatting output aligned automatically

...
0
votes
1answer
81 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
436 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 ...
32
votes
1answer
765 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 ...
3
votes
1answer
198 views

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

I want to print a notebook that owns syntax color,I use the Szabolcs's method SetOptions[$FrontEndSession, PrintingStyleEnvironment -> "Working"] Then I can ...
2
votes
1answer
109 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 ...
2
votes
0answers
708 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 ...