Hi - I have a group that has a background image. I want to be able to print the background image automatically, and not require the “print background graphics” option to be selected in the browser. Does anyone know if this is possible? I’ve tried a number of plugins but cant seem to get it to work.
Hey @dballiet
This is about setting the image as background. Browsers reject it for printing.
What you can do is to play with your layout a little bit and add the image (whatever is in the background) as a separate image element. Then, it won’t be a problem.
See the two groups below. They look like same, right?
But when you open print popup, of course the first one’s image is hidden because it is set as background:
You can put a same sized image element, or add another group with align to parent
layout so, they will be at the same location.
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble
Hey @flusk - Thank you for responding. In fact, this is great advice and what I ended up doing. The problem that I continue to have (and why I was trying to simplify things) is that I’m trying to create a group (or image within a group) that always prints out or saves as PDF nicely and exactly as a US Letter (8.5 inches by 11). I was thinking if I only had a group to worry about and not an image, it might help me understand better why I can never quite get the print exactly 1 page and the pdf exactly 1 page… The struggle continues there.
PS - Once I get up and running at some point, I am interested in your product and look forward to giving it a try!
To be honest, I couldn’t understand what the problem is. Can you explain in more pictures and details so I can have a look?
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble
I appreciate you taking the time to respond. Through your guidance I was able to get this to work by using an image file within the group. And then when printing or exporting to PDF, if doing that at the group level, the browser/plugin automatically sees the background elements and prints them as well.
The trouble I was then having was to get it to ALWAYS scale to the size of US Letter with minimal margins, no matter the size of the group / image. And I was able to accomplish this but writing a custom plugin that says "no matter what the size of the elements, always scale them to 8.5 inches wide by 11 inches long.
This topic was automatically closed after 70 days. New replies are no longer allowed.