View Single Post
Old 04-29-2007, 12:25 AM   #25
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
Quote:
I used your batch file and changed the batch file conversion directory from "My Desktop" to another drive on my computer. It works! I guess there might be some restriction of user access issue involved, but I am not sure about that.
Did you use the new batch file and if so, did you run from both Desktop and some other place? There's no logical reason I can think of why it shouldn't run from Desktop -- did you get the same error as before or something else when you ran from there?

Quote:
Some files are converted with no problem, others are still with this annoying "unable to determine total number of pages" problem. I later find that those files that cannot be converted include: 1. pdf files with OCR text underneath the image, 2. pdf files with non-alphabet file names. Hope it can be dealt with in later releases.
That happens when pdftk cannot report how many pages there are in a document. You'll have to manually open each such document and find out how many pages there are and enter it. Can you link/post a sample file? I'll have to see how to detect the page count for those files -- they look like their information dictionary is corrupt or something.
ashkulz is offline   Reply With Quote