Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

Need to track if a user printed a doc via builtin AcroPDF.DLL control

$
0
0

I am creating a small application in Visual Studio 2008, using VB.NET.

 

I am getting a PDF from a webservice, and need to do a couple things:

 

1.) Show the PDF to the user with all available controls (i.e. Print, Save, Email, Change Size of viewer, etc.).

2.) If the user selects print, I need to know that the user printed the piece so that I can log it to our database with it's 'last printed date'.

 

I have the retrieval and presenting part all working perfectly using the AcroPDF.dll to tap into the user's Acrobat Reader (latest version) that they have installed on their computer; but can't seem to figure out if there is some way for me to know that the user went into the print dialog from the automatic toolbar that is created and used by the AcroPDF.dll when I use the following command:

 

  AxAcroPDF1.LoadFile(<file name goes here>)

 

Is there some way for me to intercept some event within the AxAcroPDF1 object so that I can interrogate it an know whether or not the user printed the report?

 

While I am asking, I will also ask about the Send Email method, is there a way that I can tell if the user clicked on it and went into, and completed, that function?

 

If there is no default way to tap into the existing infrastructure, is there an easy way for me to 'override' the existing print button so that it calls a function that I create instead of the one it currently does?

 

I would like to keep the visual aspect like it is, if possible, to keep it as polished as I can.

 

Thanks,

 

Jim


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>