Hello,
I have a form (desktop application) that I want to print.
I don’t need to print all the elements of the form, just some of them (an html panel, a ckeditor,…) I can’t use the Application.Print() option because it cuts the text. I saw in another thread that it would have to be done with javascript. I have tried to invoke a piece of code in the clientEvents and I create a window and it prints but I am not able to get the data from my form elements (textbox, html panel…) that I need.
var elem = ??
mywindow.document.write(document.getElementById(elem).innerHTML);
If it’s simpler I wouldn’t mind printing all the elements of the current form, but I want to show all the information (as I say with Application.Print it’s like taking a screenshot and if there is scroll it doesn’t show all the data).
Thanks!
Anything the works in JavaScript should be fine. We don’t have anything different than what is available. If you find a different solution let us know.
Please login first to submit.