E
E
ELenaE2021-09-28 16:12:11
HTML
ELenaE, 2021-09-28 16:12:11

How to set up a button to print a document on the site so that the document immediately goes to print?

Good day! How to set up a button to print a document on the site?
It is necessary that when you click on the print button, the form for printing the document is called - and the document is pulled into it by reference.
I found a lot of tips where a page of the site is displayed (or formed) in the form for printing, but there is no link to display a specific document.
As planned: the material will be located on the site page and the user will be able to either download it or print it immediately (there will be two separate buttons). I want to immediately print the material without an intermediate preview.
Link to the site https://print-kids.ru/mainn/25-materialy/126-tsifr.... So far, the site is written on the constructor, but after updating the template, all the template settings have been lost. Now I want to rewrite the site to HTML to avoid this in the future

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2021-09-28
@ELenaE

With your mysterious "document" you cast a shadow over the fence and prevent yourself from looking for a solution. As far as I can see, the PDF link. The first thing that Google gives about this:
https://stackoverflow.com/questions/16239513/print...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question