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.
Example
To specify a customized watermark for an output PDF file, complete the following steps:
- In the workflow properties, select PDF as the output format.
- Create a watermark. In the Text field, enter a name for your custom variable, e.g. <CustomText>.
- On the 3. Document Separation tab, enter the following separation script (this example uses JavaScript):
CustomText = UserProperty;
- Create the following XML ticket:
<XmlTicket>
<InputFile Name="test.png"/>
<UserProperty>Example Text</UserProperty>
</XmlTicket>
- 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.
26.03.2024 13:49:49