views:

327

answers:

1

I'm having a folder which will contain only one tiff file at a time, so the moment i receive one i should be able to print it to the default printer, i have a small windows application which is looking for any tiff files in the particular folder i just have to print it to the default printer the moment a tiff file is received, how to do print this, does anyone have idea how to do this using c#.net

Update:

This can we done with this piece of code, I tested it is working

System.Diagnostics.Process printProcess = new System.Diagnostics.Process();
printProcess.StartInfo.FileName = strFileName;
printProcess.StartInfo.Verb = "Print";
printProcess.StartInfo.CreateNoWindow = true;
printProcess.Start();
A: 

Try: SuperDuperRoboPrinter at http://www.awb.donationcoder.com

Monitors a given folder and will print any file that appears in there

nash