Different View Mode Ext.

In here for different view mode we have made some work . But in that case we had a simple problem when we try to get print-out.

Everything is awesome on the screen , we have all pages with page breaks. But when we want to print it out we saw that some piece of the report is missed. And it is not good .

But we have find a solution for it and it is very simple; setting media dpi for DocumentInstance. Really simple :)

For A4 we added

documentInstance.setMediaDPI(72);

this piece of code to the project and got the solution.

But I didn’t understand why this method is deprecated, it is interesting. If somebody knows anything let me know too.

Have a nice days fellows.

This entry was posted in Genel. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>