Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to print for Windows Clients (Not Web Apps)?

Tags:

c#

.net

printing

What is the best way to print stuff from c#/.net?

The question is in regard to single pages as well as to reports containing lots of pages.

It would be great to get a list of the most common printing libs containing the main features and gotchas of each of them.

[Update] for standard windows clients (or servers), not for web apps, please.

like image 261
Sam Avatar asked Dec 16 '08 14:12

Sam


Video Answer


1 Answers

We used a set of third party DLLs from PDFSharp who in turn use DLLs from MigraDoc. I'm not privy to all the reasons that we went that direction (the decision was made by a senior developer), but I can tell you that:

  • It seems to be in active development.
  • It had most of the features we needed.
  • The source code is available. Although it used some patterns and conventions that I hadn't seen before, once I got on to them, it was fairly easy to make the changes. I added support for using the System.Drawing.Image directly rather than as saving files.
  • It is not documented well either internally or externally.
like image 144
Robert Gowland Avatar answered Sep 22 '22 01:09

Robert Gowland