Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Michael Nelson

    (@mnelson4)

    Hi @elainewpblog. Thanks for reaching out and providing the attachment.

    We’ll get this fixed!

    A couple questions though:
    1. What web browser are you using?
    2. If you don’t mind, what is your website’s URL?

    Thread Starter elainewpblog

    (@elainewpblog)

    Thanks for your prompt reply!

    The website is https://www.commodoreslady.uk . But I get the same problem on TMYC.org.uk

    It happens in both edge and chrome.

    Elaine

    Plugin Author Michael Nelson

    (@mnelson4)

    Thanks @elainewpblog. There is a setting in the web browser that controls this.

    I added a FAQ with some videos that should help: https://www.ads-software.com/plugins/print-my-blog/#how%20do%20i%20remove%20the%20headers%20and%20footers%20from%20printouts%3F

    Specifically, this video for Chrome should help:

    Let me know how it goes.

    Thread Starter elainewpblog

    (@elainewpblog)

    Hi there. D’oh! Sorry for being so stupid. My brain was mixing up Printmyblog ‘header’ settings and the browser .pdf print ‘header’ settings. Yes, that now works perfectly in Chrome and Edge.

    I am trying to get the perfect printout however, and am having various problems. Probably because I have so many images? Firstly the .pdf can split images across pages. And secondly when i do a two column print, the HTML looks great but the subsequent .pdf has lost some images. See https://1drv.ms/w/s!AjM8dv2IOTy3hLBnvxdLUd_BnaUHBQ?e=ABBwRx

    Elaine

    Plugin Author Michael Nelson

    (@mnelson4)

    Hi @elainewpblog, sorry I won’t get around to helping with these issues until Monday.

    Plugin Author Michael Nelson

    (@mnelson4)

    Hi @elainewpblog, I admit it took a few hours to find a good fix for the images getting cut in half, but I hope the fix will help future users too.
    If you like, you can try the new version before it’s released to everyone else too. It’s fine if you aren’t comfortable with it, just let me know.

    But if you’re willing to give the new version a try, here’s how:

    1. Download the new version from here: https://github.com/mnelson4/printmyblog/archive/BUG/avoid-page-breaks-in-image-series.zip
    2. Go to your WordPress dashboard, click plugins, then “add new”, then “upload” and select the zip file you just downloaded
    3. Deactivate the previous version Print My Blog
    4. Activate the new version of Print My Blog

    Then try printing your blog again. It should help with those images having page breaks inside them when you use the 1 column layout.

    Thread Starter elainewpblog

    (@elainewpblog)

    Thanks for all your hard work! Unfortunately it doesn’t seem to have made any difference. please see old version here https://1drv.ms/b/s!AjM8dv2IOTy3hLEPWzdTckpxcyBtOA?e=Zx9N5e and new version here https://1drv.ms/b/s!AjM8dv2IOTy3hLEOLJcBMy6e6Ggn2A?e=SdjI6m

    Also there were some errors on the PHP log https://1drv.ms/w/s!AjM8dv2IOTy3hLEMsnkFcjP6t0KHAA?e=4aPmsn but that’s probably down to me!

    I appreciate your efforts and will be donating. However we had a small time window for producing this, and I think I will have to go with what i have got.

    Plugin Author Michael Nelson

    (@mnelson4)

    Hi @elainewpblog, I see both of those PDfs you shared were from TMYC.org.uk, whereas I was working on the issue I saw on the other site.

    On TMYC.org.uk, the way the HTML is made I can’t get the browser to automatically avoid pagebreaks inside the gallery images.
    I tried telling the browser to just always have a pagebreak *before* each gallery though, and I think the results are pretty good.

    Are you comfortable adding custom CSS to your website? (Here’s a tutorial) If so, try this:

    
    .wp-block-gallery{
        page-break-before: always;
        overflow: hidden;
    }
    

    If that seems good to you, I’ll probably add that to the next version of the plugin too.

    And thanks I’ll look into those PHP warnings.

    And if this is too late for your needs, no worries.

    • This reply was modified 4 years, 9 months ago by Michael Nelson. Reason: add link
    Plugin Author Michael Nelson

    (@mnelson4)

    Well, I actually just released that change in version 2.6.2 a moment ago, so no need to try that code snippet.

    By the way, you’re not stupid at all for getting Print My Blog’s header settings mixed up with the browser’s header settings. It just isn’t clear. The next version will have some text clarifying that Print My Blog’s header text only appears at the top of the first page, not every page.

    Anyways, all the best! Thanks for pointing out some issues and donating!

    • This reply was modified 4 years, 9 months ago by Michael Nelson. Reason: typo
    Thread Starter elainewpblog

    (@elainewpblog)

    Ok. That version is not for us. It is already a large document, it has numerous gallery pics so this version just creates too many pages!

    Thanks for your help.

    Plugin Author Michael Nelson

    (@mnelson4)

    Hmm thanks for letting me know but I’m not sure what to do there. The browser can’t figure out how to avoid pagebreaks inside gallery images (I’m working on integration with paid a PDF-creation service that is more promising.) I’d suggest you use the HTML export format to copy-and-paste into Microsoft Word or Google Docs so you can manually control how it gets formatted. You’ll need to work on formatting it all (which is why I was trying to have it automatically format it all) but I think you’ll be able to get the layout you’re wanting.

    Ok, take care!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘URL keeps appearing on .pdf’ is closed to new replies.