Page 1 of 1
3.16P17 - Silent print of PDF ewo
Posted: Mon Mar 23, 2020 4:24 pm
by hbraun
Hello everyone,
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?
Kind regards,
HBRaun
Re: 3.16P17 - Silent print of PDF ewo
Posted: Thu Mar 26, 2020 2:20 pm
by Vakhnovwtskiy
Hello
I tried to use PDF-ewo too. I want to open PDF file on a panel.
My code in "Initialize" of Pdf_ewo1.
main()
{
this.load("C:/2.pdf");
}
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?
Re: 3.16P17 - Silent print of PDF ewo
Posted: Fri Mar 27, 2020 8:55 am
by leoknipp
When using silentPrint it is possibly a timing issue.
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?
Best Regards
Leopold Knipp
Senior Support Specialist
Re: 3.16P17 - Silent print of PDF ewo
Posted: Fri Mar 27, 2020 11:04 am
by Vakhnovwtskiy
When I'm openning the panel with EWO PDF in a Vision module I'm seeing only gray window. There was not delay.
Do EWO use any other components from Windows which I needed to install?
Re: 3.16P17 - Silent print of PDF ewo
Posted: Fri Mar 27, 2020 2:46 pm
by hbraun
Hello Mr. Knipp,
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.
Kind regards,
HBraun