PrintResolution

Help Desk ›› Feature Requests ›› PrintResolution
Released
30 September, 2024 21:57:31
martexx
Topics: 5
Messages: 25
Hi,

When i print from the browser after generating a pdf the quality sucks.

Could u please add print resolution to the settings page?
Its in viewer.js and It defaults to 150 dpi which is not enough for my application.
I now manually change it to 300 but after update of course is overwritten.

150 is nice for webviewing, but not for printing.

Many thanks
30 September, 2024 22:59:02
E2Pdf
Support
Topics: 7
Messages: 3331
Hello,

We will review and add the possibility to set the resolution. We will notify you as soon as the feature is available.
We would really appreciate your feedback at WordPress.org!
15 October, 2024 00:38:02
E2Pdf
Support
Topics: 7
Messages: 3331
Hello,

We’ve just released an update to the latest RC version (1.26.05), introducing a new feature that allows you to adjust the viewer print resolution. To update, follow the steps outlined here: https://e2pdf.com/docs/install#rc-version

After update:

You can adjust it using the "resolution" attribute as follows:

[e2pdf-view id="1" resolution="300"]

or

You can also change the resolution globally for all viewers by adding a filter to the theme's functions.php file or by using a PHP snippet: https://codefile.io/f/thSC38iWJk




We would really appreciate your feedback at WordPress.org!
29 October, 2024 11:34:00
martexx
Topics: 5
Messages: 25
Thanks!! and sorry for getting back a bit late, works like a charm!
31 October, 2024 00:40:36
E2Pdf
Support
Topics: 7
Messages: 3331
Hello,

There haven’t been any changes to the "resolution" functionality; it should still be set as described above. Could you please share a page URL we can check?

P.S. Alternatively, you could try clearing the cache, if any is being used on the website (such as Cloudflare or cache plugins).
We would really appreciate your feedback at WordPress.org!
31 October, 2024 02:48:02
martexx
Topics: 5
Messages: 25
Hi, ok then its probably a browser or local printer setting.
If i print from browser its a little bit less quality and the colors are off, but if i download it from the pdf js viewer to desktop its perfect.

Ill figure it out