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.

RECENT POSTS

  • 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 May 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • 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 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • Krishnan LN

    Using Management Objects to check Online Printers

    This article shows to check online printers using management objects.
    Krishnan LN May 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • 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 21, 2020
  • 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 May 21, 2020
  • 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 21, 2020
  • 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 May 21, 2020
  • 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 May 21, 2020
  • Ghanashyam Nayak

    Print the Selected XML Record

    Using this code you will know that how to print the selected XML record.
    Ghanashyam Nayak May 21, 2020
  • 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 May 21, 2020
  • 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 May 18, 2020
  • 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 May 18, 2020
  • Ghanashyam Nayak

    Printing in WPF

    In this article, you will learn how to print the controls of a form & also the whole form all controls.
    Ghanashyam Nayak May 18, 2020
  • Mahesh Chand

    Print in C#

    Here is a good list of resource related to printing in C# using GDI+.
    Mahesh Chand May 18, 2020
  • Mike Gold

    Printing in C#

    In this tutorial, learn Printing In C# and how to print a text box contents in C#. Includes C# Print code example.
    Mike Gold May 28, 2019
  • Mike Gold

    How To Print a DataGrid in C# and .NET

    I wrote this article in response to the question, How the heck do I print out a DataGrid and its contents. n order to encapsulate the drawing of the DataGridPrinter to the Printer, I created the Da...
    Mike Gold Sep 20, 2018
  • View More