Christian

Christian

  • NA
  • 24
  • 0

Send file from server db and print it on client?

Jan 26 2010 2:27 PM

Hi
 
I need send a file that is saved in a db table on the server, to the client so it can be printed on the client printer. What would be the best way to do that?
Another qustion is how should I save the file in my db? Should I convert it to binary format or save it as raw text code?
I have once made a website where I could upload pdf or word documents and save it as a binary format in the db. When it needed to be downloaded again I streamed the binary code to the client and then the client could save it on his computer. Should I do something similar here? Unfortantly I dont have the code of that website anymore so im a little lost here :)
Hope you can help.

Answers (1)