Detect missing EOF marker in PDF?

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Support Staff, moderators

Post Reply
docu-track99
User
Posts: 493
Joined: Thu Dec 06, 2007 8:13 pm

Detect missing EOF marker in PDF?

Post by docu-track99 » Tue Sep 02, 2014 8:43 pm

Hi,

I'm just wondering if there's a way to detect missing %%EOF marker in PDF?

Any help on this would be greatly appreciated.

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

Re: Detect missing EOF marker in PDF?

Post by Tracker Supp-Stefan » Wed Sep 03, 2014 11:28 am

Hi docu-track99,

No particular command I can think of in the SDKs, but won't taking the last 5 bytes of the file and comparing them with the desired string work for you?

Regards,
Stefan

Post Reply