PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → [WB23] Show the report and then print
[WB23] Show the report and then print
Iniciado por ARV, jul., 23 2018 6:42 PM - 3 respostas
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em julho, 23 2018 - 6:42 PM
Hi

Is it possible to show the report in some way and then if could have an option to print for the user?, more like when you open a pdf from the web and then you could print from there with your pc.

Thanks.

--
Best Regards
Jose
Publicado em julho, 24 2018 - 3:20 PM
Hi Jose,

Yes it's possible EXACTLY the way you described it...

You print the report as pdf (idestination), display it in a new tab of
your browser (filedisplay) and let the user print it or not

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Free Video Courses, free WXShowroom.com, open source WXReplication, open
source WXEDM.

More information on http://www.fabriceharari.com


On 7/23/2018 10:42 AM, Jose wrote:
Hi

Is it possible to show the report in  some way and then if could have an
option to print for the user?, more like when you open a pdf from the
web and then you could print from there with your pc.

Thanks.

--
Best Regards
Jose
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em julho, 24 2018 - 4:13 PM
Hi Fabrice,

Yesterday I try that but the bad part it's that FileDisplay open on my current tab and not to a new one, I try to use OpenBrowser but doesn't work, because it needs to be a String with an URL on it.

So there's a way to open a new tab on my browser with this file on pdf?

Thanks

--
Best Regards
Jose
Publicado em julho, 24 2018 - 5:18 PM
Just change the destination of the print button to NEW BROWSER in the
first tab of the properties and it will display the pdf in a separate tab.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Free Video Courses, free WXShowroom.com, open source WXReplication, open
source WXEDM.

More information on http://www.fabriceharari.com


On 7/24/2018 8:13 AM, Jose wrote:
Hi Fabrice,

Yesterday I try that but the bad part it's that FileDisplay open on my
current tab and not to a new one, I try to use OpenBrowser but doesn't
work, because it needs to be a String with an URL on it.

So there's a way to open a new tab on my browser with this file on pdf?

Thanks

--
Best Regards
Jose