Print to pdf, item image becomes too small

Dear All,

I have a typical problem with print to pdf option. I have uploaded an item image and want to use it in various docs like quotes, sales order, invoices etc. Everything looks fine and image column of sales order item table shows the image properly.

As I press Print, the preview in Microsoft print to pdf, image becomes very small almost invisible. The result of output pdf also the same tiny image. Tried Cutepdf writer too but no luck. Even paper print coming tiny.

This should be something related to wkhtmltopdf so putting in the forum. Tried with many versions of wkhtmlpdf but nothing happens. Please help to sort out this issue.

ERPNext: v14.0.1 (version-14)
Frappe Framework: v14.4.0 (version-14)
wkhtmltopdf --version
wkhtmltopdf 0.12.6.1 (with patched qt)
wkhtmltoimage --version
wkhtmltoimage 0.12.6.1 (with patched qt)
Sales order Item table

Print to pdf preview

Hello,

I don’t know if you solved this problem or not. But I faced same problem today and found a solution.

When selecting the column of the Items Table, I was using % to define the column width. As soon as I used px to define the column width, the problem was solved.

Thanks
Satish