PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD 22] Know if a report was successfully printed
[WD 22] Know if a report was successfully printed
Iniciado por guest, 16,may. 2018 18:52 - 2 respuestas
Publicado el 16,mayo 2018 - 18:52
I'm trying to find a way to determined if a report was printed correctly, I'm using iConfigure before printing so the desired printer can be chosen, but I'm able to select printers that aren't currently connected, so if someone chooses the wrong printer, it won't print but also won't send an error message. Since I have to update the DB only if the print was performed correctly, this can be a problem.
Publicado el 16,mayo 2018 - 19:07
Maybe

iDocumentCanceled


Jan
Publicado el 16,mayo 2018 - 19:15
Hi, there are some functions available ...
https://help.windev.com/en-US/…

iDocumentPrinted(..)

iDocumentCanceled(..)

iReportPrintingStatus()

- You could check for the availability of the printer on the current workstation before running the printout

- Even if the printer is connected, you cannot know whether your print job sits in the print job queue or is actually on paper