Hi All,
I am looking for a solution , where I need to Print preview of downloaded file.
I have gone through lot of forum post's but still my scenario not available,
I am attaching one sample oml in that i am able to upload and print but direct preview option is not available.
can someone help me here, on this.
JS being used is:
var pdf_newTab = window.open("");
pdf_newTab.document.write( "<iframe width='100%' height='100%' src='data:application/pdf;base64, " + encodeURI($parameters.BinaryData) + "'></iframe>" );
Thank You.
What do you mean by the direct preview option?
By previewing the pdf file on your screen?
You can use a iframe like it is done in this post
https://www.outsystems.com/forums/discussion/77734/storing-and-displaying-pdfs/
Kind Regards,
Márcio
Hi
I am looking for print preview screen instead of opening pdf file in new tab and clicking print icon there,
I want to bypass these actions and what print preview popup on screen on click of button.
Hoping you understood my requirement.
Thank you
Have a look at the OML, is that what you want?
Hi,
Now on click of print icon we will be getting print preview screen, can we skip that click on Print icon and have Preview screen, something like this with print button.
Hi Márcio Carvalho,
if there is any way to do this,
Please let me know on this.