How to create print.html for printing all pages in single page

I want create a print.html page for print all pages in this page.
Rust book have this feature for printing: The Rust Programming Language

You can create layout for that where you will range all content with {{ .Content }} instead {{ .Summary }} and without pagination, but my question is what for?

Unless you want to generate that to save in PDF, I doubt that anybody will print 700 pages and kill trees only to discover in the middle that layout is not suitable for anything.

I want do it like rust book

Just replace the word Print with an icon (Fontawesome, etc) or SVG.

I don’t have problem with print button, I need create single page from All contents.
Similar Rust book print.html.