Skip to Content
Former Member
Apr 08, 2008 at 12:13 AM

B1DE / PrintEvent ..


I am trying to think of a way to capture the output from a document print ( a sales invoice) so that i can do some additional processing on a subset of the printed items (export them to an external file) . I am using B1DE to create my application and the event handlers but i'm having a a problem with the printEvent - namely where to put it and how to name it ? I can add a handler to the "ok" button on the Document print dialog but this receives an ItemEvent and i'm not sure that this can or should be cast to a printEvent .. Is it just a case of capturing the print event from the main menu and doing all my processing within there ? I'm hoping the printEvent will hold the necessary info for me to extract what i want . In the main class B1DE generates a number of event handlers (eg OnShutDown(), OnCompanyChange() ...) that i can overide but i dont see anything related to printEvents ..

How can I handle this within B1DE framework ?

Thanks ..