k_cobb

k_cobb

  • NA
  • 1
  • 0

print RTF files

Apr 25 2007 11:51 AM

I'm in the process of writing a c# windows service & I have the need to print RTF files to a printer that is setup to Print to File. I would like to do this without using word. My biggest problem is how to print to the specified printer & control the output filename. I have found on MSDN how to send a file stream to a specified printer but the code is using System.Drawing and System.Drawing.Printing which are not available in a windows service.  I'm having a really hard time trying to accomplish this task. I would not mind using a third party control. Any help would be greatly appreciated.


Answers (1)