[reportlab-users] Reverse order of pages

John Smith jsmith030416 at yahoo.co.uk
Wed Jun 28 11:21:18 EDT 2006


Thanks Tim,

I did not know about this,and it looks like it will
solve my problem.

Ideally though, because I am producing this brochure
on a server, it would be a real convenience to be able
to reverse the page order whilst staying within
reportlab.

Am I right in thinking that somewhere in the bowels of
reportlab there is some routine that works on a list
of pages to convert the data to a pdf stream? If there
is, I could find that list, reverse it, and let
reportlab do its stuff from that point on.

Cheers,

John


--- Tim Roberts <timr at probo.com> wrote:

> One easy way to do this is to use the great open
> source tool, pdftk. 
> Among the other PDF magic it can perform, it can
> extract, insert, or
> rearrange the pages in a PDF.
> 
>    pdftk  input.pdf  cat 4 3 2 1  output out.pdf
> 
> -- 



		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html


More information about the reportlab-users mailing list