View previous topic :: View next topic |
Author |
Message |
foolosophy n00b
Joined: 13 Apr 2006 Posts: 50 Location: Buenos Aires, Argentina
|
Posted: Fri Apr 11, 2008 6:12 pm Post subject: Split double paged landscape PDF into single paged |
|
|
I have some PDF's which were produced by scanning books. Therefore, the pages 1-2, 3-4, 5-6, etc. are in the same PDF page, and the PDF is landscape oriented.
How can I conver this into a PDF which has page 1 on page 1, page 2 on page 2, etc. ?
I tried several tools I found on the web surfing:
-PDFread (http://pdfread.sourceforge.net/) did not work for me.
-unpnup (http://forum.irexnet.com/viewtopic.php?p=9411&sid=30013002143386e25af92650dae5a20e) didn't either.
-printing with KDEprint using the poster filter was no good either (KDE complains that it cannot proccess postscript files, with many different filter combinations).
How can I do this? |
|
Back to top |
|
|
frogb n00b
Joined: 21 Sep 2003 Posts: 50
|
Posted: Mon Apr 14, 2008 8:57 am Post subject: |
|
|
I did this before for 6 pages per portrait page. You might need to change some of the numbers. The problem with the way is that cropping a page doesn't remove the content from the file, so it results in larger file sizes than necessary.
Using pdftk and pdfcrop from tetex:
Crop the document twice from each side.
Split each document into individual pages.
Combine all the pages together.
Code: | pdfcrop --mode absolute --clip --margins '000 000 420 000' file.pdf file-1.pdf
pdfcrop --mode absolute --clip --margins '420 000 000 000' file.pdf file-2.pdf
pdftk "file-1.pdf" burst output "file-%04d_1.pdf"
pdftk "file-2.pdf" burst output "file-%04d_2.pdf"
pdftk file-*_?.pdf cat output file-combined.pdf |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|