Reputation: 1493
I want to print a html page generated by GWT. I am using Window.print().
But when print is invoked only one page is printed.
Is there a way to print all pages?
Upvotes: 2
Views: 2930
Reputation: 1493
We were able to print complete page by creating new window and adding inner html of current page to it and then executing print on it.
A class which provides the same functionality is shared at google code. http://code.google.com/p/gwt-print-it/
Upvotes: 2
Reputation: 9374
But when print is invoked only one page is printed.
Are you sure that this is a GWT's problem? The problem maybe is in browser or in printer's configuration. Try to check this options.
Upvotes: 0