PrintResolution

Released
September 30, 2024 21:57:31
martexx
Topics: 6
Messages: 28
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
September 30, 2024 22:59:02
E2Pdf
Topics: 7
Messages: 3614
Support
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!
October 15, 2024 00:38:02
E2Pdf
Topics: 7
Messages: 3614
Support
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!
October 29, 2024 11:34:00
martexx
Topics: 6
Messages: 28
Thanks!! and sorry for getting back a bit late, works like a charm!
October 31, 2024 00:40:36
E2Pdf
Topics: 7
Messages: 3614
Support
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!
October 31, 2024 02:48:02
martexx
Topics: 6
Messages: 28
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
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.