How can I print the entire webpage of this url into a pdf file?

5,667

I see what you mean. I tried printing it with bullzip pdf printer (Community Edition) and get the same result. But... if you first save it as web page (single page, HTML only) and then print as pdf it prints everything just fine - but you lose some minor markup.

Share:
5,667
baz
Author by

baz

Elitists are oppressive, anti-intellectual, ultra-conservative, and cancerous to the society, environment, and humanity. Please help make Stack Exchange a better place. Expose elite supremacy, elitist brutality, and moderation injustice to https://stackoverflow.com/contact (complicit community managers), in comments, to meta, outside Stack Exchange, and by legal actions. Push back and don't let them normalize their behaviors. Changes always happen from the bottom up. Thank you very much! Just a curious self learner. Almost always upvote replies. Thanks for enlightenment! Meanwhile, Corruption and abuses have been rampantly coming from elitists. Supportive comments have been removed and attacks are kept to control the direction of discourse. Outright vicious comments have been removed only to conceal atrocities. Systematic discrimination has been made into policies. Countless users have been harassed, persecuted, and suffocated. Q&A sites are for everyone to learn and grow, not for elitists to indulge abusive oppression, and cover up for each other. https://softwareengineering.stackexchange.com/posts/419086/revisions https://math.meta.stackexchange.com/q/32539/ (https://i.stack.imgur.com/4knYh.png) and https://math.meta.stackexchange.com/q/32548/ (https://i.stack.imgur.com/9gaZ2.png) https://meta.stackexchange.com/posts/353417/timeline (The moderators defended continuous harassment comments showing no reading and understanding of my post) https://cs.stackexchange.com/posts/125651/timeline (a PLT academic had trouble with the books I am reading and disparaged my self learning posts, and a moderator with long abusive history added more insults.) https://stackoverflow.com/posts/61679659/revisions (homework libels) Much more that have happened.

Updated on September 18, 2022

Comments

  • baz
    baz over 1 year

    I try to print https://spring.io/guides/gs/maven/ into a pdf file using two ways:

    • used chrome browser by hitting ctrl-p,

    • used wkhtmltopdf with various options about javascript.

    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?

    Thanks.

    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.

  • Ragnar Von Lodbrok
    Ragnar Von Lodbrok over 6 years
    PS: and when you mark/highlight the text you want to keep in the HTML - before printing - it also ignores the header & footer stuff.