Provides classes that enable you to automate the management of print servers, print queues, and print jobs.
Classes LocalPrintServerRepresents the local print server (the computer on which your application is running) and enables management of its print queues.
PageImageableAreaRepresents the area of a page that can be printed.
PageMediaSizeDescribes the page size for paper or other media.
PageResolutionDefines the page resolution of printed output as either a qualitative value or as dots per inch, or both.
PageScalingFactorRangeSpecifies a range of percentages by which a printer can enlarge or reduce the print image on a page.
PrintCapabilitiesDefines the capabilities of a printer.
PrintCommitAttributesExceptionThe exception that is thrown when an error condition prevents some attributes from being committed by a PrintSystemObject to the actual computer, printer, or device that the object represents.
PrintDocumentImageableAreaSpecifies the size of the paper (or other media), the size of the imageable area, and the location of the imageable area.
PrintDriverRepresents a print driver.
PrintFilterDefines disposal behavior that is common to both the PrintDriver and PrintProcessor classes. PrintFilter supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
PrintingCanceledExceptionThe exception that occurs when code attempts to access a canceled print job.
PrintingNotSupportedExceptionThe exception that is thrown when a printing operation is not supported.
PrintJobExceptionThe exception that occurs when the print job does not run correctly.
PrintJobInfoCollectionRepresents one or more PrintSystemJobInfo objects.
PrintJobSettingsDescribes a print job.
PrintPortRepresents a printer port on a print server. Each print queue has a print port assigned to it.
PrintProcessorRepresents a print processor on a print server.
PrintQueueManages printers and print jobs.
PrintQueueCollectionRepresents a collection of PrintQueue objects.
PrintQueueExceptionThe exception that is thrown when an error condition prevents the accessing or creation of a PrintQueue.
PrintQueueStreamA stream that represents a spooled print job in a print queue.
PrintQueueStringPropertyRepresents one, and only one, of three possible properties of a print queue: Location, Comment, or ShareName.
PrintServerManages the print queues on a print server, which is usually a computer, but can be a dedicated hardware print server appliance.
PrintServerExceptionThe exception that occurs when an error condition prevents the accessing or creation of a PrintServer.
PrintSystemExceptionThe exception that occurs when an error condition prevents accessing or creating a PrintSystemObject.
PrintSystemJobInfoDefines a print job in detail.
PrintSystemObjectDefines basic properties and methods that are common to the objects of the printing system. Classes that derive from this class represent such objects as print queues, print servers, and print jobs.
PrintSystemObjectPropertiesChangedEventArgsProvides data for a PropertiesChanged event, which you must create.
PrintSystemObjectPropertyChangedEventArgsProvides data for a PropertyChanged event, which you must create.
PrintSystemObjectsRepresents a collection of print system objects.
PrintTicketDefines the settings of a print job.
Structs ValidationResultRepresents a merged PrintTicket that is guaranteed to be viable, with a report of any settings that were changed to make it viable.
EnumsThis namespace contains the following core classes:
The PrintSystemObject class, which is the base class for the other core printing classes.
The PrintServer class, which represents an actual print server, usually a computer.
The PrintQueue class, which represents an actual print queue and its printer.
The PrintSystemJobInfo class, which represents a particular print job.
The PrintTicket class, which instructs the printer how to process a print job.
Classes derived from the PrintSystemObject class each have a Commit and a Refresh method. You must use these methods to ensure that instances of the classes are synchronized with the hardware or software components that they represent.
The System.Printing namespace also includes many enumerations that describe printer capabilities, such as whether a printer can produce collated output, and that specify instructions to printers, such as the paper size to use for a print job.
This namespace is part of the enhanced printing services provided with Windows Presentation Foundation. Managed code developers using Windows Forms must use the APIs in the System.Drawing.Printing namespace.
Caution
Classes within the System.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.
See alsoCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4