Hi,
We are currently evaluating spire.office to do some pdf processing, mainly inserting some text at the bottom of each pdf page that identifies the user and time of printing.
The code is using the PdfDocument.BeforePrintAction to insert javascript that fills in a pdf field upon printing.
This works as expected in Chrome and Adobe Reader, but does nothing in Edge or Firefox browsers.
I have attached a sample pdf output. A footer should appear in Chrome when printed / print previewed but you will see this is absent in Edge/Firefox. Are you able to determine why?