In the program receives a binary data stream, such as:

, because the data is more, cut part of the figure, now I have this data flow into a string sTpic inside, now I need to put this figure to print to the printer, and saved to the database, the great god, please give directions, I am SQLServer2008 database, programming language is VS_C #, thank you, online, etc.,