Forum How do I...?

Convert html to pdf - browser does not support frames!

florinb
Hi,

I'm trying to convert with Prince software local html pages into pdf, and keep the styles (tables, colors, fonts) as they are in the original html file.
Is this possible with Prince software? The converted output file is a blank page with a couple notes saying that my browser (tried with Firefox and Chrome) does not support frames.

Could you guide me to achieve the desired output?

Thanks
mikeday
Does your page use frames? Because Prince does not support frames, unfortunately. Typically a document using frames will contain a <frameset> element and several <frame> elements which refer to subdocuments, and perhaps you could run Prince on the subdocuments instead?
florinb
Thank you for your quick reply. My page indeed uses frames but I need to converted it into a single page pdf keeping styles. Do you know what other software I might use?
mikeday
Sorry, maybe you could try wkhtmltopdf? It uses WebKit so perhaps it will support frames. But I think it will be easier to get quality printed output if you can transform the document in some way to not require them.