Opened 9 years ago

Last modified 7 years ago

#3712 reopened defect

Print a plot in an OMNotebook

Reported by: adeas31 Owned by: arun3688
Priority: high Milestone: Future
Component: OMNotebook Version: v1.11.0
Keywords: Cc: demaie@…

Description (last modified by adeas31)

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

Attachments (1)

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

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by adeas31

comment:1 Changed 9 years ago by adeas31

  • Description modified (diff)

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

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

comment:3 Changed 8 years ago by adeas31

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

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

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 Changed 8 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in cb438f2/OMNotebook.

comment:6 Changed 8 years ago by hkiel

  • Resolution fixed deleted
  • Status changed from closed to reopened

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 Changed 8 years ago by hkiel

  • Milestone changed from Future to 1.11.0
  • Version changed from v1.9.4-dev-nightly to v1.11.0-dev-nightly

comment:8 Changed 8 years ago by arun3688

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 Changed 8 years ago by hkiel

Did you use 1.9.7?

comment:10 Changed 8 years ago by hkiel

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

comment:11 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.11.0 to 1.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:12 Changed 7 years ago by casella

  • Milestone changed from 1.12.0 to Future

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.