Click here to Skip to main content
15,896,912 members
Articles / Programming Languages / Visual Basic

Printing Reports in .NET

Rate me:
Please Sign up or sign in to vote.
4.85/5 (70 votes)
26 Aug 2008CPOL11 min read 441.7K   15.6K   257  
Using the library presented, you can print reports from C# and other .NET languages
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Report Printing in .NET</title>
		<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="/global.css" type="text/css" rel="stylesheet">
		<style type="text/css" media="screen">@import url( /style.css ); 
		</style>
		<LINK media="print" href="/print.css" type="text/css" rel="stylesheet">
	</head>
	<body>
		<div id="banner">
			<h1>Printing Reports in C#</h1>
		</div>
		<div id="leftcontent">
			<!--#include virtual="/sideMenu.html" --></div>
		<h2>Summary</h2>
		<P>The ReportPrinting library provides:</P>
		<DIV>
			<UL>
				<LI>
				Printing paragraphs of text using style classes (somewhat akin to HTML H1, H2, 
				H3, Normal styles)
				<LI>
					Printing DataTables using classes&nbsp;similar to the DataGridColumnStyle class 
					for formatting.
					<UL>
						<LI>
						Customizable gridlines
						<LI>
							Customizable fonts and fomatting</LI></UL>
				<li>
				Support for page headers and footers (and unique for first page, odd pages, and 
				even pages)
				<li>
				Graphics (using the .Net Image class)
				<LI>
				Columns, boxes, and various other goodies.
				<LI>
				Layers (can be used for creating watermarks)
				<LI>
					Builder class to simplify the process of putting all these things together</LI></UL>
		</DIV>
		<H2>Documentation</H2>
		<P><FONT color="#ff0000">Due to Mike's disappearance, we&nbsp;don't have the 
				documentation mentioned here.</FONT>&nbsp;</P>
		<P>Please see <A href="http://www.mag37.com/projects/Printing">http://www.mag37.com/projects/Printing</A>
			for the latest documentation.
		</P>
		<P>The Compiled Help File should be here: <A href="ReportPrinting.chm">ReportPrinting.chm</A></P>
		<H2>Support</H2>
		<P><FONT color="#ff0033">Any support will now be via the SourceForge site (project name 
				net-rep-printer).</FONT></P>
		<P>I would like to hear any comments, especially constructive ones.</P>
		<P>Please also tell me if you've used this in a deployed app and, if possible, send 
			me a screen capture or other example (code even?) of a report you have made 
			with these classes.&nbsp; I won't share anything without prior, written 
			consent.&nbsp; I'm just curious to see how&nbsp;this library is being 
			used.&nbsp;</P>
		<P>Mailto : <A href="mailto:mike@mag37.com">mike@mag37.com</A>&nbsp;with subject 
			.Net printing</P>
		<P>&nbsp;</P>
	</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions