how to print multiple grids on one page

I’m using pro version 1.5, how do I print multiple grids on one page or get the html returned of printPreview rather then have it open in new window.



Thank you

For later versions of grid, next code can be used to get html code of print view

grid.parentGrid = true;
var html = grid.printView();
grid.parentGrid = null;