How to create a print dialog showing the current screenshot of a web page

I just want to know if there is an easy way to create a print dialog for WordPress that displays the actual appearance of the web page in the print dialog. P, perhaps a full screenshot of the page can work as long as it has the full height of the page.

I tried the WP-Screenshot plugin on this page . The plugin displays a screenshot that can be printed by adding the print dialog plugin. However, the height of the image created by WP-Screenshot cannot be dynamic, so I think I need to find another solution.

I cannot find a plugin that has a function to print the current web page with all the styles saved in the print dialog. So I think the screenshot may work.

Any idea or suggestions?

+4
source share
1 answer

To print a page and get a print dialog, you can simply use window.print()

For a better understanding, visit window.print ()

+1
source

All Articles