printInBackground: print quality

PDF.js Express Version

UI version “7.2.0”
Core version “7.2.2”
Build “MS8xMi8yMDIxfDcxODAxYzM3NA==”
WebViewer Server false
Full API false

Detailed description of issue
i am using the print function instance.printInBackground but in the browser preview this always has a low quality. I entered the call instance.setPrintQuality(10); both before instance.printInBackground and inside

WebViewer (…)
.then (function (instance) {
instance.setPrintQuality (2);

but without success.

Strangely, if I open the print panel, select the HIGH quality, I make the preview then also in my function it is kept high.
It appears that the printInBackground function takes the quality from the panel

Expected behaviour
high quality print

Does your issue happen with every document, or just one?
every document

Code snippet
pagesToPrint: arrayPages,
includeAnnotations: false,
onProgress: function(pageNumber, img) {},

Hey there!

This is a known issue and will be fixed in 7.3 which will be released very soon.

Keep an eye on #announcements for an announcement.