I try to print https://spring.io/guides/gs/maven/ into a pdf file using two ways:
used chrome browser by hitting ctrl-p,
But I can only print the beginning part of the webpage (imagine the webpage is paginated, only the first page content is printed into the first page of pdf file, and the following pages are blank).
I wonder what is the reason that I can only print part of the webpage?
How can I print the entire webpage into a pdf file?
ps: I also would like to print the code snippets in the webpage with horizontal or vertical scroll bars in their entirety. But that is not the first priority at this moment. If necessary, I will ask in a future post.