PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → [WB23] Show the report and then print
[WB23] Show the report and then print
Débuté par ARV, 23 juil. 2018 18:42 - 3 réponses
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 23 juillet 2018 - 18:42
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
Posté le 24 juillet 2018 - 15:20
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
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 24 juillet 2018 - 16:13
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
Posté le 24 juillet 2018 - 17:18
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