C# Corner

Related resources for Printing
  • Printing in C#5/28/2019 7:04:17 PM. In this tutorial, learn Printing In C# and how to print a text box contents in C#. Includes C# Print code example.
  • Printing in ASP.NET5/10/2019 4:02:01 AM. One of the most common functionality in any ASP.NET application is to print forms and controls. In this article I am going to show how we can achieve this print functionality in our asp.net applicatio
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NET12/6/2018 5:17:44 AM. The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax” t
  • How To Print a DataGrid in C# and .NET9/20/2018 3:44:21 AM. 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 DataG
  • Printing Windows Form in C#9/14/2018 12:24:04 AM. This article shows how to print a Windows Forms in C# at run-time.
  • Printing a Control in WPF using C#9/13/2018 11:54:11 PM. This code snippet explains how to print a control, user control, container, or a Window in WPF using C#.
  • Printing Text File in C#9/13/2018 11:35:12 PM. In this article, you will learn how to print a text file in C#. The attached project lets you browse and open a text file and print it to a printer.
  • Printing in WPF9/13/2018 9:47:16 AM. This article discusses the process of printing in WPF and how to print a FlowDocument, Control, and Window in WPF.
  • Printing Duplex In Micro Focus Visual COBOL For .NET6/23/2016 9:40:16 AM. In this article you will learn how to print Duplex in Micro Focus Visual COBOL for .NET.
  • Printing And Formatting Outputs In F#4/1/2016 10:57:42 AM. In this article you will learn how to print and format outputs in F#.
  • Printing A PDF Report From Power BI3/7/2016 9:19:24 AM. A new feature came out in Power BI last December to print a report in PDF format. This article walks through the process.
  • Blocking Classified Data From Printing In Excel10/4/2015 9:54:27 AM. In this article you will learn how to block classified data from printing in Excel.
  • Cancel Printing Operation On A Workbook In Excel9/30/2015 1:37:25 PM. In this article you will learn how to cancel printing operation on a Workbook in Excel.
  • Printing GridView Only in ASP.NET3/19/2014 12:20:21 PM. This article shows how to print just the records of a GridView in ASP.NET.
  • Printing on Both Sides of Paper in Word 201312/23/2012 1:53:36 PM. In this article I am going to explain how to print on both sides of the paper in Word 2013.
  • Printing From a Windows Service11/10/2012 6:59:36 AM. I got a requirement for printing using a Windows Service. So I searched the internet and found some examples and finally two of them worked for me, So I am posting the working ones here.
  • Printing Directly to the Printer in VB.NET11/10/2012 3:40:10 AM. 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. Additionally I have added code to show how to send PCL codes to the printer.
  • Print in C#10/3/2012 7:40:49 AM. Here is a good list of resource related to printing in C# using GDI+.
  • Printing in WPF8/7/2012 12:02:15 PM. In this article, you will learn how to print the controls of a form & also the whole form all controls.
  • Tip: How to Print a Crystal Report Programmatically in ASP.NET?5/19/2012 2:48:16 AM. You can print a Crystal Report using print option of Crystal Report Viewer. However, there are occasions when you want your application to print a report direct to printer without viewing the report in Crystal Report Viewer.
  • Notepad.NET - Printing a Multiline Textbox in C# and .NET5/19/2012 2:45:01 AM. Notepad.NET is a file text editor that allows you to edit multiple files at the same time. It also has a few nice features not included in notepad, such as print preview and a most recently used file list. This article describes how printing is performed in this utility.
  • Load XML File Data in DataGridView & Print DataGridView Data2/9/2012 3:21:19 PM. Using this article you can understand how to load the XML file's record into the DataGridView & then you can print that DataGridView.
  • Creating a Printing Application using Windows Forms and C#12/12/2011 9:54:56 PM. This article talks about how to create a simple printing application in C# using GDI+.
  • Printing Multiple Pages in C#12/12/2011 9:51:47 AM. In this article you will learn how to print multiple pages in C# using GDI+.
  • Printing Silverlight UI2/19/2011 3:20:11 PM. In this article I am going to explain how to print a Silverlight UI
  • Printing in Silverlight2/19/2011 10:59:04 AM. In this article we will see how to print documents and controls in Silverlight 4.
  • The DocumentName Property and Marginal Printing in GDI+2/3/2011 5:04:28 AM. In this article I will explain about the DocumentName Property and Marginal Printing in GDI+.
  • Printing in C#8/5/2010 11:40:52 PM. This application will send raw data to a networked printer.
  • How to Print ASP.NET GridView 7/12/2010 9:49:59 AM. The attached project shows how to print a GridView in ASP.NET.
  • Exploring Printing in Silverlight 4.06/6/2010 1:43:41 AM. Let’s look at the extremely useful feature of printing in the newest version of silverlight.
  • Printing Graphics in GDI+5/5/2010 12:55:00 AM. In this article I will explain about Printing Graphics in GDI+.
  • Printing Text in GDI+5/4/2010 1:59:39 AM. In this article I will explain about Printing Text in GDI+.
  • Printing in GDI+4/27/2010 12:14:42 AM. In this article I will explain about Printing in GDI+.
  • GDI+ Namespaces and Classes in .NET10/29/2009 6:24:47 AM. In this article I will explain about GDI+ Namespaces and Classes in .NET
  • Managing printing in Windows Applications5/29/2007 7:39:49 AM. This article describes the basics of enabling printing in windows application using C# and .net 2.0.
  • Printing out your W2 Form using C# and .NET1/31/2007 7:16:37 AM. This article covers a fairly practical aspect of using a computer - dealing with forms. The concepts in this article can be used to create any Form Application so that you can design forms that you can Fill Out, Open, Save, Print and Print Preview.
  • Chart Recorder1/31/2007 7:03:42 AM. This is chart recorder program developed using C# and GDI+.
  • Windows Forms Printer Selection List1/31/2007 3:58:57 AM. 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 set as the default selection in the combo box.
  • Gym Exercise Tracker in C# and .NET - Printing the DataGridView1/30/2007 6:49:55 AM. This article demonstrates an Exercise Tracking Program in C# that you can use to track your daily exercises. It uses the DataGridView and an Access Database to display exercise data. The program also let's you print out your daily routine.
  • Filling out your 1040EZ Tax Form in .NET9/1/2006 4:42:45 AM. 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 perform the calculations on certain fields as well.
  • How To: Printing Form Controls in C# and .NET8/30/2006 12:18:12 AM. 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 SDK.
  • Editable GridView Control in C# and .NET - Part-III Printing the GridView8/30/2006 12:02:46 AM. In our last two articles, we talked about how to create an editable GridView and how to make it persistent in XML.
  • Printing in C#1/20/2006 4:47:10 AM. An application show you all Printing, Print Preview functionality using C#.
  • Printing out your W2 Form using C# and .NET1/4/2006 7:33:07 AM. This article covers a fairly practical aspect of using a computer - dealing with forms.
  • Printing a Ruler using C# and GDI+1/4/2006 7:14:20 AM. If you misplaced your ruler, here's an application that will create one for you on your printer!
  • Printing Invoices using C# and .NET1/4/2006 6:52:12 AM. This program can stand improvements but it will get you started in creating an invoice and printing it to the printer.
  • Interrogating Your Printer Queues with WMI1/4/2006 6:35:23 AM. In response to a newsgroup query here is the code needed to view the printer queues on your system.
  • Printing Directly to the Printer1/4/2006 5:04:18 AM. 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.
  • Hard Coding Pape Size during Printing1/4/2006 1:46:54 AM. 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, how you can do it programmatically.
  • Simple Barcoding In C#1/4/2006 1:32:55 AM. 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 barcodes using readily available barcode TrueType fonts.
  • MathGraph in C#12/26/2005 2:10:09 AM. This article and the sample code shows you to draw and print a math graph using GDI+ and C#.
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...
Download