Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

InterleaveDoubleSidedBook.sh (GPL)

Are you going paperless by scanning your books? If you have a sheet-fed scanner that does double-side scans, then you doing quite well. But if you have a sheet-fed scanner that only does single-side scans, then you are wondering how you are going to interleave the odd and even pages into one PDF. That's what "InterleaveDoubleSidedBook.sh" does for you automatically.

"InterleaveDoubleSidedBook.sh" takes two PDF's and interleaves the two together. Because when you do single-side scans, the second scan is in reverse order, "InterleaveDoubleSidedBook.sh" will automatically reverse the order for you when it interleaves the pages.

"InterleaveDoubleSidedBook.sh" prints out a time stamp at the begin of operation and another time stamp at the end of operation. Using the time stamps, you can determine how quickly your computer can interleave a book.

"InterleaveDoubleSidedBook.sh" takes advantage of the following shell scripts, which are also available on this site. So to use the this script, you will need to download those script if you don't already have them.

GetTempDirPath.ksh
GetTempPathName.ksh
NumberToString.sh
StrLen.sh

"InterleaveDoubleSidedBook.sh" requires the free pdftk (the pdf toolkit) to interleave your scans. So in order to use this script, you'll have to download and install pdftk on your computer, if you haven't already done so.

"InterleaveDoubleSideBook.sh" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

  InterleaveDoubleSidedBook.sh "PDF 1" "PDF 2" "output PDF"

Attached File: InterleaveDoubleSidedBook.sh (2 KB)

Chieh Cheng
Fri, 12 Jun 2009 09:49:08 +0000

A quick way to determine if you scanned all the pages in your double-side book is to look at the number of pages you scanned for each side. If the numbers match, then it's a high probability that you scanned all the pages. If the numbers don't match, then you are definitely missing one or more pages from the scan.

Chieh Cheng
Wed, 01 Jul 2009 07:33:25 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Related Links

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 2 + 6?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

26 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.