I recently ran into a company that has software, which will install a color and black/white print driver to your computer that when printed to will send a file to the web that is converted to a .gif in a preview window, while the original file stays on their server.

I can understand how the transfer and everything might take place. But, how could a print driver like this be written?