Collating Text and Images

Maciej Dziardziel fiedzia at fiedzia.prv.pl
Thu Oct 28 00:25:10 CEST 2004


Greg Lindstrom wrote:

> I have an interesting problem.  I have a (one) text file containing
> multiple
> reports.  I have multiple TIF files, one for each page in the report file.
> What I would like to do is merge the two files into one print job so that
> I get a text page then the corresponding image, then the next text page,
> then
> the next corresponding image, etc.  Currently we have 2 people doing the
> collation by hand every day; this would save am immense amount of labor at
> our shop. The work is being performed on an HP-9000 running UNIX and I can
> read and process the text file, but can not figure out how to insert the
> images into the print stream.  Can anyone help me out?

Basicly use something that can produce postscript - like latex or lout,
generate template, convert to ps, send to printer. On any unix system this
will be trivial shell one-liner that can be run from cron.

-- 
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl

Is Santa so jolly because he knows where all the bad girls live?



More information about the Python-list mailing list