I am looking for any help in printing RTF files using a windows service.
I do not have sufficient access for installing a component like ASP Printer (VBGold) which can help me in attaining this. I don't think I can use windows forms from the service.
I have a feeling that my only option is to use Win32 APIs/ interops. I have found plenty of codes for simple line-by-line text printing with the help of Win32 API and have been able to run them from C# as well. But they do not work for RTF output in the printer.
Can anybody help me with this? Even a code in VB or VC++ or any related document/ URL will be greatly appreciated - anybody?
I do not have sufficient access for installing a component like ASP Printer (VBGold) which can help me in attaining this. I don't think I can use windows forms from the service.
I have a feeling that my only option is to use Win32 APIs/ interops. I have found plenty of codes for simple line-by-line text printing with the help of Win32 API and have been able to run them from C# as well. But they do not work for RTF output in the printer.
Can anybody help me with this? Even a code in VB or VC++ or any related document/ URL will be greatly appreciated - anybody?