There are four parts of my tasks.
1) Download an encrypted pdf file from server.
2) Decrypt that file with a particular key.
3) Edit the pdf file and add some text in this.
4) Print that file on a network printer.
I can manage all the tasks above with a hard copy on the local machine. But I need to do it without saving a copy of the file on the machine.
The first three tasks are completed without making a hard copy on local machine but for printing purpose I need to save a copy of file with the help of bytes, after that I print it.
My problem is that I need to print bytes without saving a copy on the local machine. These bytes can contain text, formatted text and images etc.
In simple words I need a procedure that can print a byte to a network printer.
I googled it and all the paths are going to only one destination that is http://support.microsoft.com/kb/322091
] in this code I don't get any errors but the printer doesn't print the bytes and give only printing errors.
Thanks in advance.