I have a scanned manual with all the odd pages in one doc (1,3,5 ...) and all the even pages in another doc (2,4,6 ...). I want to combine the two docs to create one normal doc with pages 1,2,3,4,5. I have the following but it adds doc2 to the end of doc1, not what I want:
Expand|Select|Wrap|Line Numbers
- use PDF::Reuse;
- prFile("bigdoc.pdf");
- # Add page 1 from doc1 followed by page 1 from doc2
- # Do this for all pages 1-100
- for (my $i=0; $i < 99; $i++) {
- prDoc("doc1.pdf", $i);
- prDoc("doc2.pdf", $i);
- }
- prEnd();
Antoneras.