Implement print preview functionality


if user want to preview before start printing, then how can it be implemented?


I assume you have already read the introduction page about printing,

Doesn’t your browser already offer “print preview” as part of its printing process? That’s what I get when I tried three different browsers.

User wants to display print area in the editor diagram(view image).
Is it possible?


If you aren’t already using the Diagram.grid, you could customize it so that each cell is as large as a page. You’ll need to provide options regarding the page size and orientation, since there’s no way to know which printing device they will choose when they actually print.