Hello,
I want to print a content of 2nd file which I included in 1st file using dynamic hidden iframe in the document. I dont want to preview the contents of what is printing and I want to give the print command from this 2nd file. Both these files are local.
Issue here is If I use the iframe I dont get the preview but the whole window content is printed instead of only the iframe content.
I have tried with different commands like
document.iframename.focus();
document.iframename.print();
window.parent.iframename.focus();
window.parent.iframename.print();
did not work.
I tried to create a new window for this iframe content and print from the window it works I dont want the window to be visible. This is actually like a preview and I want to hide this new window. I tried to set the window attributes like width, height, top to something large but did not get to work
I am using MeadCo script to print.