3.16P17 - Silent print of PDF ewo
Note: This is no replacement for the Official ETM Support!
I try to print a panel which includes a PDF-ewo with silent print function but the in the printout the PDF-ewo is always blank (PDF file seems to be loaded by the EWO though, "load" returns 0).
I tried adding a delay after loading the PDF but the EWO remains blank in the output.
Is there anything special to consider when using the PDF-ewo with silent print? Or is it not possible at all?
I tried to use PDF-ewo too. I want to open PDF file on a panel.
My code in "Initialize" of Pdf_ewo1.
When the Panel is run PDF_ewo is empty. And the Log is empty too.
I used 3.16P015 and 3.17P002
How open PDF documents on a panel?
If you are using silentPrint the panel is printed when the "Initialize" scripts are executed. Maybe the EWO has not loaded the pdf at this time and therefore you do not see it at the print of the panel.
When opening the panel in a Vision module can you see a delay in displaying the loaded pdf file?
Senior Support Specialist
I tested it also with a delay (up to 30 seconds) after loading the PDF, but the content of the PDF does still not appear on the printout.
When I open the panel in quick test there is no noticable delay until the PDF is displayed. Also printing the panel including PDF-EWO with "printPanel()" function works in quick test.
Note : In the printout created with silent print the PDF-EWO seems to load the PDF: I can see the correct page numbers and scrollbars in the printout.
Just the content of the PDF is not displayed, only blank white pages.
So it seems the problem is related to the silent mode of the UI.