Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
NPrinting tasks executions or reports previews are failing with a CEF rendering error message.
Or reports are created but the images from Qlik Sense are not correct. You may see incorrect colors or the image is cut.
For a video with walkthrough of the concepts in this article please see STT - Troubleshooting Qlik Sense Images in NPrinting Reports
The images that NPrinting imports from Sense are created in a separate page (Printing Meshup) inside Qlik Sense.
We can replicate the process that Qlik Sense follows to create these images.
This gives relevant information to troubleshoot any formatting problems.
We will test the image creation in Qlik Sense, so we will see what is the image that Qlik Sense actually creates and sends to NPrinting. This is useful to understand if the problem is due to NPrinting or to Qlik Sense.
Images are created in a page hidden in Qlik Sense and called "Printing Mashup". We are going to connect to this page and ask to generate the image. To do this, we will need to know the app ID and the image ID.
The following steps must be performed on the Sense Server NPrinting is connecting to.
https://myqliksenseservervirtualproxy.com/resources/printing-live.html?callback=cconsole&logging=net,ws
Example
https://qlikserver1.domain.local/resources/printing-live.html?callback=cconsole&logging=net,ws
Note that if are attempting to troubleshoot this issue independently and you are unable to connect to this page, please take snapshots of the connection issue attempts and open a support case.
You will not be able to proceed with Steps 3 and 4 if you cannot connect to this page successfully
This Java script command will be used to call the image in the Qlik Sense Printing mashup code.
Replace the example Qlik Sense App and Image IDs found above with those found in your environment.
Example Java Script Call:
qlikPrintingService.render("713ec3ce-6b7d-4233-85bc-b2fa61458a37","","object","YjXMhr")
*Recommend using a text editor to format this line before proceeding to step 4 below*.
Result: A 'Preview' of the Qlik Sense image should be generated verify its size and formatting. This is the image that exported from Qlik Sense and subsequently import by NPrinting.
If the image does not appear