Thank you all. Devdas Bhagat has understood my need and the method proposed seems the way I could do it.
Menwhile further exploration on the net led me to a nifty program called Thumbnail printer by Andreas Meinl ( http://www.andreasmeinl.de ). It is under the GPL.
Its graphical and simply point the directory to it- it takes the images and arranges them into printable pages. Very neat.
-Maz.
--- Devdas Bhagat devdas@dvb.homelinux.org wrote: On 06/03/04 23:09 -0800, Maz Kamran wrote: <snip>
Organize is a better word ... I would like to generate an html layout with the series of gif images...
My need is to be able to print them out systematically on A4 pages. Now they are in a directory. If I can organize them in a way that it will be easy to print out....
Line length < 80 characters please. 72 or 76 preferred.
You could just name the files in a sortable order, echo -n "" > index.html for i in `ls -1 *|sort`; do echo "<img src=file:///${i}>" >> index.html; done and then just shovel that off for printing.
Devdas Bhagat