Printing in C#
Welcome to Printing section of C# Corner. In this section, you will find various Printing related source code samples, articles, tutorials, and tips.

Articles

  • samuel.ludlow

    Hard Coding Pape Size during Printing

    Every time I set up a new Windows printer I spend a few minutes going through every bit of the printer properties making sure that every bit is set to A4. The code discussed in this article shows, ...
    samuel.ludlow Jul 14, 2003
  • john donell

    Printing Directly to the Printer

    Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems.
    john donell Oct 21, 2002
  • James Divine

    Simple Barcoding In C#

    This article provides a simple way to produce Code 3 of 9 Barcodes through C#. While there are many third-party controls that offer this functionality, it is just as simple to integrate your barcod...
    James Divine Sep 08, 2003
  • john donell

    Interrogating Your Printer Queues with WMI

    In response to a newsgroup query here is the code needed to view the printer queues on your system.
    john donell May 20, 2002
  • Mike Gold

    Printing Invoices using C# and .NET

    This program can stand improvements but it will get you started in creating an invoice and printing it to the printer.
    Mike Gold Mar 18, 2002
  • Mike Gold

    Printing a Ruler using C# and GDI+

    If you misplaced your ruler, here's an application that will create one for you on your printer!
    Mike Gold Nov 12, 2001
  • Mike Gold

    Printing out your W2 Form using C# and .NET

    This article covers a fairly practical aspect of using a computer - dealing with forms.
    Mike Gold Aug 07, 2001
  • Krishnan LN

    Using Management Objects to check Online Printers

    This article shows to check online printers using management objects.
    Krishnan LN Jan 20, 2006
  • Mike Gold

    Editable GridView Control in C# and .NET - Part-III Printing the GridView

    In our last two articles, we talked about how to create an editable GridView and how to make it persistent in XML.
    Mike Gold Jun 24, 2002
  • Mike Gold

    How To: Printing Form Controls in C# and .NET

    The other day a user asked me how to print out a form. I suggested they use my Form Capture article which catches the bitmap that the form is in by using bit belting commands from the old windows S...
    Mike Gold Mar 06, 2003
  • Mike Gold

    Filling out your 1040EZ Tax Form in .NET

    Since the 1040EZ form is only a single page, I thought it would be fun to create a Window Form application that helped into the form. This program will allow you to fill out most of the fields and...
    Mike Gold Jan 21, 2003
  • Dipal Choksi

    Windows Forms Printer Selection List

    In this example we will create a sample windows form containing a combo box which will list the printers installed on the machine on which the program runs. The default printer for the machine is s...
    Dipal Choksi Jul 30, 2002
  • Ali Hijazi

    Managing printing in Windows Applications

    This article describes the basics of enabling printing in windows application using C# and .net 2.0.
    Ali Hijazi May 28, 2007
  • Scott Lysle

    Word Processing with an Extended Rich Text Box Control

    This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control.
    Scott Lysle Aug 09, 2007
  • Dinesh Beniwal

    Printing Multiple Pages in C#

    In this article, you will learn how to print multiple pages in C# using GDI+.
    Dinesh Beniwal May 31, 2010
  • Dinesh Beniwal

    Using GDI to Print in C#

    In this article you will learn how to use unmanaged printing library GDI to print from C#.
    Dinesh Beniwal Jul 26, 2010
  • Mahesh Chand

    Creating a Printing Application using Windows Forms and C#

    This article talks about how to create a simple printing application in C# using GDI+.
    Mahesh Chand Apr 30, 2010
  • Ghanashyam Nayak

    Load XML File Data in DataGridView & Print DataGridView Data

    Using this article you can understand how to load the XML file's record into the DataGridView & then you can print that DataGridView.
    Ghanashyam Nayak Feb 09, 2012
  • Ghanashyam Nayak

    Print the Window Form & Print the Image of Picture Box

    In this article you will learn how to print a Windows Forms form & how to print the image of a Picture box.
    Ghanashyam Nayak Feb 13, 2012
  • Ghanashyam Nayak

    Print the Controls of the Window Form

    This article will show you how you can print all the controls of a Window Form.
    Ghanashyam Nayak Feb 13, 2012
  • View More