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

direclty printing instead of downloading #670

Closed
mosesnagar opened this issue Dec 4, 2023 · 1 comment
Closed

direclty printing instead of downloading #670

mosesnagar opened this issue Dec 4, 2023 · 1 comment

Comments

@mosesnagar
Copy link

hi, currently we're using this library to print a PDF. is there a way to skip the printing phase and just downloading it?

thanks

@MatthewHerbst
Copy link
Owner

Hello. As mentioned on our README, react-to-print is not capable of generating PDFs, all we do is open the content for printing in the browser, and the browser offers you the option to print a PDF. If you visit the link in the README there is a thread with some example of how to mix react-to-print with other libraries to do this. Please let us know if you run into any issues.

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