Re: How would you do this?

"spinningwebz2002" <spinningwebz2002-/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
--- In [email protected], "Mr. Shawn H. Corey" 
<shawnhcorey@...> wrote:
>
> spinningwebz2002 wrote:
> > Using PDF::API2 I am creating 4 or more individual multi page pdf 
files 
> > (book chapters) and photo pages that are insterted into the book 
> > chapters. The reason for individual chapters is that multiple 
people 
> > contribute to these books. When done I need to combine all these 
> > various pieces into a one pdf, add page numbers and chapter 
headings. 
> > How would you do this?
> 
> See `perldoc PDF::API2` and search for 'openpage'.
> 
> > 
> > 1. Start a blank pdf and open / insert pages from the others
> > or
> > 2. Take all the original content and build a new pdf from 
scratch? 
> > 
> > What do you think would be the fastest / easiest 1 or 2?
> 
> That depends on which is faster / easiest.  Each project is unique 
and has to be decided individually.
> 
> 
> -- 
> Just my 0.00000002 million dollars worth,
>   Shawn
> 
> "For the things we have to learn before we can do them, we learn by 
doing them."
>   Aristotle
>


Maybe instead of fastest, easiest, what is easiest on the server 
(which uses less memory)? Opening existing pdf's and getting pages 
out of them or creating a new one from scratch using the content. All 
the content is stored in previously process html files that I just 
run through a routine to make text bold, italic etc. I am leaning 
towards the creating from scratch since the more I think about it, 
the easier it would be to keep track of pages, inserting blank pages 
etc..

Bill H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.