I'm implementing an ActiveX which will allow text editing within the app, but not exporting texts. The texts can be saved, but will be encrypted and not usable outside the app.
So far so good, no problem expected yet. However, the app must allow printing. I need to detect printing via a driver which actually exports into a reusable file (PostScript, PDF), and prevent it.
Is there a way (API?) to detect which printers may require or offer printing into a file? Or should I just check for usual suspects (anything with PDF, Post Script and Generic/Text in the printer name)?