How print a form with an htlm text field

Hi all,

I got a form that is used to record minutes, texts and other similar stuff.
More or less there is a kind of title and then the html field text.
How can I print both in a page like a document without making a specific pdf report ?
Is it possible ?
Thanks

doc.jpg

You can consider using javascript, but it will print full html page.

Javascript : window.print();

Hi, thanks
Is it the same that you do when from browser you choose print the screen content from men? ?
I would like to print only all the content of the html field only.
As you can see on image it could be possible that part of text of htlm files would be hidden and so the Printing would miss a part of it.

If you want to print just a html piece then you need to use html2pdf to do so. Otherwise I see no possibilities. With PHP you can intercept output in a variable to be used for printing. See ob_start for that.

Is there a solution for this? If I look at tinymce, I see that it has a print option - which prints what I want to print. But the editor in SC (which is tinymce?) does not have a print option? Am I missing something?

El editor HTML tiene la opci?n print del contenido.

print.jpg

How easy is that. Can’t imagine how I missed it! Thank you.