C# Corner

Related resources for Printing
  • Print Using Flow Document In WPF12/28/2016 12:26:54 PM. In this blog, you will learn how to print using Flow document in WPF.
  • Opening And Printing All Links To The Infopath Forms, Together8/16/2016 6:18:23 PM. In this blog, I will explain how to open all the links to the forms in Browser tabs and print them together.
  • Printing Values In Python7/10/2016 1:08:46 PM. In this blog, I will be explaining about printing the values in Python.
  • 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.
  • Next Line in SQL Server String - Providing Next Line in SQL Printing5/20/2016 1:09:56 PM. In this blog you will learn Next line in SQL Server String - Providing next line in SQL Printing.
  • Printing an image as Background while Printing a ListView or DataGridView Data5/15/2016 4:24:22 PM. In this article you will learn about printing an image as background while printing a ListView or DataGridView Data.
  • 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.
  • ThinkGeo Releases Map Suite 5.5 with Robust Printing, Contour Lines and Stability Improvements2/21/2016 9:02:36 AM. This major milestone refresh of Map Suite brings robust printing support, contour line features, stability improvements and beyond. More features arriving via daily builds soon.
  • Render Gray Colors to PDF for Proper Printing & Embedded EMF Images2/21/2016 9:02:36 AM. Aspose.Words is a word processing component that enables .NET & Java applications to read, write and modify Word documents without using Microsoft Word. Other useful features include document creation, content and formatting manipulation, mail merge abilities, reporting features and support of DOCX, DOC, WordprocessingML, HTML, XHTML, TXT and PDF formats (requires Aspose.Pdf). It supports both 32-bit and 64-bit operating systems. You can even use Aspose.Words to build applications with Mono.
  • Microsoft rolls out free 3D Printing App for Windows 8.12/21/2016 9:02:36 AM. Microsoft announced 3D printing app for the users of Windows 8.1, known as 3D Builder.
  • Build an Improved Head Mounted Display Lens for Oculus Rift2/21/2016 9:02:36 AM. Improved HMD Lens with source code for Unity game engine.
  • 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 HTML DIV tag content using JavaScript3/30/2015 4:42:53 AM. In this blog we will learn how we can print the content on the HTML DIV tag using JavaScript.
  • 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.
  • How to Fix the issue IE 8 Printing issues in Standard Mode10/7/2013 6:45:20 AM. I am facing IE printing issue from so many days and after lot of R&D. I came at conclusion that there is not permanent solution of printing issue.
  • Printing WPF Window to Printer and Fit on a Page6/10/2013 4:25:27 AM. Here in this we have to show the PrintDialog and call the PrintVisual method of the PrintDialog.
  • 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 C#10/3/2012 7:20:09 AM. This sample shows you how to print a text box contents in C# and .NET.
  • 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.
  • Windows 8 Supports Printing from HTML 5 and XAML 7/31/2012 11:11:25 PM. As a developer, I am more interested in learning about accessing print functionality from my code. Now Windows 8 made it simple.
  • How to Create a Printing Job in Windows Application6/3/2012 4:08:40 AM. Here in this aricle, I am explaining how to create a printing job in windows application.
  • Printing a Control in WPF using C#5/22/2012 2:16:43 PM. This code snippet explains how to print a control, user control, container, or a Window in WPF using C#.
  • 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.
  • Interrogating your Printer Queries with WMI4/23/2012 7:08:29 AM. In response to a newsgroup query here is the code needed to view the printer queues on your system. Once again this is achieved using Windows Management Instrumentation or WMI. Note this code will display all printer queues if there are documents waiting to be printed. To test this open up a printer queue and pause the printer then use notepad or word etc and print to the paused printer.
  • 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 Windows Form in C#12/12/2011 10:00:25 AM. This article shows how to print a Windows Forms in C# at run-time.
  • Printing Text File in C#12/12/2011 9:54:38 AM. 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 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 the Number or strings equivalent to dot printing8/30/2011 7:11:58 AM. In this blog I will show you how to printing the number or strings equivalent to dot printing.
  • Direct printing of crystal report4/20/2011 6:46:02 AM. Sometimes there might be need that user need not to view report he directly wants print of it.This can be done as mentioned below
  • 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.
  • Printing in WPF2/18/2011 9:48:24 PM. This article discusses the process of printing in WPF and how to print a FlowDocument, Control, and Window in WPF.
  • 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 Text in GDI+1/12/2011 4:50:45 AM. In this article I will explain about Printing Text in GDI+.
  • WPF Printing in XAML9/28/2010 1:10:30 AM. Printing has changed in WPF if you compare with GDI and GDI+. This article discusses the process of printing in WPF and how to create a FlowDocument dynamically and print it in WPF using a PrintDialog control.
  • The DocumentName Property and Marginal Printing in GDI+8/27/2010 12:58:10 AM. In this article I will explain about the DocumentName Property and Marginal Printing in GDI+.
  • WPF Printing a Control in XAML8/27/2010 12:10:59 AM. This code snippet explains how to print a control, user control, container, or a Window in WPF using C#.
  • WPF Printing in XAML8/16/2010 12:47:50 AM. Printing has changed in WPF if you compare with GDI and GDI+. This article discusses the process of printing in WPF and how to create a FlowDocument dynamically and print it in WPF using a PrintDialog control.
  • Printing a Control in WPF using C#8/9/2010 2:17:29 AM. This code snippet explains how to print a control, user control, container, or a Window in WPF using C#.
  • Printing in C#8/5/2010 11:40:52 PM. This application will send raw data to a networked printer.
  • Printing Graphics in GDI+8/4/2010 12:12:27 AM. In this article I will explain about Printing Graphics in GDI+.
  • Printing Text in GDI+8/3/2010 12:42:42 AM. In this article I will explain about Printing Text in GDI+.
  • Printing Application in GDI+7/26/2010 1:38:47 AM. In this article I will explain about Printing Application in GDI+.
  • Printing in GDI+7/21/2010 5:01:28 AM. In this article I will explain about Printing in GDI+.
  • 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.
  • WPF Printing in VB.NET7/5/2010 2:00:34 AM. Printing has changed in WPF if you compare with GDI and GDI+. This article discusses the process of printing in WPF and how to create a FlowDocument dynamically and print it in WPF using a PrintDialog control.
  • Printing a Control in WPF using VB.NET7/2/2010 2:38:16 AM. This code snippet explains how to print a control, user control, container, or a Window in WPF using VB.NET.
  • Printing in WPF using VB.NET6/12/2010 12:37:40 PM. This code snippet shows how to print a control, user control or a Window in WPF using VB.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+.
  • Printing in Silverlight4/12/2010 11:50:05 PM. In this article I am going to explain how we can take print of our UI in Silverlight.
  • Silverlight 4.0 Feature #2: Printing Support11/25/2009 12:05:48 AM. This article will introduce new printing support in Silverlight 4.0.
  • Silverlight 4.0 Feature #2: Printing Support11/25/2009 12:05:48 AM. This article will introduce new printing support in Silverlight 4.0.
  • GDI+ Namespaces and Classes in .NET 10/30/2009 6:51:22 AM. In this article I will explain about GDI+ Namespaces and Classes in .NET.
  • 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
  • Printing in ASP.NET10/13/2009 5:08:10 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 application.
  • 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.
  • 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.
  • 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.
  • Windows Forms Printer Selection List1/23/2007 1:30:23 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. This sample code can be used as a part of other applications in areas where it is required to detect the default printer or select a printer from the list of installed printers.
  • Windows Forms Printer Selection List1/23/2007 1:30:23 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. This sample code can be used as a part of other applications in areas where it is required to detect the default printer or select a printer from the list of installed printers.
  • Word Processing with an Extended Rich Text Box Control1/22/2007 11:33:33 PM. This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control’s text or RTF content.
  • Word Processing with an Extended Rich Text Box Control1/22/2007 11:33:33 PM. This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control’s text or RTF content.
  • Word Processing with an Extended Rich Text Box Control1/22/2007 11:33:33 PM. This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control’s text or RTF content.
  • Word Processing with an Extended Rich Text Box Control1/22/2007 11:33:33 PM. This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control’s text or RTF content.
  • Filling out 1040EZ Tax Form in .NET1/22/2007 4:46:32 AM. A few years ago, the government heard the cry of the citizen who was up to his neck in forms and tried to ease the process of filing the 1040 by creating the 1040EZ form. This article shows you how to print out your own 1040EZ form.
  • Filling out 1040EZ Tax Form in .NET1/22/2007 4:46:32 AM. A few years ago, the government heard the cry of the citizen who was up to his neck in forms and tried to ease the process of filing the 1040 by creating the 1040EZ form. This article shows you how to print out your own 1040EZ form.
  • Printing out your W2 Form using VB.NET1/22/2007 4:27:11 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.
  • Printing out your W2 Form using VB.NET1/22/2007 4:27:11 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.
  • Generalised printing module in VB .Net9/16/2006 4:15:39 PM. The attached source code is a generalised printing module that helps to print preview data into print preview dialog.
  • 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 Print a Data Grid in C# and .NET8/30/2006 12:26:45 AM. I wrote this article in response to the question, "How the heck do I print out a DataGrid and its contents
  • 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.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NET8/29/2006 7:13:33 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” text file for PHP which lists the functions and keywords contained in the PHP language.
  • Printing in VB.NET4/24/2006 4:58:35 AM. This article explains about Printing in VB.NET.Printing is all carried out through components included in the toolbox. The main component that talks to the printer is the PrintDocument component.
  • Printing in VB.NET4/24/2006 4:58:35 AM. This article explains about Printing in VB.NET.Printing is all carried out through components included in the toolbox. The main component that talks to the printer is the PrintDocument component.
  • Printing directly to the Printer3/23/2006 4:46:36 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.
  • Printing directly to the Printer3/23/2006 4:46:36 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.
  • Editable GridView control in VB.NET3/23/2006 4:10:38 AM. .Net gives us a few controls that make printing quite easy and handle much of the details of driving the printer internally. In fact, most of our responsibility in printing the GridView control lies in graphically drawing its contents. The drawing of the GridView control is accomplished using GDI+.
  • Editable GridView control in VB.NET3/23/2006 4:10:38 AM. .Net gives us a few controls that make printing quite easy and handle much of the details of driving the printer internally. In fact, most of our responsibility in printing the GridView control lies in graphically drawing its contents. The drawing of the GridView control is accomplished using GDI+.
  • Screen capturing of a Form using GDI+3/23/2006 1:45:04 AM. In most cases, GDI+ speeds up your programming of Graphics because (1) It is not a thin veneer over the Windows SDK (2) It makes sense. However, whenever you lose granularity to create a simpler to use architecture, you tend to lose some functionality. Form Capture is one of these cases. In the cases where you say to yourself: "Hey! I could do that in GDI, why can't I do that in GDI+??". The answer is you can.
  • Screen capturing of a Form using GDI+3/23/2006 1:45:04 AM. In most cases, GDI+ speeds up your programming of Graphics because (1) It is not a thin veneer over the Windows SDK (2) It makes sense. However, whenever you lose granularity to create a simpler to use architecture, you tend to lose some functionality. Form Capture is one of these cases. In the cases where you say to yourself: "Hey! I could do that in GDI, why can't I do that in GDI+??". The answer is you can.
  • Printing a Ruler in GDI+ and VB.NET3/23/2006 1:28:03 AM. If you misplaced your ruler, here's an application that will create one for you on your printer! Unfortunately, you'll still need a ruler the first time using it so that you can calibrate the measurement for your particular printer, but once you know the calibration value, you are all set with a fairly accurate ruler. Below is the simple design of our ruler. The ruler itself is drawn in a Form.
  • Printing a Ruler in GDI+ and VB.NET3/23/2006 1:28:03 AM. If you misplaced your ruler, here's an application that will create one for you on your printer! Unfortunately, you'll still need a ruler the first time using it so that you can calibrate the measurement for your particular printer, but once you know the calibration value, you are all set with a fairly accurate ruler. Below is the simple design of our ruler. The ruler itself is drawn in a Form.
  • Printing contents of an Edit Box3/6/2006 1:28:34 AM. This article explains how to print contents of an edit box of a dialog. It doesn't print the edit box itself.
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...
Download