Hi Guys,
I'm super close here but can't figure out how to call print using my hidden iframe instead of the trying to print the extjs app tab itself. window.print() does not take parameters, is there another technique I'm missing to get that iframe to the browser print function directly (last screen shot below)?
The ajax call is returning the url to PDF stored on server. I'm successfully getting the pdf into the iframe. But can't figure out the print piece for the iframe.
If I use this code with window.open(data.PDFLINK), it opens in pdf client perfectly. But window.print has no parameter to point at pdf/iframe.
Thanks!
image.png
image.png??
I'm super close here but can't figure out how to call print using my hidden iframe instead of the trying to print the extjs app tab itself. window.print() does not take parameters, is there another technique I'm missing to get that iframe to the browser print function directly (last screen shot below)?
The ajax call is returning the url to PDF stored on server. I'm successfully getting the pdf into the iframe. But can't figure out the print piece for the iframe.
If I use this code with window.open(data.PDFLINK), it opens in pdf client perfectly. But window.print has no parameter to point at pdf/iframe.
Thanks!
image.png
image.png??

Comment