I have some code that calls a report and depending on if the report fiscally prints it must update the Sales Header. Is there a way to tell if a report has printed successfully? I have setup a local printer that is not connected to my pc but when I use this printer to print report, it does not come up with an error although the report is not printed and then the Sales Header is updated to “Printed” but there was no hard copy.
Does anyone know how to test if the printer actually printed or not?
0
Comments
If it was hard to write, it should be hard to understand."
Navision put the print job to the Windows printer spooler and if the printer spooler has accepted the job, Navision think it has been printed.
If the printer is not connected to the PC or work in offline mode, Navision will not be informed about that.
As eromein has written, the only solution is to show a confirm dialog where the user must confirm the real printout. :roll:
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]