I have a editor where a person changes a letter and clicks print. Print saves the letter to a html file and then I call to print() which open the document for printing but it leave the window open.
UniSession.AddJS('window.open("/Files/Docs/GiftLetters/GiftLetter'+inttostr(rptcnt)+'.html", "_blank", "scrollbars=yes,resizable=yes,width=900,height=700").print();');
So my question is can I open the print dialog box on the html code that's in my UniURLFrame
Or maybe a way to print the same letter in a dialog box in my app?
Thanks,
Ed