Options

Event OnAfterDocumentPrintReady is not raised during printing in Business Central 18

RaicsRaics Member Posts: 1
Hi Everyone
I'm trying to subscribe to the OnAfterDocumentPrintReady event to define what happens when a user chooses to print a report.
The problem is that this event, in Business Central 18, seems not to be raised. Even using the "Event Recorder" I can't find it in the list.

(Event Recorder BC18)
oydhnv8vf6db.png

I think that the problem is not related to my code, because in Business Central 16 everything works fine. Do you know why it happens?

(Event Recorder BC16)
k9qyra6gciv6.png

My goal is to get the InputStream of the pdf report when a user presses the "print" button on the request page, do you know if there is any other similar event I can subscribe to?

Thank you.

Sign In or Register to comment.