Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Send content directly to a printer

David Flores
8 years ago Jun 23, 2014 7:41am
Thomas Mattsson
8 years ago Jun 23, 2014 11:33am

Since Vaadin components (and apps) aren't really designed to be directly printed, the quick answer to your question is no. There is no way for you to isolate just one component inside a Vaadin app; as others said, you need to have it in a separate browser window for the browser to properly recognize it. The way most apps do it is to either produce the HTML as suggested, or PDFs. They usually make for nicer looking reports anyway.

David Flores
8 years ago Jun 23, 2014 11:43am
Amelia Alby
3 years ago May 26, 2019 4:52pm