Visual Studio 2012 C# Basic Printing

Posted on Saturday, May 4, 2013

I have a need to print
out some documents programmatically using .Net and C#. Here are my notes on how to get basic
printing working in C#.

Set up a Virtual Printer

Before I starting
writing this program I downloaded and installed a virtual printer. In the past I have used a CUPS printer on my
Mac but for this time around I looked around for something to run directly on
my Windows 7 machine. I found CutePDF at
http://www.cutepdf.com/Products/CutePDF/writer.asp [1]

I installed this virtual
server so I could test my printing without using up so much paper.

Before I go into my
instructions there is a good YouTube video that goes over how to do basic
printing in visual studio, using Visual basic.