Page 1 of 1

Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Thu Dec 27, 2012 3:49 pm
by David_Carle
Are there any known issues relating to using your XCPRO40.dll library to merge PDF documents created with PDF Version 1.3(Acrobat 4.x) where the PDF Producer field is blank?

Our customer has reported a problem whereby the PDF-XChange process just seems to die (ie no error message given, but the processing just stops) when trying to open/merge a PDF file in PDF version 1.3 format with a blank PDF Producer field.

It's not a problem with version 1.3 where there is a value in the PDF Producer field. Also, its not a problem with earlier (eg 1.2) or later (eg 1.6) PDF versions, irrespective of whether the PDF Producer field is blank.

(The PDF version and Producer fields are displayed in the Advanced section of the Description tab in Document Properties in Acrobat Reader).


Secondly, is there a way that one can use your software to determine these values from a PDF? If so, how?

Many thanks for your help.

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Thu Dec 27, 2012 4:52 pm
by David_Carle
UPDATE: I have stepped through our source code and can advise that the problem occurs in the call to
PXCp_InsertPagesTo

It causes an Access Violation at address 100226D5 in module xcpro40.dll - read of address 00000000

Hope this helps.

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Thu Dec 27, 2012 5:07 pm
by John - Tracker Supp
Hi David,

there is no known issue - can I please get a couple of small samples from you to test with and try and reproduce please (zip any files sent please)

Also please ensure you are using the latest releases available for the products to which you are entitled and if you are not and for some reason cannot - please advise the exact build of our products you are using.

thanks

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Thu Jan 03, 2013 4:27 pm
by David_Carle
Hi John

I have emailed a sample PDF to support AT tracker-software DOT com

The version of xcpro40.dll that our customer is using is 4.0.162.0, dated 06/05/09 12:42. Its size is 672,024 bytes.

Thanks

David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Thu Jan 03, 2013 6:04 pm
by John - Tracker Supp
Hi David,

Thanks for the file and I can confirm the issue found is reproduced.

This is resolved in the new libraries upon which our Viewer is based and which later this year the XCPRO40 replacement libraries will be based - I have also asked our development team to look into to see if there is a quick fix in the current libraries possible.

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Sat Jan 05, 2013 10:24 pm
by John - Tracker Supp
Hi David,

on further investigation our development team advise this file is actually corrupt and the lack of producer data in the file is not relevant - the only way currently to allow you to use this file is to open in our Viewer and save the file - and then process ....

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Fri Feb 22, 2013 11:39 am
by David_Carle
Hi John

Can you provde any more information about the corruptions in the file?

Also, doesn't the fact that Acrobat Reader will open it without problem suggest that it is not corrupt?

Does your comment about the issue being resolved in the new libraries still apply, and if so can you give an indication of when this will be available?

Many thanks

David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Fri Feb 22, 2013 11:46 am
by Tracker Supp-Stefan
Hi David,

The corruption details will most likely be that the file does not conform to the specification, but still this error is recoverable with some workarounds. There are mechanisms in our Viewer (and Adobe's Reader/Acrobat) that can fix some corruptions. Unfortunately the PDF Tools (and the SDK) does not yet have the same corruption recovery capabilities, and can't handle the corrupted files the way our Viewer can.

The new libraries are currently used in the PDF-X Editor, and later this year the new PDF Tools (and SDK) based on them will also be available. For now there are no specific dates set though.

Best,
Stefan

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Thu Jul 11, 2013 11:35 am
by David_Carle
Hi Stefan

It's now "later this year" and I was wondering if there has been any progress with this?

Thanks

David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Mon Jul 15, 2013 10:43 am
by Tracker Supp-Stefan
Hi David,

Yes - we've made quite some progress indeed - but mostly in the Editor for now. The new V5 PDF Tools and the associated SDK are still some time away from completion.

Regards,
Stefan

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Tue Jul 16, 2013 4:20 pm
by David_Carle
Thanks Stefan

Can you give an approximate release date?

If it's not likely to be in the near future will you consider adding this fix into a release of the current version?

Thanks, David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Tue Jul 16, 2013 5:28 pm
by Paul - Tracker Supp
HI David,

we'll try and fix the current version.

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Fri Aug 02, 2013 1:56 pm
by David_Carle
Hi Paul

Thanks for that. Can you give us any idea when this is likely to be available?

Regards, David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Fri Aug 02, 2013 9:42 pm
by Paul - Tracker Supp
Hi David,

I think next week. Not set in stone however.

hth

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Mon Sep 18, 2017 11:10 am
by David_Carle
Hi Guys

Was wondering what the current status of this issue is. As a reminder, the problems relates to a PDF created using Acrobat v 1.3 with a blank producer field.

Our customer is finding the workaround very time consuming and is looking for alternatives.

Can you advise the best solution that would involve the minimum amount of code changes, bearing in mind that this is a legacy application written using Delphi 6 and PDF XChange 4 (our customer is using xcpro40.dll version 4.0.162.0, dated 06/05/09 12:42).

Given that the issue only seems to occur if the producer field is blank, is there a way to amend this to some non blank value? If so, do you have any example code for this?

Thanks

David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Mon Sep 18, 2017 12:21 pm
by Tracker Supp-Stefan
Hello David,

Maybe the quickest way would be to just specify the Author when doing those merges:
https://help.pdf-xchange.com/DEV/de ... umentinfoa

The link above is for the V4.0 of the Tools SDK.

Regards,
Stefan

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Mon Sep 18, 2017 2:36 pm
by David_Carle
Hi Stefan
Thanks for the quick response.
Two questions -
1. Do you think setting the Author would solve the problem? Is it not the Producer that would need to be set?
2. I notice you refer to PXCp_SetDocumentInfoA whereas in the past we've used PXCp_SetDocumentInfoW
What's the difference?

Thanks, David

Re: Any known issues PDF ver 1.3 with blank PDF Producer?

Posted: Mon Sep 18, 2017 3:08 pm
by Tracker Supp-Stefan
Hi David,

Apologies - Mondays are a bit hectic!
Yes indeed you will need to set the InfoField_Producer

And the PXCp_SetDocumentInfoW is the Unicode while the PXCp_SetDocumentInfoA is the ASCII version of the method. I just linked the wrong one as the Unicode one is recommended:
https://help.pdf-xchange.com/DEV/de ... umentinfow

Cheers,
Stefan