We have an application that basically archives files and we give the user the possibility to print these files. They can be .txt, .doc, .pdf, .jpg nothing fancy. Is there a
I have to agree with other answers in that you can't print it without opening it.
The only way I think you may be able to get around this is if you had a straight-up postscript file, and a directly-attached postscript-compatible printer.
In that case you could just dump the .ps file to the LPT port and the printer would process it correctly.