PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD21] How to test whether a report was actually printed?
[WD21] How to test whether a report was actually printed?
Iniciado por guest, 05,oct. 2016 19:38 - 5 respuestas
Publicado el 05,octubre 2016 - 19:38
Hello to all
and especially printing gurus:-)

I am printing a document with the commands:
iPreview iPrintReport Is there a way to find out, whether a report was actually

- printed (or sent to the printer)
- emailed (or email started)
- saved as a PDF
- etc.

from the preview window?

In other words, I would like to know, what the user did in the preview window, or did (s)he just escape from it without doing anything.

Is this possible? How? Where?:confused:

Best regards
Ola
Publicado el 05,octubre 2016 - 20:17
Hi Ola,

you can always incorporate the preview window in your application, put all the buttons you want to check outside screen, then add your own buttons. IN these, you set flags (in a global var, by example), THEN call the real button with execeuteprocess

Best regards
Publicado el 05,octubre 2016 - 21:41
Hi Fabrice,

That's a good plan, thank you.

Best regards
Ola
Publicado el 06,octubre 2016 - 09:04
Hi Ola, there's the function iDocumentPrinted(...)
http://help.windev.com/en-US/…
Publicado el 06,octubre 2016 - 09:36
Hi Guenter,

I thought I remembered reading from the 1000 or so new features brochure, that there was something like this in WD21, but I just couldn't find it. Thanks for the hint.

Be tregards
Ola
Publicado el 06,octubre 2016 - 10:46
Ola a exposé le 05/10/2016 :
Hello to all
and especially printing gurus:-)

I am printing a document with the commands:
iPreview iPrintReport Is there a way to find out, whether a report was
actually

- printed (or sent to the printer)
- emailed (or email started)
- saved as a PDF
- etc.

from the preview window?

In other words, I would like to know, what the user did in the preview
window, or did (s)he just escape from it without doing anything.

Is this possible? How? Where?:confused:

Best regards
Ola


iReportPrintingStatus()

--
Cordialement JeAn-PhI