react-to-pdf icon indicating copy to clipboard operation
react-to-pdf copied to clipboard

Generate pdf from react components

Results 89 react-to-pdf issues
Sort by recently updated
recently updated
newest added

Currently using node `v.14.15.4` and snowpack in my dev environment. After install, I received the following error: ``` [snowpack] ! building dependencies... [snowpack] Cannot find module ' ... react-app/app/node_modules/react-to-pdf/umd/index.js' Require...

I have this svg on the page. ![image](https://user-images.githubusercontent.com/13749294/103536125-aebf2c00-4e70-11eb-8896-7f3a58c5cf51.png) when i download with that lib, the result is ![image](https://user-images.githubusercontent.com/13749294/103536232-e4641500-4e70-11eb-885a-3d5f630959a1.png) it doesn't happen with images, anyone can help me with that?

I'm trying to print and save as PDF my table, but every time I generate the PDF it only prints a quarter... [avaliação.pdf](https://github.com/ivmarcos/react-to-pdf/files/5158645/avaliacao.pdf)

Is there a way to have more than a single page document if the content I'm tryna render spans multiple pages?

@viniciushfr did you find a solution to this problem? Im facing the same issue my svg on page ![image](https://user-images.githubusercontent.com/69630565/192758065-f7c2255f-30aa-4ea4-809b-dc243ce5c726.png) downloaded file ![image](https://user-images.githubusercontent.com/69630565/192758124-2b7f9725-2c0f-47d7-8f66-c9137639fa3d.png) _Originally posted by @bhattiasad99 in https://github.com/ivmarcos/react-to-pdf/issues/41#issuecomment-1260715033_

If anyone is having issue with react version they may use this [package](https://www.npmjs.com/package/@kunwarji/react-to-pdf) over npm. https://github.com/KunwarVSuryavanshi/ReactToPDF

I just started playing around with this library it looks cool but i ran into the following issue when the content is large enough and a new page is created...

![image](https://github.com/ivmarcos/react-to-pdf/assets/159245963/2b02acf9-e533-45e0-aa8e-47e2533b7da9) Is any one know how to fix this

Hi, This is a great package. Works well on desktop. How do I configure this so that even when using mobile, it will still print the full width? Thanks! Great...

In the browser, the content ends like this: ![Screenshot 2024-01-20 at 5 22 30 PM](https://github.com/ivmarcos/react-to-pdf/assets/203307/ab1c2063-c5a2-4fcc-bdf0-5f6aeb348113) But in the PDF it's cut off: ![Screenshot 2024-01-20 at 5 22 38 PM](https://github.com/ivmarcos/react-to-pdf/assets/203307/540cc251-6688-4244-a0a1-4f37ca83d155) My...