Problem in Printing

Dear
friends,

i have 1 SCADA developed in Qnx 4.25,Photon & Watcom -C for steel making
Process. After each process of 1 Hour(Approx.) i take 1 print of Logged
Data,
I m logging data by File handling.In a day(24 hours) Approx. 20 print are
taken, but some time my Dot Matrix Printer has become hanged & Unable to
take prints,Then only i Restart the PC Noting can be done. I have
maintaing the Queue(//0/PRNTQ) also by writing the program for queue.
Is there any thing is available to Clean up the Queue.
Pls reply me soon.


Warm Regards
Atul