A
A
Alexander Nameless082018-02-07 13:51:28
PHP
Alexander Nameless08, 2018-02-07 13:51:28

How to save a specific part of a page in pdf?

Hello!
How to save part of a page in pdf? That is, I have a page with the formation of the text of the document, depending on the selected settings - the text is different, how to implement the functionality of saving this document in pdf? That is, under the layout of the document there will be a button "Save to pdf". That is, you need a service or a library to pick up?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2018-02-07
@Nameless08

Well, that's what I would do.
1. By clicking on the "Save" button, the settings are sent to the server.
2. Based on the settings, the server generates the required html
3. For example, open this html with headless chrome and save it
as pdf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question