Page 3 of 4

Re: Two newcomer problems

Posted: 18 Nov 2013, 18:22
by steve1066d
I think it split the pages, but BSW will mark the PDF to default to the 2 page display.

So if you are in Adobe Reader and want to see one page at a time, go under page display, then "Single page view"

Re: Two newcomer problems

Posted: 18 Nov 2013, 18:57
by DanE
Hi Steve,

I'm familiar with those settings. The really has 1 left and 1 right image per pdf page.

Re: Two newcomer problems

Posted: 18 Nov 2013, 20:06
by steve1066d
I tried it on a different machine, using the last config I sent, with the pdf document converted to png files, and it worked fine.

Are you sure you are looking at the right output? try deleting the pdf file, verify it is deleted, rerun the script, and verify the pdf file again.

Re: Two newcomer problems

Posted: 18 Nov 2013, 23:59
by DanE
I took the original PDF and exported color png's
The output directory was empty
I got the same result (or lack thereof) again
This is the script I used. Perhaps I messed it up somehow?

# Book Scan Wizard Script
# http://bookscanwizard.sourceforge.net
# /Users/essin/BookScanWork
# *** Load Files ***
# the source directory
LoadLRImages = /Users/essin/BookScanWork/png

# The Destination directory
SetDestination = /Users/essin/BookScanWork/pdf

# *** Page Rotations ***
Pages = left
Pages = right

# *** Remove Pages ***
# *** Perspective ***
# *** Crops ***
Pages = left
Crop = 81,75, 1425,2450
Pages = right
Crop = 1683,75, 3047,2450
# *** Filters ***
# *** Scaling ***
Pages = all
SetSourceDPI=300
# Rescale the image to match the final DPI
ScaleToDPI=300
# This will ensure the left and right pages are exactly the same size.
ScaleToFirst=
# *** Output ***
Pages=all
CreatePDF = BookScanWork.pdf

Re: Two newcomer problems

Posted: 19 Nov 2013, 00:29
by steve1066d
Very strange... I tried that script and it worked fine for me.

Take a look at the output I got. Does it match your output?

Re: Two newcomer problems

Posted: 19 Nov 2013, 01:12
by DanE
Yes, but it should look like the attached. I've extracted the first 25 pages because the whole thing is apparently too big to upload, being 17 meg.

Re: Two newcomer problems

Posted: 19 Nov 2013, 11:33
by steve1066d
The version of the pdf that I posted did have each page separately, but the pdf was marked to default to showing two pages at once. I brought it up in Adobe Reader and selected single page view and it display it they way you are looking for.

It would be easy enough to add an option to BSW to have it default to the single page view, or if you do have acrobat or other pdf tool, you can change the default view.

In Acrobat, from the menu:

File, Properties, Initial View, Page Layout, Single page.

Re: Two newcomer problems

Posted: 19 Nov 2013, 12:30
by DanE
I guess I'd better take another look at mine. I had tried choosing single page scrolling from the toolbar. I thought that would do it but maybe not.

Re: Two newcomer problems

Posted: 19 Nov 2013, 13:10
by DanE
You are absolutely right about the 2 page view having been enabled. I apologize for not having recognized it. If you have a way to set the default view to single-page when creating the pdf that might be best. I use the 2 page view so rarely that it causes much for inconvenience that benefit to me.

Thanks,
Dan

Re: Two newcomer problems

Posted: 20 Nov 2013, 02:25
by steve1066d
I uploaded another version of BSW that has a couple of enhancements for you.

You can change pdf's to default to the single page view, with scrolling or page by page:

CreatePDF = book.pdf Options=Single,Scrolling

or

CreatePDF = book.pdf Options=Single

You also can do pretty much any other default pdf setting, such as defaulting to full screen, hiding the toolbar, etc. See the command documentation for CreatePDF for details.

I also found a PDF renderer that works with that PDF file of yours. So you should be able to use the PDF's directly instead of using images.

http://sourceforge.net/projects/booksca ... p/download