automatical pdf generating

John Nagle nagle at animats.com
Sun Jun 24 18:58:17 CEST 2007


Jackie wrote:
> Hi, all,
> 
> There are 50 folders in my hard driver C:
> C:\01.c:\02,...,c:\50
> 
> There are 4 pictures in each folder:
> 1.jpg,2.jpg,3.jpg,4.jpg
> 
> For each folder, I want to print the 4 pictures into a single-paged
> pdf file (letter sized; print horizontally). All together, I want to
> get 50 pdf files with names: 01.pdf,02.pdf,...,50.pdf.
> 
> Is it possible to use Python to realized the above process? I know
> there is a module named "reportlab". Is there any easy command in the
> module to do my job?
> 
> Thanks
> 
> Jackie
> 

     Generate HTML for such pages, open them with OpenOffice, and
have OpenOffice generate the PDF file.

					John Nagle



More information about the Python-list mailing list