Print designer print format is not working properly

Hi there,

I have installed Print Designer and created one print format with print designer. the print format seems okay when I open it with print designer for editing purpose but when I use that print format for printing with real doctype data then it is not showing some content from my print format. I don’t know why this is happening to me.

See these screenshots for better understanding.

print format in print designer app

print format when I use it with doctype print

and also when I am going to print doctype with that print format I can see one error on my browser console window.

“The --scale-factor CSS-variable must be set, to the same value as viewport.scale, either on the container-element itself or higher up in the DOM.”

Thanks in advance for your help!

Best,
Farooq

2 Likes

Hi,
Any solution to the problem mentioned above?
I’m also facing the same issue and error.
Please Help!!!

best,
Parvathy N Nair

Hi everyone! I have the same issues.
After setting up Header and Footer it disappears from a printer document, Terms and Conditions section doesn’t print as well. Thank you in advance.

paging @maharshivpatel :eyes:

please install the correct / latest version of wkhtmltopdf with qt patched

https://wkhtmltopdf.org/downloads.html

2 Likes

Thank you.

Good morning, I have a problem with the print size.
I have the jammy version of Ubuntu and I installed the corresponding version of wkhtmltopdf but the problem persists even though I already migrated the application with the corresponding command
What other variable could be the problem?

1 Like

When I go to this link and select Ubuntu 22.04 the file is getting downloaded in my system, there is no step or command,
How to install or update “wkhtmltopdf with qt patched” in bench, is there any step or proper command to do this?

The version I have right now is vakhtamaltopdf 0.12.6
image

same issue i have 2 different environment v15

  • The print designer, template design and print output created never matches. Multiple texts become misaligned.

  • The row on which a text field is placed, will end up on the next row for some reason.

  • The sequence of text, changes for no reason
    Example. “Text A” “Text B” “Text C” in the template will end up as
    “Text C” “Text A” “Text B” in the print.

  • Absolutely cant figure out why this is happening.

wkhtmltopdf 0.12.6.1 (with patched qt)

This is the lib version on mine.

Another lingering question is how reliable is this lib as of today. Given that its almost 5 years since its last release and as per the docs, version 0.12.7 which as planned for Aug 2020 was never released.

So its safe to assume that there will be no future releases for it and now there seems to be more promising alternatives out there. WeasyPrint looks promising and is also recommended by wkhtmltopdf.

Please use Chrome instead of Firefox. your issues should be solved. Thank you.

I am aware that it should also work on firefox but as workaround for now please use chrome for saving print formats in print designer.

I completely agree with you. I installed Print Designer too, but I’ve noticed a significant discrepancy between the preview in the designer and the actual printed output. The fields often print in different positions or overlap. Also, when saving in Print Designer, it generates a massive amount of duplicate CSS, which is quite confusing.

Moreover, I’ve encountered issues when rendering with Jinja and HTML. It doesn’t seem to integrate seamlessly; adding something with Jinja in HTML doesn’t always work as expected.