TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Printing in C#
FOLLOW
Welcome to Printing section of C# Corner. In this section, you will find various Printing related source code samples, articles, tutorials, and tips.
Articles
(31)
Blogs
(1)
Resources
(1)
Videos
(0)
News
(0)
Articles
ClosedXML Excel Printing settings
This article will describe all the printing settings available in CloseXML excel library.
Harminder Singh
Oct 06, 2023
How To Automatically Set The Font Size Relative To The Page Size
In this article, it is explained how to calculate the printer page size, height, and width, expressed in the number of letters that can fit across the page height and width, for a selected font type.
Željko Perić
Apr 01, 2022
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
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
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
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
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
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
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
Using Management Objects to check Online Printers
This article shows to check online printers using management objects.
Krishnan LN
Jan 20, 2006
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
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
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
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
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
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
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
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
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
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
No Records Available.
View More
Learn Angular 8 In 25 Days
Challenge yourself
Printing in C#
E-Book Download
Get Certified
Blazor