> Hi Folks,
>
> I am finding a small trouble while printing the entire contents of an
> Iframe which carries an html report which is in turn generated by
> jasper reports.s
>
> Hear is the javascript code used to print the contents of the Iframe
>
> function Print(reportframe)
>
> {
>
> reportframe.focus();
>
> reportframe.print();
>
> }
>
> And hear is the Jsp code used to render the html report generated by
> jasper inside an iframe
>
> <TR>
>
> <td>
>
> <div><iframe id = "reportframe"
>
> src="<%=request.getContextPath() %> /report.html”
>
> WIDTH=1200
>
> HEIGHT=320>
>
> </iframe>
>
> </div>
>
> </TD>
>
> </TR>
>
> When I invoke the print option using javascript this is what I got
>
> Problem:
>
> The printed page carried only one half of the page contents compared
> to what was shown on the browser, but the actual content is more than
> a page.
>
> For example if the browser page was carrying10 columns on it, the
> printed page carried just 5 columns on the page.
>
> What’s expected?
>
> The first 5 columns must be printed on the 1^st page and the rest 5
> must be followed up on page 2.
>
> It would be more favorable if you could tell me how jasper reports are
> being printed on client server architecture is using a small example
> or code snippet.
>
> Thanks and Regards,
>
> **Ritesh Solanki**