Q: possible to write printer driver in Delphi

Hi,

I want to write a printer driver in Delphi which prints to a BMP, JPEG, TIFF
or any other image format. Can this be done ? And is there anybody who has
some sample code, some tips, or knows of any descent books which deal with
this ?

Andy