PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WD 22] Know if a report was successfully printed
[WD 22] Know if a report was successfully printed
Débuté par Luis Antonio Gutiérrez Flores, 16 mai 2018 18:52 - 2 réponses
Posté le 16 mai 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.
Posté le 16 mai 2018 - 19:07
Maybe

iDocumentCanceled


Jan
Posté le 16 mai 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