How to print or printpreview the grid?

I use standard edition,How to print or printpreview the grid?Thanks!!

The grid can be printed by native browser print command, but in most cases it will look not good, because of data hidden behind scrollers.
Both Pro and Standard versions of dhtmlxGrid supports
    grid.printView();
command.
This command will not print grid, but will create a new window, with grid rendered in printer friendly way.