Hi,
I have an excel spreadsheet that is displayed within an iframe.
I print the sheet displayed by using the function:
function printExcel(){
window.excelFra me.focus();
window.excelFra me.print();
}
This does the job BUT the sheet is printed out over 4 pages in a larger font than had I printed the page from excel itself. The original excel sheet is set up so that the contents of the sheet fit all onto one page.
Is there anything I can do to control the print area of the contents of the iframe?
Does anyone have any suggestions?
Thanks in advance.
I have an excel spreadsheet that is displayed within an iframe.
I print the sheet displayed by using the function:
function printExcel(){
window.excelFra me.focus();
window.excelFra me.print();
}
This does the job BUT the sheet is printed out over 4 pages in a larger font than had I printed the page from excel itself. The original excel sheet is set up so that the contents of the sheet fit all onto one page.
Is there anything I can do to control the print area of the contents of the iframe?
Does anyone have any suggestions?
Thanks in advance.
Comment