Click here to Skip to main content
6,635,160 members and growing! (12,727 online)
Email Password   helpLost your password?
Article Category: All Topics MFC/C++ C# VB.NET ASP.NET SQL Architect Windows 7 Java LAMP Mobile CEO / Manager
Announcements
BullFrog Power
 
Search    
Add to IE Search

Printing


Language
Platform
Technology
Audience
Skill Level
Topic
Clear All

Contents

 

Printing

top
Title / Updated Author Score  
Printing Multiple Pages and Tabular Printing
Updated: 23 Nov 2009  
In this article, I will discuss printing of tabular data in multiple pages.
C#, Windows, .NET, Dev
tadeze 5.00
The DataGridViewPrinter Class
Updated: 16 May 2006  
A printing class for the DataGridView.
C#.NET 2.0, Win2K, WinXP, Win2003VS2005, Dev
Salan Al-Ani 4.88
Report Generator
Updated: 11 Oct 2006  
A plug-in report generator
VC6, Windows, Dev
Johan Rosengren 4.86
Keep Your InkJet Print Head Clean
Updated: 4 Jan 2009  
A utility that you can use to "exercise" your inkjet printer without wasting a lot of ink or paper
C# (C# 3.0), .NET (.NET 3.5), Dev
John Simmons / outlaw programmer 4.78
Reading Data Directly from the Printer
Updated: 13 Jun 2006  
This article will help you know how to use PJL commands to fetch information from a printer without using the Windows Spooler.Well, this was tested on printers which are connected to LANs and not to personal computers using a parallel port.
C#.NET 1.1, WinXPVS.NET2003, Dev
sandeep Kumtakar 4.77
A ReportPrinting Framework
Updated: 30 Nov 2007  
A Framework to build graphical printing reports with absolute layout based on Mike Mayer's ReportPrinting core library.
C# 1.0, Windows, .NET 1.1, GDI+, VS.NET2003, Dev
ndatech 4.75
Another DataGridView Printer
Updated: 5 Sep 2009  
DataGridView printing encapsulated in a stand-alone object. Very easy to use! Updated to allow printing columns wider than one page.
C# (C# 2.0), Windows, .NET (.NET 2.0), Visual Studio (VS2005), Dev
aureolin 4.73
Quick Print
Updated: 5 May 2006  
An easy way to print without the doc/view architecture.
VC6Win2K, WinXP, MFC, Dev
sdancer75 4.70
Printers and SafeHandles
Updated: 16 Apr 2007  
Using SafeHandles to access PrinterInfo and DriverInfo structures.
C#, Windows, .NET 2.0VS2005, Dev
quiensabe 4.70
Print HTML in C# with or without the web browser control and the print dialog
Updated: 24 Jan 2006  
Shows how to print HTML in C# with or without the web browser control and the Windows default print dialog. It also implements the HTMLDocumentClass, IHTMLDocument2, and IHTMLDocument4 interfaces of MSHTML.
C#, .NET, Win2K, WinXP, Visual Studio, Dev
Borun 4.67
Customizing and Localizing Microsoft ReportViewer .NET - An exact solution
Updated: 11 Feb 2007  
An article about How to Customizing and Localizing Microsoft ReportViewer Toolbar
C#, Windows, .NET, Visual Studio, Dev
yincekara 4.64
A floating-point Margin structure, now with TypeConverter
Updated: 29 Mar 2007  
A Margin structure that can be used in a variety of situations, like layout, drawing and printing. Now comes with a custom TypeConverter and a usage sample.
C# 1.0, C# 2.0, C# 3.0, Windows, .NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, GDI+, WinForms, VS.NET2003, VS2005, Dev
AlwiNus 4.63
Printing Reports in .NET
Updated: 26 Aug 2008  
Using the library presented, you can print reports from C# and other .NET languages
C#, VB.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, Dev
Mike Mayer 4.60
Printing a Form in a report fashion (release 2.2)
Updated: 26 Oct 2004  
Printing a Form in a report fashion
C#, VB, Windows, .NET 1.1VS.NET2003, Dev
sylvain2222 4.55
Adding custom paper sizes to named printers
Updated: 11 Nov 2005  
Using PIinvoke and marshaling techniques to call the winspool library's AddForm.
C#, Windows, .NET, Visual Studio, Dev
twostepted 4.52
A class to print and print preview a DataGrid control
Updated: 6 Apr 2006  
A class to add to your application to generate nicely formatted prints from a DataGrid.
VB, Windows, .NET 1.1, WinForms, VS.NET2003, Dev
Duncan Edwards Jones 4.51
LitePrint
Updated: 23 Jul 2007  
Printing without the doc/view architecture
C++, Windows, Visual Studio, MFC, Dev
Ivan Markovic 4.50
A component that prints any control, including ListViews, TreeViews, DataGridViews, and Forms
Updated: 29 Jun 2006  
The ultimate printing component. Use it to print ListBoxes, ListViews, TreeViews, DataGridViews, Forms, TabPages, or even your own UserControls.
C#.NET 2.0, Win2K, WinXP, Win2003, VistaVS.NET2003, VS2005, Dev
Nader Elshehabi 4.50
Extending C# PrintDialog - Part I
Updated: 17 Dec 2006  
An extended C# PrintDialog with topmost capability.
C# 1.0, Windows, .NET 1.1VS.NET2003, Dev
Christopher Tan 4.48
DaReport PrintDocument - a printing utility for .NET
Updated: 20 Apr 2006  
A printing utility for .NET.
C#, Windows, .NET 1.1VS.NET2003, Dev
Predrag Dukanac 4.46
How to print the content of a Rich Edit Control
Updated: 26 Dec 2002  
Rich Edit controls are great until you want to print the output. Help is at hand
VC6, VC7Win2K, WinXP, MFC, Dev
Roger Allen 4.45
Printing support functions
Updated: 6 Feb 2000  
Two methods for obtaining consistent output between printers.
VC6, Visual Studio, MFC, Dev
Michael A. Barnhart 4.42
DataGrid Printing Class v1.0b
Updated: 31 May 2005  
A DataGrid printing class.
VB, Windows, .NET 1.1VS.NET2003, Dev
Nidhi S 4.42
Printing without the Document/View framework
Updated: 29 May 2002  
Shows how to print without relying on the MFC Doc/View framework
VC6, Visual Studio, Dev
Chris Maunder 4.42
Printing Class Library
Updated: 30 Nov 1999  
A general purpose printing class library
VC6, Dev
Richard Stringer 4.36
A simple approach for controlling print jobs using WMI
Updated: 1 Apr 2004  
A simple approach for controlling print jobs using WMI.
C#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, Visual Studio, Dev
Jagan Mohan 4.35
A line printer class
Updated: 22 Nov 1999  
A handy way to write to a line printer
VC6, Dev
Richard Warg 4.34
Basic Text and Image Printing
Updated: 17 Aug 2007  
This article will teach you the basics of printing text and graphics with the PrintDocument, PrintDialog, PrintPreview, and PageSetup controls.
VB.NET 2.0, WinXPVS2005, Dev
MatrixCoder 4.33
Printing with MFC Made Easy
Updated: 1 Dec 1999  
Two classes to add advanced print functionality to your MFC application
VC6, MFC, Dev
Dan Pilat 4.32
Structured Print Document utility
Updated: 10 Apr 2006  
A set of classes for creating structured documents.
VB, Windows, .NET, Visual Studio, Dev
Duncan Edwards Jones 4.30
Monitoring a Printer Queue from VB.NET
Updated: 2 Jun 2009  
How to monitor a printer queue from Visual Basic .NET
VB.NET 1.0, .NET 1.1, Win2K, WinXPVS.NET2003, Dev
Duncan Edwards Jones 4.29
Setting the default printer programmatically in an MFC application
Updated: 11 Jun 2002  
How to change the default printer in MFC and save/restore this setting too/from the registry
VC6Win2K, WinXP, MFC, Dev
Roger Allen 4.29
The Windows NT print spool shadow file format
Updated: 2 Mar 2005  
Describes the (undocumented) layout of the .shd file.
C++Win2K, WinXP, Win2003, Visual Studio, Dev
Duncan Edwards Jones 4.29
Printing tips and tricks from the trenches
Updated: 25 Jul 2002  
A selection of printing tips and tricks that can help make printing in an MFC application easier
VC6, VC7Win2K, WinXP, Visual Studio, MFC, Dev
Roger Allen 4.28
Getting the printer's REAL margin bounds in .NET
Updated: 1 Jul 2004  
The .NET printing classes don't take into account the printer's physical margins. This class fixes this problem, so your printed pages will be using the correct margins.
C#, Windows, .NET 1.0, .NET 1.1VS.NET2003, Dev
Philippe Leybaert 4.28
Kube Receipt Printer
Updated: 30 Mar 2009  
In this article, I wish to show how it’s possible to use an XML file as a Command file to drive a custom Kube printer. In detail, the goal of the project is to use the printer with native commands (escape sequences) for best performance, but creating the layout through a simple XML file.
C#, XML, .NET, Dev
Alessandro Lentini 4.25
An easy way to customise the default Print dialog in an MFC app
Updated: 16 Jul 2002  
A quick and easy way to customise the CPrintDialog object in an MFC application
VC6, VC7Win2K, WinXP, MFC, Dev
Roger Allen 4.21
Finding Printers in a Network
Updated: 26 Feb 2003  
Enumerate printers in a network, sending/printing a file on them.
VC6Win2K, WinXP, MFC, Dev
G. Steudtel 4.18
Print Bitmaps without Doc/View Framework
Updated: 6 Jul 2000  
How to print a user-drawn bitmap without relying on the Doc/View's functions.
VC6Win2K, Visual Studio, MFC, Dev
Weimin Chen 4.17
EMF Printer Spool File Viewer
Updated: 21 Aug 2006  
A viewer application for EMF format spool files.
C++, VB.NET 1.0, .NET 1.1, .NET 2.0, Win2K, WinXP, Win2003, GDI+, Dev
Duncan Edwards Jones 4.16
Line Printer Class in C#
Updated: 26 Sep 2008  
A simple C# class for printing on old dot matrix line printers.
C#, .NET, Win32, Dev
Antonino Porcino 4.14
Printing of DataGridView
Updated: 31 Jul 2008  
This article will print all the records in a datagridview in tabular form
C# 2.0.NET 2.0, Win2003, ADO.NET, Architect, Dev
Life with .NET 4.09
PDF Writer
Updated: 16 Mar 2006  
An article on using the Virtual Printer Method to create a PDF writer.
VC7.1Win2K, WinXP, MFC, VS.NET2003, Dev
ben688 4.07
Simplified .NET Printing in C#
Updated: 12 Jan 2005  
Uses a RichtextBox to cache our text for printing.
C#, Windows, .NET 1.0, Dev
Dave Brighton 4.07
A Simple Printing Mechanism
Updated: 16 May 2000  
Learn how to implement print support in your applications.
VC6, Visual Studio, MFC, Dev
Joseph M. Newcomer 4.00
Printing to Excel
Updated: 20 Apr 2002  
This article shows how to send data to Excel instead of a printer.
VC6, VC7Win2K, WinXP, MFC, Dev
Franz Maerzinger 4.00
Example of how to print a long CString across multiple pages of output using the MFC print architecture
Updated: 19 Jun 2002  
An example project of how to break up a long string that you want to print across multiple pages
VC6, VC7Win2K, WinXP, MFC, Dev
Roger Allen 4.00
Extending C# PrintDialog Part II
Updated: 18 Dec 2006  
Printing Odd/Even pages in C#
C# 1.0.NET 1.1, WinXP, Visual Studio, Dev
Christopher Tan 4.00
Object-oriented Printing with Inka, Part 1
Updated: 27 Feb 2009  
The basics of Inka, an open source printing component
VB 9.0.NET 3.5, WinForms, Dev
Artem Smirnov 4.00
Print a WinForms User Control
Updated: 20 Apr 2009  
Here's how to print your custom user control on a full page.
C#.NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, WinForms, VS.NET2003, VS2005, VS2008, Dev
tystent 4.00
A Single Page Printing Framework
Updated: 1 Feb 2000  
A Single Page Printing Framework
VC6, MFC, Dev
James Archer 3.97
Getting the location of a printer device
Updated: 2 Dec 1999  
Getting the location of a printer device.
VC6, Visual Studio, Dev
Dan Pilat 3.95
Printing double values with a precision, derived from the given error-bound
Updated: 14 Nov 2006  
In this article, we will consider one way of printing double values with a precision derived from the given error-bound.
C++, C, Windows, Visual Studio, Dev
Dr. Ivan S Zapreev 3.89
Easy to use class for ScreenCapture to printer
Updated: 9 May 2004  
A class for easily capturing screen and printing to default printer.
VC6, VC7Win2K, WinXP, MFC, Dev
Albert Hermann 3.89
Printing the .NET TreeView Control
Updated: 25 Jan 2007  
A class to handle printing a .NET TreeView control.
C#.NET 1.1, .NET 2.0, Win2K, WinXP, Win2003VS.NET2003, VS2005, Dev
Mark Pitman 3.86
Printing Architecture - Unedited
Updated: 30 Nov 2004  
This article explains about the components of printing architecture.
C++, Windows, Visual Studio, Architect, Dev
Bodapati Venkat 3.85
How to print CFormView
Updated: 18 Aug 2003  
This article gives two different methods to print CFormView
VC6, VC7, VC7.1Win2K, WinXP, Win2003, MFC, Dev
Tao Hu 3.83
Printing Collections
Updated: 27 Mar 2005  
This article describes a framework for printing collections using .NET reflection.
C#.NET 1.1, WinXPVS.NET2003, Dev
Meir Bechor 3.80
An LPR client in C#
Updated: 27 Dec 2006  
An article on printing with LPR in C#.
C#, Windows, .NET, Visual Studio, Dev
rob tillaart 3.78
A customizable printing text class
Updated: 2 Jun 2006  
A text document printing class that adds customizable header, footer, and line numbers to your printed text. The text can also be printed using three different styles.
C#.NET 1.1, Win2K, WinXPVS.NET2003, Dev
Alberto Ferrazzoli 3.67
Setting Crystal Report Margin at Runtime - Unedited
Updated: 22 Feb 2008  
http;//www.altaf.com
VB, .NET (.NET 2.0)
altafsagar 3.67
How to print text in C#
Updated: 20 Apr 2005  
How printing works in Multipad, a Notepad clone.
C#, Windows, .NET 1.1, .NET 2.0, Visual Studio, GDI+, WinForms, Dev
q123456789 3.64
Form Print Control
Updated: 21 Jan 2009  
An extender control to make printing a form quick, easy, and flexible.
C# (C# 1.0, C# 2.0), VB 8.0, VB 9.0.NET 2.0, Win2K, WinXP, Win2003, Vista, WinForms, VS2005, Dev
Duncan Edwards Jones 3.63
Printing documents from C# using OpenOffice writer - Unedited
Updated: 7 May 2008  
Simple printing solution based on OpenOffice suite
C#, Windows, Office, Dev
psonek 3.61
An absolute beginner's guide to printing in .NET
Updated: 11 Jul 2008  
Introduces and discusses the Common Language Runtime framework classes used in printing from a .NET Windows Forms application.
C# (C# 1.0, C# 2.0, C# 3.0), VB (VB 7.x, VB 8.0, VB 9.0, VB 6), .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0), WinForms, Dev
Duncan Edwards Jones 3.59
All about PrintForm component 1.0
Updated: 30 Jun 2007  
How to print a Form in VB.NET using the Printform Component. Describes the various ways with examples on how to customize the printed output according to your need.
VB 6, .NET CF, Mobile, .NET 1.0, .NET 1.1, .NET 2.0, WinXP, Vista, TabletPC, WinForms, VS.NET2003, VS2005, Dev
vridhichowdhry 3.58
Print Windows Forms w/o using API
Updated: 27 Nov 2008  
Print Windows Forms using 100% managed code
C#.NET 1.0, .NET 1.1, WinXP, Dev
Jodoveepn 3.51
Printing Word Documents in C#
Updated: 15 Jul 2005  
Printing documents using Microsoft Word and C#
C#, Windows, .NET, Office, Visual Studio, Dev
tartanmonkey 3.45
Method for Printing an OWC11 Chart from VB.NET
Updated: 4 Sep 2008  
Printing an OWC chart from a Windows.Form in VB.NET
VB, Windows, .NET, Dev
jameshart 3.33
A printf implementation in C#
Updated: 26 Jan 2009  
This article describes an implementation of printf using C#.
C#, Windows, .NET, Visual Studio, Dev
Richard Prinz 3.32
QedPrinter - Quick & Dirty Printer: Printing from C#, using WordPad as the print "engine"
Updated: 11 Jul 2005  
This article describes a class to quickly implement printing with C# (i.e. yet another .NET printing utility), using the ubiquous Windows program WordPad.exe as its print engine.
C#, Windows, .NET, Visual Studio, Dev
IlĂ­on 3.26
Print a bitmap full page
Updated: 16 Dec 2005  
Print a bitmap full page.
VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, Dev
Niek Albers 3.26
Set up/change printer orientation and select paper type/size
Updated: 20 Nov 2005  
Changing printer orientation and paper type at run time.
VC6, VC7, VC7.1Win2K, WinXP, Visual Studio, MFC, Dev
AlexEvans 3.04
Print ListControl data in the form of a grid on multiple pages
Updated: 14 Jan 2005  
Printing the data of a CListCtrl on multple pages in the form of a grid.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, DotGNU, Visual Studio, MFC, Dev
sunil samineni 3.03
Printers and SafeHandles (Part 2)
Updated: 16 Apr 2007  
Using SafeHandles to monitor a printer.
C# 2.0, Windows, .NET 2.0VS2005, Dev
quiensabe 2.94
HP PCL PCL5 Printing
Updated: 22 Apr 2005  
HP PCL PCL5 printing in C#.
C#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, VistaVS.NET2003, Dev
fhunth 2.92
Set Default Printer based on the Network that the System Connected
Updated: 27 May 2008  
Set Default Printer based on the Network that the System Connected
C# 2.0.NET 2.0VS2005, Dev
Bappi M Ahmed 2.86
How to Check if your Printer is Connected, using C#
Updated: 10 Feb 2004  
Make sure you check your printer's offline status before printing. This article shows how to do just that.
C#, .NET, Win2K, WinXP, Win2003, Visual Studio, Dev
zeddy 2.77
Choosing a printer when printing from Crystal Reports in C#
Updated: 7 Dec 2005  
How to choose a printer when printing from Crystal Reports in C#.
C#, .NET, WinXP, Visual Studio, Dev
Le Minh Dat 2.67
Simple Printing in .Net - Unedited
Updated: 26 Apr 2008  
Simple printing sample without crystal report and non-databinding in design time using dot net
Windows (WinXP, Win2003), .NET (.NET 2.0, .NET 3.0, .NET 3.5), WinForms, VS.NET2003, VS2005, VS2008, Architect, Dev, Design
Senthil S 2.33
Rich Text Drawing,Printing Preview and Printing to Paper (GDI only) - Unedited
Updated: 20 Mar 2006  
To help you building Rich Text Drawing,Print Preview,Printing to paper support report application quickly and easily,includes source codes.
C++, Windows, Visual Studio, Dev
kellyonlyone 2.14
Simple way to get the name of the paper a printer supports
Updated: 19 Jan 2005  
Use DeviceCapabilities function to get the paper name of a printer.
VC6Win2K, MFC, Dev
_anil_ 1.69
RTF print Example - Unedited
Updated: 25 Mar 2008  
RTF print Example
C# (C# 1.0, C# 2.0, C# 3.0)
John Grove 1.47
WordWrap with PrintDocument
Updated: 25 Jul 2007  
Code to ensure word wrapping in a PrintDocument object.
VB 8.0, Windows, .NET 2.0, WinForms, VS2005, Dev
Greg Osborne  
DataGridView Print/Print Preview Solution - Part I
Updated: 16 May 2009  
This article is the first of two articles in which I want to show a solution for the Print Preview of the DataGridView object. One of the goals of my solution is to to print the DataGridView keeping its styles automatically.
C# 1.0, C# 2.0, C# 3.0, .NET, Dev
Alessandro Lentini  

Printing - Print Preview

top
Title / Updated Author Score  
DataGridView Print/Print Preview Solution - Part II
Updated: 18 Jun 2009  
This article is the second one of two articles in which I want to show a solution for the Print Preview of the DataGridView object. One of the goals of my solution is to print the DataGridView keeping its styles automatically.
C# (C# 1.0, C# 2.0, C# 3.0), Dev
Alessandro Lentini 5.00
An Enhanced PrintPreviewDialog
Updated: 2 Oct 2009  
A PrintPreviewDialog that is faster and better looking than the standard one
C#, VB, .NET (.NET 2.0), WinForms, Dev
Bernardo Castilho 4.92
Using CRgn with print preview
Updated: 3 Nov 2003  
CRgn objects need translating, to work correctly in print preview.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Visual Studio, MFC, Dev
Roger Allen 4.75
An Enhanced PrintPreviewDialog
Updated: 23 Apr 2009  
An enhanced PrintPreviewDialog with better look, localization, auto page numbers, and additional text.
C# 2.0.NET 2.0, Win2K, WinXP, Win2003, Vista, .NET 3.0, .NET 3.5, WinForms, Dev
Vincenzo Rossi 4.69
Print Previewing without the Document/View Framework
Updated: 26 Nov 1999  
Want to preview your printing without relying on the doc/view framework?
VC6, Dev
Koay Kah Hoe 4.69
RichTextBoxDocument
Updated: 3 Oct 2009  
A PrintDocument class for printing and previewing RichTextBox controls
C#, Dev
Bernardo Castilho 4.50
Localizing print preview
Updated: 4 Jul 2004  
Draw your print preview buttons in your customers' language
VC6, Windows, Dev
Edwin Brunner 4.35
MultiPage PrintPreview enhancements for MFC Doc/View applications
Updated: 27 Apr 2002  
How to improve the standard MFC print preview options to allow preview of from 1 to 9 pages at a time
VC6, VC7Win2K, WinXP, MFC, Dev
Roger Allen 4.33
MFC Print preview extension DLL for dialogs
Updated: 26 Dec 2002  
An MFC extension library, so your dialogs can have easy print/print preview support.
VC6Win2K, WinXP, MFC, Dev
Roger Allen 4.28
Very Simple Print Preview without the Doc/View architecture
Updated: 9 Aug 2001  
A very simple way of displaying a print preview in a simple window
VC6, MFC, Dev
Danang Suharno 3.72
Printing a datagridview in C#.NET 2.0 - Unedited
Updated: 6 Nov 2009  
This Article demonstrates the printing of a datagridview
C#, Windows, WinForms, Dev
Amey Deshpande 3.36
Printing framework
Updated: 22 Nov 2003  
Simple framework for text and graphic Printing/Previewing
VC6Win2K, WinXP, Win2003, MFC, Dev
Thomas Montembault 3.30
Solution to the preview problem while playing a metafile in a CPreviewDC
Updated: 26 Jan 2005  
Playing a Metfile into a CPreviewDC in print preview can cause further drawing operations to not work correctly.
VC6, Windows, Dev
Roger Allen 2.14

Last Updated 23 Nov 2009
Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use