@ZeroqodeSupport
Update:

So, I have gotten it to work by hiding many elements. I’m now going to start adding them back one-by-one.

This should tell me if there is a single specific element that is the cause, or if it is a certain number of elements (a threshold limit) that is causing the problem.

Update 2:
I’m at my wit’s end with this It is an image problem, but there is no obvious cause. Please watch the video.

2 Likes

@robert, hello.

First of all, please receive my apologies for such a delay in reply :pray:

I have investigated the image issue, which is occurring within the page 9. There are some errors (visible on browser console), that prevent the image element from converting into the PDF file. Our dev team will check out and try to fix it ASAP.

(This issue is reproducing on Windows10, any browser. But is not present on macOS devices. We will check this out.)

Unfortunately, I have to ask you for some patience again. Thank you for understanding.

Regards,
Zeroqode Team.

2 Likes

@ZeroqodeSupport

Thank you for looking into this further. No worries about the delay. I greatly appreciate you for taking the time to look into it and for finding the source of the issue. Looking forward to hearing from you soon.

Robert

2 Likes

@robert,

Thank you so much for your patience :pray:

We have a very thorough investigation of the issue you had within your app.

Our dev team has succeeded in resolved this issue and made the plugin update. :exclamation:
image

I have already updated the plugin within your app and tested the behavior of the image elements in the test_page - I suppose it works fine now (element and page are converting well with that troublesome images) :slightly_smiling_face:

Would you kindly check and confirm?
Regards,
Zeroqode Team

1 Like

@ZeroqodeSupport

It didn’t work for me. Please advise.

@robert,

Apologies for such inconvenience. Can you please tell, what exactly is not working on your side?

We have tested your app on Windows 10 and macOS devices - there are no issues with the converting page or element into the PDF file. The images, that you were complaining about, are printed well. I can send on your email the video record of reproducing the conversion of your test_page into PDF file with all images, if you want.

All I can suggest you add a pause or breakpoints if you are still facing the loss of those images after conversion to PDF.

Regards,
Zeroqode Team

@ZeroqodeSupport

It doesn’t print at all. Nothing happens.

OK it seems to be working now. Thank you. There was an issue with antitracking software that prevented it from working initially.

UPDATE (2pm EST)

@ZeroqodeSupport It prints the test page report just fine. The report on this page (testpage) is 10 pages long. I then tested my 17 page report, and it stops printing correctly at page 14 of 17. It prints the remainder of the report with a black background (see image).

I hid 2 of the images that were problematic previously, but that made no difference (it stopped printing correctly in exactly the same place).

So I am wondering if there is any chance of squeezing a little bit more performance out of this plugin to get the last 3 1/2 pages to print correctly? Thank you for all the work you have done to make this the best pdf plugin on Bubble.

UPDATE: Note to @ZeroqodeSupport the 17 page report is on the page sandbox

2 Likes

Would this bug fix possible be able to resolve the issues I am having with the plugin dimension settings?

@boston85719 I don’t think this update addresses the issues you raise. However, I do think these issues can be fixed with a bit of trial and error tinkering with the dimensions.

For example, I do not use the pre-set output selection for Letter size. I use custom settings and played around with the sizes until I discovered the correct dimensions.

So, my printed element is 900px wide, but I use 815,1055 as the custom target format setting. Also, the custom source width is 815 and the source height is in proportion (the actual formula is 1055 x number of pages, minus 1px).

Obviously, for A4 and based on your element width, your settings will be different. It took me many hours of trial and error, and test prints to get it right.

Good luck.

1 Like

Thanks @robert my goal would be to avoid many hours of trial and error for all portions of my app that I need to create a PDF from.

For that particular test that I linked to it took me a couple of hours to narrow down what is the correct output custom formatting.

In my mind, I believe the plugin should work so that the width and height settings used for A4 would work properly, so that there is not such distortion.

Having the plugin dimensions working properly would help users build their pages and target elements with the correct dimensions in mind so to not only avoid many hours of trial and error trying to get and idea of how to set the plugin dimensions for a ‘new’ use on the app, but to avoid many more hours of having to design the page elements themselves to accommodate the dimensions required in the plugin.

I may be wrong here, but my assumption is that my elements on page need to have the same dimensions as those in the plugin to print. So for example, if I want to print a page from my app with a page dimension of width 900px like in you example, that page at 900px is actually fitting on a pdf with the plugin width set to 815px.

My thought is that if I had a page dimension of width of 1200px, that the plugin pdf width set at 815px would cause distortion, so I’d have to spend hours tinkering to try and figure what are the correct settings in the plugin.

My hope was that if I had a single element of say 720px and I use the standard plugin A4 width of 960px that the PDF created would be 960px and I could use some math to center my single element on the PDF by taking the pdf width of 960px subtracting my single element width of 720px and dividing by two to get the left padding dimension to enter into the plugin.

What it seems like is the plugin dimensions are not working properly, making it nearly impossible to center a single element onto the page. It also causes issues with distortion, unless of course the user spends hours tinkering every time they want to print something.

I’d prefer the plugin be working properly in terms of dimensions to make it more powerful and easier to use, thus making it a plugin that more bubble users would adopt. I believe this is in the best interest of @ZeroqodeSupport as well.

Hopefully they will push a fix through.

@boston85719 yes, you are correct. For every element of different widths, you would need different settings. My only suggestion is this. If the output is going to be the same (A4), can you make the input elements the same width to avoid this problem?

That would be possible for a couple of things, but not everything.

@robert,

It’s great to know that you succeeded to figure out what was preventing the plugin to print your pages. :pray:

This issue was used to be resolved by setting the element’s background transparency to 100 (#fffff), but for some reason, this did not work with your 14th page (I’ve tried it already).

Perhaps, we are pushing the plugin too much and some conditions just block the plugin from printing some pages accurately. Apologies for this, but the only thing I can suggest is to change the canvas size, play with element styles, to find the solution.

Sorry for not being quite useful in your situation.
Regards,
Zeroqode Team

Hi @levon, how are you doing?

I have just bought the plugin and I think this will solve my issues with page breaks.
The thing is, I have a form where the user will fill up the information, and then when the user clicks on the printer icon, the app will bring the user to a page (A4 format) where he will have the option to print or save the pdf file.

So, how can I set this up since, as far I understood, the plugin icon needs to be on the page the user is in. In this particular case, this page is completely different from the one that it’s printed.

*In summary, I need to convert another page and not the one the user is in.

Not sure if I was clear about my issue.

Hi @ZeroqodeSupport,

First of all, this is one of my favorite bubble plugins. Please keep up the good work with it.

With v1.28, I’m having the same problem as @robert noted with the black background. My app only PDFS one page (Letter size). The top part of the page is missing all the elements / details, but the middle and bottom of the page is showing fine. It’s as if the middle and bottom section shifted upwards and left the black color as the void.

image

I can’t seem to reproduce it, but some of my users are experiencing it and the send me the PDfs. I’ve reverted back to v1.25 which was stable / worked well.

Thank you,
G

Hello, @gilles. Thanks for reaching out.

If you need to convert a single page, there are a few ways for you to get rid of the black background:

  • place the content you want to convert into the group and convert this element into the PDF file (with the specific conditions, set in the workflow);
  • convert the whole page into the PDF, with the specific conditions in the workflow.

In a case for the element conversion:
Portrait orientation > elment size (for example) are 960x1080:

  • you need to add 15/30 px more to the target/source format values (width/height), than your current element has;
  • uncheck the Breack content into pages checkbox;
  • use only the Custom Format (target/source);
    design-1, design-2, workflow-1, workflow-2, preview, result PDF.

Landscape orientation > element size (for example) are 1080x960:

  • all the same settings, as for the portrait, but swap the width and height.

In a case for page conversion:
Portrait orientation:

  • you need to add 15/30 px more to the target/source format values (width/height), than your current element has;
  • uncheck the Breack content into pages checkbox;
  • Source Format - Custom;
  • Target Format - a4;
    design (the same), workflow-1, workflow-2, preview (the same), result PDF.
    Landscape orientation:
  • all the same settings, as for the portrait, but swap the width and height (Source Format).

I hope this will help you :pray:
Regards,
Zeroqode Team

1 Like

@ZeroqodeSupport
In your PDF example, your charts have disappeared (from the preview).

How can one print the charts?

Hi @ZeroqodeSupport Any update on this? Thanks.

Hello @ZeroqodeSupport, I really like your plugin. I still have some questions.

i set the plugin up and it seems to work ok. I have a 3 page pdf report. but some times the content gets stretched to 4 pages. without any changes on my side.
I did some realignment now, its working again. but I think I will run into this problem again. how can I build a more robust report?

i also noticed. that some time ago the report had a black background. so I changed the group background from transparent to white. it fixed the issue.

one more thing: the quality of the pdf seems a bit low, I am using the compression setting “none”, is there any hidden setting to get really good quality?

thank you

cheers