Skip navigation
ctartamella
Currently Being Moderated

Print Preview in Reader

Apr 10, 2012 8:52 AM

Under Acrobat, I have a custom PDAnnotHandler subclass which defines the print appearance of an annotation via callback.  There is no way to register a PDAnnotHandler under Reader however.  Currently, I can update the AP/N COS object directly by grabbing the DocWillPrint callback.  (I think its an AV method but don't remember exactly) and writing directly to the PDF file.  The downside to this is that when the user goes to close the file afterwards they are asked to save the document.

 

The question then would be: Is there any way to define the appearance of an annotation in Reader without actually making a change to the PDF itself?  I would be satisfied as long as the user isn't asked to save.  i.e. If I could write the CosObj, print, then undo the change that would be fine.  Or if there was any way to define the print appearance directly without writing it that would be great too.  Any pointers would be appreciated.

 

 
Replies
  • Currently Being Moderated
    Apr 10, 2012 8:56 AM   in reply to ctartamella

    Are you sure you can’t register an AnnotHandler in Reader??

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 10, 2012 9:28 AM   in reply to ctartamella

    Are you using the “Reader only” #define?  If so, don’t do that.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)