This document is archived and information here might be outdated.  Recommended version.


IPrinter Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IP > IPrinter Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

IPrinter Interface

Provides access to members that control the Printer Driver.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method DoesDriverSupportPrinter Indicates if the Printer Name passed into function is supported by the IPrinter Driver.
Read-only property DriverName The name of Windows Printer Driver.
Read-only property FileExtension File Extension associated with the Printer Driver.
Read-only property Filter Filter used in CFileDialog.
Method FinishPrinting Finish up Printing.
Read-only property Name Name of the IPrinter Driver.
Read/write property Paper The IPaper interface.
Read-only property PrintableBounds The area of the printer page that can be printed on.
Read/write property PrintToFile The name of file if saving to Disk.
Method QueryPaperSize Returns Page Size for Printer.
Read/write property Resolution The Printer Driver Resolution.
Read/write property SpoolFileName The Spool File Name which shows up in the Print Manager.
Method StartPrinting Initialize Printing.
Write-only property StepProgressor Updates a Progress Bar is set.
Read-only property Units The units for PaperSize and PrintableBounds.
Method VerifyDriverSettings Indicates if the Printer Driver should validate Printer Driver's local settings.

CoClasses that implement IPrinter

CoClasses and Classes Description
ArcPressPrinter (esriOutputExtensions) Class used to print maps with the ArcPress Printer Driver.
EmfPrinter Class used to print maps with the EMF (Windows Enhanced Metafile) Printer Driver.
PsPrinter Class used to print maps with the PostScript Printer Driver.

See Also

IMxApplication.Printer Property

.NET Samples

Printing with the PageLayoutControl (Code Files: PrintPageLayout) | Print active view with ArcPress (Code Files: PrintActiveViewArcPressVB_Net_Addin) | Print preview using the PageLayoutControl (Code Files: PrintPreview) | Print active view (Code Files: PrintActiveViewVB_Net_Addin) | Print multiple pages (Code Files: PrintMultiPagesVB_NET_Addin)

.NET Related Topics

OutputExtensions