I was checking into a print preview problem in one of our applications, where if we tried to render any clipboard output to the print preview screen, further drawing operations (but not all) on the same page would not work correctly. Typically, this would be seen as font text drawn at an incorrect angle or for clip regions in use not to work correctly, so that [...]
With this code, you can print directly to the printer using WIN32 API calls and therefore should enable you to print at maximum speed. Additionally, there is code to show how to send Hewlett Packard PCL5 codes to the printer.Using the code Add a form to your project. Add a button to the form. Change the Name property of the [...]
It seems to be always true that one thing leads to another; this component is at two or three removes from the actual application I’m writing to interface with my employer’s customer base. In the course of developing and testing the application, I realized that I wanted to be able to [...]
This article demonstrates printing of a simple datagridview using the PrintPrintDocument and PrintPreivew classes.
Graphics class in C# .NET 2.0.Using the Code
The best part of .NET is the organization of classes like the PrintDocument class which is derived from the [...]
This article presents a class that is a hack around a shortcoming in the free CutePDF Writer. The shortcoming is that the “Save As” dialog always pops up so it is impossible to print to a PDF file without user interaction. This class makes it possible to use the free CutePDF [...]