This eBook describes everything you need to interface between a .NET 2.0 base application and the print spooler subsystem to create impressive printed output and to get extensive information about what is being printed
Contents
Introduction
Who is this book for?
Why is it needed?
What is included?
What is not included?
It all starts with a blank sheet of paper
Overview of the print process
The user’s perspective
The application perspective
The operating system perspective
Print components
Spooler service
Print Processor
Printer Driver
Settings for printers and printing
Printing in .NET with windows forms
The PrintDocument class
The BeginPrint event
The QueryPageSettings event
The PrintPage event
Printing images
Printing text
Printing RTF text
The EndPrint event
Creating a .NET print library
High level overview: The components of a structured print document
The Document Template
The Page Template
Logical vs. Physical pages
The Section Template
Getting and setting printer settings in .NET
Setting printer properties using the System.Printing namespace
Setting printer properties using the Windows API
Listing the print jobs on a printer using the System.Printing namespace
Listing the print jobs on a printer using the Windows API