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

Windows support!

Open omdxp opened this issue 5 years ago • 8 comments

This package is very helpful and need to be implemented for Windows platform.

omdxp avatar Apr 11 '21 12:04 omdxp

@christopherdro is there any news on this?

omdxp avatar Aug 22 '21 01:08 omdxp

Hi, anything about the windows support or an alternative way for RNW to generate pdfs?

Qurishe avatar Apr 07 '22 11:04 Qurishe

Hi, anything about the windows support or an alternative way for RNW to generate pdfs?

you can check this https://github.com/microsoft/react-native-windows/issues/7723#issuecomment-856814235

omdxp avatar Apr 07 '22 11:04 omdxp

Thank u Omar, what i didn't get is "user's Path as an environment variable" and the second one is which c# file do i have to add it to?

Qurishe avatar Apr 07 '22 11:04 Qurishe

@Qurishe What I meant is when you install wkhtmltopdf make sure you add the bin folder to the PATH environment variable so in that case the process will launch the command without issue.

You can add a new class next to the application files. Just right click on the C# project and choose Add to add a class file.

omdxp avatar Apr 07 '22 14:04 omdxp

@anupriya13 @TatianaKapos Any ideas on the LOE to add windows support for this package? This is often used with react-native-print.

christopherdro avatar Sep 04 '25 15:09 christopherdro

Hello @christopherdro - can you clarify you need it for new architecture (Fabric) in Windows? Also which version of RNW and which architecture are you using?

raorugan avatar Sep 05 '25 05:09 raorugan

@raorugan I just recently updated his library to support the new architecture will only be maintaining that moving forward. There's currently no support for windows.

christopherdro avatar Sep 06 '25 20:09 christopherdro