Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic printing #58

Open
wandresrh opened this issue Sep 5, 2024 · 1 comment
Open

Automatic printing #58

wandresrh opened this issue Sep 5, 2024 · 1 comment

Comments

@wandresrh
Copy link

Como podría imprimir el documento de manera automatica, sin interacción del usuario?

@paodb
Copy link
Collaborator

paodb commented Sep 11, 2024

Can you share more information about the exact use case? And also which Vaadin version and which component version you are using?

Either way, at first sight it seems that printing could be invoked using the Element API, for example: pdfViewer.getElement().executeJs("printPdf.printPdf($0)", pdfViewer.getSrc()). Which is similar at the invocation done by the printing button in the toolbar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants