How to Add Information to Processed Files

In ABBYY FineReader Server, you can use XML tickets to add various types of information to jobs, modify workflow settings, and specify or modify metadata.  


To specify a customized watermark for an output PDF file, complete the following steps:

  1. In the workflow properties, select PDF as the output format.
  2. Create a watermark. In the Text field, enter a name for your custom variable, e.g. <CustomText>.
  3. On the 3. Document Separation tab, enter the following separation script (this example uses JavaScript):

CustomText = UserProperty;

  1. Create the following XML ticket:

<InputFile Name="test.png"/>
<UserProperty>Example Text</UserProperty>

  1. Place the XML ticket into the input folder monitored by the workflow and then add the file that need to be processed (this example uses a file named "test.png"). The output test.pdf file will now have a watermark saying “Example Text.”

More examples of using XML tickets can be found in %PUBLIC%\ABBYY\ABBYY FineReader Server 14.0\Samples\XmlTickets.

29.08.2023 11:55:30

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.