cancel
Showing results for 
Search instead for 
Did you mean: 

How can we merge different-2 pdf into one pdf

SahilChankotra
Level 4
I have a multiple pdf files, I want to merge all pdf files into one pdf. Can you please help me?

------------------------------
Sahil Chankotra
------------------------------
18 REPLIES 18

ewilson
Staff
Staff
Hi @SahilChankotra,

There are a few tools on the DX that can be used for merging PDFs. Here area a few links:

https://digitalexchange.blueprism.com/dx/entry/3439/solution/pdf-management-2
https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism---pdf-toolkit

The first link is for a connector that only handles splitting and merging of PDFs, but I don't believe it requires any special web service account creation. So you might want to give it a try first. The connector on the second link supports more functionality, but it requires an account with Adobe DC.

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

Hi Eric, 

first thank you for your reply. I can use this DX link but my organization doesn't give me access to use this. So can you please tell me how can I do this via code stages or any other methods?

------------------------------
Sahil Chankotra
------------------------------

Hi @SahilChankotra,

Are you able to download the connector at all? If so, you can open the file in any text editor (it's just XML) and see the code and associated libraries that are used. You can then just copy-and-paste that into your own BP VBO.

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

Hi Eric!

The dll for first link for the "Function for PDF Management" VBO isn't available on GitHub:

"Dependencies:
This VBO uses the PdfSharp library (PdfSharp.dll). You can download a copy of the required DLL from the following link:
https://github.com/blue-prism/PDFManagement/raw/master/PdfSharp.dll"

Do you have an updated link?

------------------------------
David Rubiano
------------------------------

Hi @drubi,

We've just updated the asset card on the DX. It includes a new download link to the library under the Documents section.

https://digitalexchange.blueprism.com/dx/entry/3439/solution/pdf-management-2

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi @ewilson

Thanks alot!

Cheers,

------------------------------
David Rubiano
------------------------------

Hi Eric,
The Merger is not working at all and getting the below error.

"Internal : Could not execute code stage because exception thrown by code stage: Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6."

What could be possible way to resolve this error or any alternative solution?

29737.png
Got the above error while trying merge pdf please help to resolve the issue.

------------------------------
Gopinath Venkatesan
------------------------------

Hello Gopinath,

Please check this thread for the answer to same question here


------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hello @Gopinath Venkatesan,

The feature does work, but only for certain versions of the PDF specification​​. In your case, your PDF is based on spec 1.5 or later. Unfortunately, the maintainers of PDFSharp haven't implemented support for several features of newer PDF specs.

This is discussed on their FAQ page.

Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------