Any known issues PDF ver 1.3 with blank PDF Producer?

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Post Reply
David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

Any known issues PDF ver 1.3 with blank PDF Producer?

Post by David_Carle » Thu Dec 27, 2012 3:49 pm

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.

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Thu Dec 27, 2012 4:52 pm

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.

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

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

Post by John - Tracker Supp » Thu Dec 27, 2012 5:07 pm

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
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Thu Jan 03, 2013 4:27 pm

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

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

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

Post by John - Tracker Supp » Thu Jan 03, 2013 6:04 pm

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.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

John - Tracker Supp
Site Admin
Posts: 8202
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

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

Post by John - Tracker Supp » Sat Jan 05, 2013 10:24 pm

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 ....
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Fri Feb 22, 2013 11:39 am

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

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13544
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

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

Post by Tracker Supp-Stefan » Fri Feb 22, 2013 11:46 am

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

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Thu Jul 11, 2013 11:35 am

Hi Stefan

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

Thanks

David

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13544
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

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

Post by Tracker Supp-Stefan » Mon Jul 15, 2013 10:43 am

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

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Tue Jul 16, 2013 4:20 pm

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
Last edited by David_Carle on Wed Jul 17, 2013 10:54 am, edited 1 time in total.

User avatar
Paul - Tracker Supp
Site Admin
Posts: 4944
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

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

Post by Paul - Tracker Supp » Tue Jul 16, 2013 5:28 pm

HI David,

we'll try and fix the current version.
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Fri Aug 02, 2013 1:56 pm

Hi Paul

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

Regards, David

User avatar
Paul - Tracker Supp
Site Admin
Posts: 4944
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

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

Post by Paul - Tracker Supp » Fri Aug 02, 2013 9:42 pm

Hi David,

I think next week. Not set in stone however.

hth
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Mon Sep 18, 2017 11:10 am

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

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13544
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

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

Post by Tracker Supp-Stefan » Mon Sep 18, 2017 12:21 pm

Hello David,

Maybe the quickest way would be to just specify the Author when doing those merges:
http://help.tracker-software.com/DEV/de ... umentinfoa

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

Regards,
Stefan

David_Carle
User
Posts: 36
Joined: Fri Apr 20, 2012 2:43 pm

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

Post by David_Carle » Mon Sep 18, 2017 2:36 pm

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

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13544
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

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

Post by Tracker Supp-Stefan » Mon Sep 18, 2017 3:08 pm

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:
http://help.tracker-software.com/DEV/de ... umentinfow

Cheers,
Stefan

Post Reply