How can I execute an application...

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.

How can I execute an application...

Postby Dany on Fri Aug 05 2005

after or before printing to the PDF Printer?

There are a couple of different methods that can be used to execute an application either after of before the printing process has started. However I believe the easiest solution is to trap the events fired by the PDF Converter and depending on the event fired, process your application.

Each time any output is sent to the PDF Converter, the EnabledPre() event is fired. If you handle this event, your will know that output has be sent to the Printer and you can consequently execute your other application. On the other side, when the ENDDOCPOST() event is fired you are sure the printing process is terminated and you can process you other application. You can find a detailed explanation about this process on pages "147" and "148" of the "Common Driver Interface210.pdf" that is shipped with the product.
Dany
Amyuni Team
 
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.

Return to Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 1 guest