How to override the Workflow settings by using an XML ticket?

XML tickets allow you to process the images with parameters that differ from the settings of the workflow. For example, you can use an XML ticket to change the recognition language or output format for a particular document.

The XML ticket must be placed into the Input folder prior to the images specified in the ticket.

Below is an example of an XML ticket that instructs Recognition Server to convert two files, SampleImage1.jpg and SampleImage2.jpg, to a single PDF file and publish it to the folder C:\Documents and Settings\All Users\Application Data\ABBYY Recognition Server 2.0\Default Workflow\Output Folder:

<XmlTicket>
<InputFile Name = "SampleImage1.jpg"/>
<InputFile Name = "SampleImage2.jpg"/>
<ExportParams DocumentSeparationMethod="MergeIntoSingleFile">
<ExportFormat OutputFileFormat="PDF" OutputFlowType="SharedFolder">
<OutputLocation>C:\Documents and Settings\All Users\Application Data\ABBYY Recognition Server 2.0\Default Workflow\Output Folder</OutputLocation> 
</ExportFormat>
</ExportParams>
</XmlTicket>
To test the operation of the above XML ticket:

1.Copy the above ticket in a text file.

2.Save the file with an *.xml extension.

3.Copy the XML file in the Input folder first.

4.Take two JPEG images named SampleImage1.jpg and SampleImage2.jpg and drop them in the Input folder after you have placed the XML ticket there.

5.Open the folder C:\Documents and Settings\All Users\Application Data\ABBYY Recognition Server 2.0\Default Workflow\Output Folder and find the resulting 2-page PDF file SampleImage1.pdf there.

FAQs EN

This website uses cookies which enable you to see pages or use other functions of our websites. You can turn off such cookies in your browser’s settings. If you continue to use these pages, you consent to the use of cookies.