Create a PDF report from a URL

Asked by Albert Whale on 2019-11-03

I want to capture the Status of a URL (localhost) via Cron, and then Email it to the Administrator.

How do I convert a webpage to a PDF from the command line? I would like Cron to generate the PDF without having to have a browser read the URL and then selecting Print and convert to PDF.

Is this possible?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2019-11-04
Last reply:
2019-11-04

You can use the convert command in imagemagick to make any document into a PDF

Albert Whale (albert-whale) said : #2

OK, I understand the Document to PDF conversion, but I am asking about converting a webpage (not a document) into a PDF.

Can you help with this problem?

Provide an answer of your own, or ask Albert Whale for more information if necessary.

To post a message you must log in.