Welcome Guest Search | Active Topics | Sign In | Register

Error when trying to print 2 documents Options
Raul F
Posted: Tuesday, March 28, 2023 3:59:33 AM
Rank: Newbie
Groups: Member

Joined: 9/23/2019
Posts: 7
Hello,

As stated above we are getting an IndexOutOfRangeException when we are trying to print 2 pdfs after we've merged them (the PdfDocument.Save() method).

Code:
result = PdfDocument.Merge(pdfDocs.ToArray()) where pdfDocs contains the 2 pdf files
result.Save(output); where output is just an empty Stream waiting to be populated

EO.pdf version installed: 20.0.83 tried with the oldest 20.1.45 but still get the same error

This link contains the 2 documents with problems (expires in 7 days): https://we.tl/t-67HBvtI9tH

Can you please see what is wrong here and also fix this problem since some of our clients are not able to print documents because of this.
eo_support
Posted: Tuesday, March 28, 2023 1:48:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Thanks for providing the sample file. The root of the problem is an invalid value in one of the embedded font data in the PDF file. We will change our code to be more tolerant to this error and the files should merge without problems in our next build.
eo_support
Posted: Tuesday, April 18, 2023 10:46:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

We have posted build 2023.1.77 that should resolve this issue. Please download the new build from our download page. Please take a look and let us know how it goes.

Thanks!
Raul F
Posted: Friday, April 21, 2023 4:52:34 AM
Rank: Newbie
Groups: Member

Joined: 9/23/2019
Posts: 7
Works like a charm, thank you!
eo_support
Posted: Friday, April 21, 2023 8:01:41 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great. Thanks for confirming!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.