Printing documents in C#

I have an online form which allows candidates to fill in an application form and attach a CV in rft format. The CV is stored in an SQL database as an imagetype. I have written a C# app that grabs the data in that field and outputs it in an rtf document to a network drive. This is done once a day. so there could be anything between 0 and 50 documents a day in that folder.

What I want to do now is print the rtf documents to a named printer, but print them every 15 seconds, i.e if there are 3 documents there called., 1.rft,2.rtf and 3.rtf, print 1.rtf then wait 15 seconds and print 2.rtf and so far.

Can anybody help with this?

Thanks

Poly
polynominalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dkloeckCommented:
you can find a project to print rtf documents (writen as easy as possible) here:
http://www.codeproject.com/Purgatory/WordPrinting.asp
and to print it every 15 seconds just use a timer:

Timer MyTimer=new Timer();
Timer.Interval =15000;//15 seconds
Timer.Tick += new Eventhandler(TimerEvent);
MyTimer.Start();

private void TimerEvent(object sender, EventArgs e)
        {
           
           MyTimer.Stop();
          //Print Document
          MyTimer.Start();

        }

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.