Search the Community
Showing results for tags 'print'.
-
I have a Mobile Application that uses the TUnimCalendarPanel and I want to print a Desktop Emulation Month View on A4 Landscape Paper. So with a Mobile Device running the Mobile Application I want to invisibly create a Desktop Emulation Month View and print the HTML Contents -or- convert to PDF. Don't worry about the printing or PDF processes, I just need access to the HTML that painted the Desktop Emulation Month View. Please advise - thanks in advance.
-
I am trying to get this Print Code to work inside a UniGui HtmlMemo - can anyone please advise why this basic code does not work with UniGui ? HtmlMemo.Lines.Clear; ///////////////////////////////////////////////////////////////////////////////// s:= ' <script> '+ ' function printPage(id) '+ ' { '+ ' var html="<html>"; '+ ' html+= document.getElementById(id).innerHTML; '+ ' html+="</html>"; '+ ' var printWin = window.open('', '', ''left=0, top=0, width=1, height=1, toolbar=0, scrollbars=0, status=0''); '+ ' printWin.document.write(html); '+ ' printWin.document.close(); '+ ' printWin.focus(); '+ ' printWin.print(); '+ ' printWin.close(); '+ ' } '+ ' </script> '+ ' <div id="block"> '; HtmlMemo.Lines.Add(s); ///////////////////////////////////////////////////////////////////////////////// add additional html code here ///////////////////////////////////////////////////////////////////////////////// s:= ' </div> '+ ' <br> '+ ' <input type="button" value="Print" onclick="printPage(''block'');"></input> '; HtmlMemo.Lines.Add(s);
-
Good afternoon. Please tell me how to print text from UniHTMLMemo. If I select all the text, the context menu by right mouse button appears, click "Print" and the text is printed . But if no text is selected, then there is no such item. How to print without selecting text? Sincerely, Alex Choo. Добрый день. Подскажите, пожалуйста, как вывести на печать текст из UniHTMLMemo. Если я выделяю весь текст, то в контекстном меню по правой кнопке мыши появляется пункт "Печать" и текст печатается прекрасно. Но если текст не выделен, то этого пункта нет. Как вывести на печать не выделяя текст? С уважением, Alex Choo.
-
Good Morning! I wonder how do (send to) print the contents of a UniHTMLFrame. I can export the contents of UniHTMLFrame to a PDF? How? Can someone help me? Grateful!
- 6 replies
-
- UniHTMLFrame
-
(and 2 more)
Tagged with: