View Full Version : Comparing PDF's
Texan
21-Aug-2008, 11:32 AM
I'm trying to compare two PDF files and I am seeing the the following errors:
"Conversion Error 8/19/2008 2:08:26 PM 2,589,845 bytes PDF Documents ANSI"
Conversion error (shows: date, time, file size,) PDF Documents - ANSI
Also
The system cannot find the file specified <-- at the bottom of the screen.
Am I missing something that it won't compare these files. I've downloaded and imported all the Add-ins I need.
Has anyone seen this? There is an attached .JPG to show what I am talking about.
Michael Bulgrien
21-Aug-2008, 03:08 PM
Is it related to the length of your file names?
Texan
21-Aug-2008, 03:34 PM
Is there a limitation to how long a file name can be? Because if that is the reason that might be the problem.
Chris
21-Aug-2008, 04:45 PM
When comparing PDF files, Beyond Compare 3 doesn't support paths longer than the Windows MAX_PATH, which should be 260 characters. This is because PDF comparison uses an external conversion program to generate text from PDF files, and it doesn't support paths over 260 characters.
Copy and comparison of files in the Folder Compare and comparison of plain text files in the Text Compare does support paths longer than 260 characters.
sjjung
22-Aug-2008, 06:14 AM
pdf compare requires freeware converter, Xpdf. You can download it from:
http://www.foolabs.com/xpdf/download.html
1. Find and download windows-precompiled binary.
(ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2-win32.zip)
2. Extract it to the directory that you want
3. Add the path of your directory to the environment variable, 'PATH'
4. Relaunch beyond compare.
Chris
22-Aug-2008, 01:48 PM
Texan contacted me by email and we figured out a solution to the problem.
BC3 does have a limitation of only supporting paths up to MAX_PATH for files compared with external conversion utilities.
However, on Texan's computer, the path to the external conversion utility was wrong, which caused the "The system cannot find the file specified" error message.
The solution:
Select Tools > File Formats.
Select the PDF Documents format.
Go to the Conversion tab.
Under Conversion, set the "Loading:" command to:
Helpers\PdfToText.exe -layout -nopgbrk %s %t
On Texan's computer we used the full path: "C:\Program Files\Beyond Compare 3\Helpers\PdfToText.exe" -layout -nopgbrk %s %t
On most systems, a relative path (starting with Helpers\) should work correctly.
mikeakin
24-Oct-2008, 08:56 AM
Ok, this helped me. I have version 3.0.9 and had to update this manually.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.