Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

HTMLToPDF is not able to resolve external CSS



Customer has a PrintHarness and they are passing PrintHarness HTML-Stream to HTMLToPDF(OOB Acitvity).
1) HTMLToPDF is able to generate PDF but its not able to apply external CSS on generated PDF.
2) Not able to include images on generated PDF
3) While using the pega survey they are not able to generate PDF only

Error Messages

1. Generated PDF doesnt contain external css
2. Sometimes we get blank PDF file as well.

Steps to Reproduce

Create Harness
Apply Skin on Harness
use Property-Set-Stream to get HTML stream and pass it to HTMLToPDF
generated PDF doesnt contain styles of Skin.


This issue is resolved by hotfix item HFix-8006

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us