Opened 9 years ago

Last modified 7 years ago

#3712 reopened defect

Print a plot in an OMNotebook

Reported by: Adeel Asghar Owned by: arunkumar palanisamy
Priority: high Milestone: Future
Component: OMNotebook Version: v1.11.0
Keywords: Cc: demaie@…

Description (last modified by Adeel Asghar)

Try printing the attached notebook file. Everything is printed nicely except for the plot.

Attachments (1)

MyFirstOMNotebook.onb (17.0 KB ) - added by Adeel Asghar 9 years ago.

Download all attachments as: .zip

Change History (13)

by Adeel Asghar, 9 years ago

Attachment: MyFirstOMNotebook.onb added

comment:1 by Adeel Asghar, 9 years ago

Description: modified (diff)

comment:2 by Christoph <buchner@…>, 8 years ago

Trying to open this file, I get a std::exception in OpenFileCommand(), using the current nightly.

comment:3 by Adeel Asghar, 8 years ago

Works fine for me using the latest development version on Windows.

comment:4 by Christoph <buchner@…>, 8 years ago

Ah, right-click on the attachment + save as gives me some HTML xml file, not the original. Now corrected.

Printout works in principle, except for a too large/wasteful amount of whitespace (by ~factor 2-3) between cells. I can reproduce the bug, the plot does not get printed.

comment:5 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in cb438f2/OMNotebook.

comment:6 by Henning Kiel, 8 years ago

Resolution: fixed
Status: closedreopened

1)
When printing the plot(), nothing is shown in output (Windows, OM1.9.7)
I used the attached example onb.

I also tested 1.11 nightly build on OSX, there the plot is shown, but only partially on portrait prints, when using landscape printer it is shown, but resolution is rather bad (600px scaled to page width!?)

2)
When printing a freshly evaluated LaTeX cell, content is fine when printing, but when I save the onb, close OMNotebook and open the onb again to print it only a "file" symbol is shown (that blank page of paper symbol with flexed edge icon) on printer, though the correct output is shown on screen.

comment:7 by Henning Kiel, 8 years ago

Milestone: Future1.11.0
Version: v1.9.4-dev-nightlyv1.11.0-dev-nightly

comment:8 by arunkumar palanisamy, 8 years ago

For printing latex cell problem, I tested in Windows, it is working fine on both the cases, I could not reproduce the error

comment:9 by Henning Kiel, 8 years ago

Did you use 1.9.7?

comment:10 by Henning Kiel, 8 years ago

I re-checked:
1.11 beta1 is working properly
1.9.7 is not working properly.
That's ok for me.

comment:11 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:12 by Francesco Casella, 7 years ago

Milestone: 1.12.0Future

The milestone of this ticket has been reassigned to "Future".

If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.

If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".

In both cases, a short informative comment would be welcome.

Note: See TracTickets for help on using tickets.