Community

Append to PDF if same name file processed more than once

Hi all,

Is this possible to append to PDF output if same name file is processed more than once? E.g. the file name is based on Delivery Order No(DO).If i process the DO and it outputs the file as 123.pdf. This DO is single page DO. So if accidentally i process the same DO and it outputs the pdf file, it must append to the old file in Export folder i.e. 123.pdf. So now it will have two pages.

Please share your thoughts if it is possible anyhow, I'm using Flexicapture 10.

Thanks.

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Feri Santosa
    Hi Amarjit,

    There's several way to do this depends on your scenario :

    1. If the Delivery Order is in the same assembly with the duplicate then you can use abbyy export script with object pages and set neccessary parameter (Ipage.excludedfromdocumentimage).
    2. If you process the DO original and the duplicate process in different assembly (document,batch) then you might need external components like itextsharp (free tools) but when you use itextsharp its better to create a separate pdf from abbyy then combine with itextsharp especially when you want to convert to pdf searchables.

    Hope this will help.
    0
  • Avatar
    Amarjit Singh
    Hi,

    Thanks for your reply. As we have options under Export Settings 'If file exists' (as in my screenshot), i thought the option 'add to end' will append to PDF. But it does not do so and create output files like 123.pdf,123_2.pdf,123_3.pdf and so on.

    Is there any other way with configuration settings to achieve this? As i am not a programmer, i was hoping if it possible with some configuration settings.

    Thanks.
    0
  • Avatar
    Feri Santosa


    Hi Amarjit,

    Yes in abbyy flexicapture export standard features you cannot append page to pdf unless it is in the assembly of document, means we can only combine page into multipages pdf in one export command.

    As workaround actually you can separate each duplicate pdf with different name like 1_copy_of_DO1526227.pdf, 2_copy_of_DO1526227.pdf.

    But if you insist on your first solution to add pages to existing pdf then it must be done by script and you can choose any pdf function. I personally use Itextsharp for this.


    0
  • Avatar
    Amarjit Singh
    Yes True. Thanks for information on this.
    0

Please sign in to leave a comment.