These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to know if my print button is used

mfulks1
Registered: Jul 13 2010
Posts: 7

I have made a print button that sets the correct settings for printing my document. From this same button I want a small mark to be placed on the document so that when the paper copy is returned I know that they used my print button. I have found ways to do this both with addfield and freetext but many of the users of this document will have reader. This page is to be attached to a variety of personalized PDFs through another system. I don't want the users to be able to change anything about the document, just print. Is there a way to go about this that I wouldn't have to enable reader rights? Is there a way to attach pages to a reader enabled PDF? Basically it boils down to that I need some way of knowing if the user followed directions and used my print button. Any help would be greatly appreciated.

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You can use a read only hidden field and then use JavaScript with the print button to show the field when printed , and you will have use the 'Did Print' action to hide the field, so the field does not show for display or print the next time the PDF is opened or a method other than your print button is used. You may also want to change the value of the 'dirty' property so there is no prompt to save when the PDF closes.

George Kaiser

mfulks1
Registered: Jul 13 2010
Posts: 7
I was trying to avoid having the field already there because that would envolve having to do a batch addfield each time after the PDFs are created before they are posted on our website. Is there anyway to have all of the scripting done on my first page with the print button that is attached to the personalized PDFs?
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You can add a toolbar button or menu item to your version of Acrobat to do this. And then you make use of this button or the menu item when you proof the PDF before posting to the web.

If you are making your PDFs from a PS file, then you can use PDFMark commands within the PS file to create the field and add the JS.

George Kaiser