Code for revision control register

Hi guys.

I'm new to all this but I'd like to record, in a excell sheet, everytime a drawing is printed out of SW.

Does anyone have code that would allow me to do that?

SolidworksApi macros