I need to print documents as output from a program I am writing in C#. Pure text does not suffice - I need tables, font choice, etc.
This sounds like something that should be extremely easy to accomplish, however, I am not sure how to do it.
Here are the options I'm considering:
- DocX documents are easy to generate, however, I am not sure how to print them.
- Crystal Reports, which has apparently been removed from .NET but can still be downloaded, seems to have the functionality. Any experiences with this?
- I could generate an image or form and print that. However, the text would look bad when printed. I want crisp letters.
- I could use XPS, but I think this wouldn't work on all printers? The program can't be picky printer-wise.
- I could manually create whatever format the printer understands and manually send it somehow. This would probably be a lot of work and I'm not sure where to start.
Is there really no easier solution? And if not, what is the best option?