Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 8 Monaten
Letzter Beitrag:
vor 1 Jahr, 8 Monaten
Beteiligte Autoren:
Ola, GuenterP, Fabrice Harari

[WD21] How to test whether a report was actually printed?

Startbeitrag von Ola am 05.10.2016 17:38

Hello to all
and especially printing gurus:-)

I am printing a document with the commands:


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


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

von Fabrice Harari - am 05.10.2016 18:17
Hi Fabrice,

That's a good plan, thank you.

Best regards

von Ola - am 05.10.2016 19:41
Hi Ola, there's the function iDocumentPrinted(...)

von GuenterP - am 06.10.2016 07:04
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

von Ola - am 06.10.2016 07:36
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.