Hi. I am using SmartGWT 2.2 and Firefox 3.6.10
The issue is that if you try to print multiple screens the Title of the actual printed document (on paper) is not being refreshed with new title, even so the actual Print Preview screen comes up with correct new title. So for example if I try to print first screen "Country", the title is correct, but then all other screens will be printed with title "Country".
This is a code sample to show Print Preview I am using.
Is is also the same from IE.
Thanks.
The issue is that if you try to print multiple screens the Title of the actual printed document (on paper) is not being refreshed with new title, even so the actual Print Preview screen comes up with correct new title. So for example if I try to print first screen "Country", the title is correct, but then all other screens will be printed with title "Country".
This is a code sample to show Print Preview I am using.
Code:
Canvas.showPrintPreview(obj, pp, getScreenName(), new PrintPreviewCallback() { public void execute(PrintCanvas printCanvas, PrintWindow printWindow) { printWindow.setHeight("70%"); printWindow.setWidth("70%"); printWindow.centerInPage(); } });
Thanks.
Comment