Ist possible to convert my own HTML to PDF, without breaking the pages, preserving the formatting and supporting the hyperlinks? [closed]

StackOverflow https://stackoverflow.com/questions/13814875

Вопрос

I have already searched for many questions at Stackoverflow, but I really didn't consider the questions and the answers for my needs. DocRaptor is really not a good app because it breaks the pages and it doesn't recognise the extended Latin letters, as à, é, ã,, etc.

I used many HTML to PDF converter web-based apps, it didn't work for me, because they didn't preserve the formatting and the hyperlinks.

I used capture apps for Mac, as W3Capture and Layouts.
1) Layouts capture one whole HTML and CSS page as a PDF without breaking the pages and also preserving the formatting. But, it didn't support the hyperlinks, because it captures the page as PDF, behaving as PNG-like.

2) W3captures supports the hyperlinks, converting the HTML/CSS pages, but it breaks the pages and really doesn't preserve the formatting.

I also tested TextEdit, which can exports as PDF, but when it exports as PDF, it breaks the pages. Pages from iWork and Word also do it.

I'm really frustrated.

Is it possible to convert the own HTML page to PDF, without breaking the pages, preserving the formatting and supporting the hyperlinks?

Это было полезно?

Решение

I think you can open you html file in Chrome. Then print it to pdf format. Then it will works.

That is when you print it, you choose "save as pdf" rather than your printer.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top