Hi all, I have found the code to print the RAW data by the below mentioned link. I tried to print the .Docx and PDF file by the code but i could not print the data and also documents which i sent for print through this where queued in Printer queue list.
I mean the status for the printing file always shows printing but not print any data. pls refer the following img.
pls help to solve this.

http://support.microsoft.com/kb/322091/en-us.
Manikandan