Take a look at
How do I direct output to a console rather than a Window? FAQ #7932.
>Hi All
>
>Is there a way to send raw binary data, eg an image file, to the console device or to a windows handle?
>
>I am creating a chart using Graphics Server and I would like pass the raw image data to a program of a friend of mine.
>
>Any ideas?
>
>Jos
--sb--