Print Interactive Application

Deepesh

Active Member
Hi folks,

I have a requirement where I need to print my interactive application screen (with values) using a button - viz "Print"; instead of using the standard browser print.

I tried using GotoURL("javascript:window.print()") and it gave error saying malicious script injected and logged off.

Any options?
 

BOster

Legendary Poster
You can use embedded javascript to create a print button on the form that will invoke the browsers print dialog when pressed.
 

CDsouza

Member
Hi Deepesh,

You may create a Text Block control in the application and add the following code in the segment.

< form >
< input type="button" value="Print" onClick="window.print()" >
< /form >

Please let us know if it works.
 
Top