11-03-05 10:57 PM
lkrubner@geocities.com said the following, on 11/03/05 10:18:
> Hi all. I need help.
>
> I have a shell script that gets info from a database and sends the
> results to a printer. No trouble there. The script runs on an HP Unix
> machine and the printer is connected to the machine. Everything works
> perfectly.
>
> Now I need to change that script. The info from the database is in
> regards to the photos that our graphics department has generated. Now I
> need to embed the actual image in that report. I can't figure out how
> to do this. I know how to send text to the printer, but I don't know
> how to send images.
>
[SNIP]
>
> I had one idea, which was to get the database info and then, for each
> entry, get the associated image address, and then mix it together with
> some HTML, then invoke a rendering engine of some browser such as
> Mozilla, capture the output of mozilla and then send that to the
> printer. But mozilla's documentation is incomplete and I was able to
> figure it out.
>
> Anyone who can point me in the direction of some good info will have my
> gratitude.
>
Another possibility would be to use an OpenOffice macro to load the
report text and the images into a Writer document, and then send that
doc to the printer, either directly or by exporting it as PDF.
The fly in the ointment here is that there is no version of OO
specifically for HP-UX. There are Solaris and Linux versions; one of
those might work if you build it from the source.
--
Rich Gibbs
richg74@gmail.com
"You can observe a lot by watching." -- Yogi Berra
[ Post a follow-up to this message ]
|