# GrapeCity.ActiveReports.Win.Printing.Printer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Win_Printing_Printer" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer" class="text-break">Printer Class
</h1>
  <div class="markdown level0 summary"><p>GDI+ Printer.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printdocument">PrintDocument</a></div>
    <div class="level4"><span class="xref">Printer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.html">GrapeCity.ActiveReports.Win.Printing</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Win_Printing_Printer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Printer : PrintDocument, IComponent, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer__ctor" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.-ctor.html#GrapeCity_ActiveReports_Win_Printing_Printer__ctor">Printer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.html">Printer</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer__ctor_System_Func_System_Drawing_Printing_PrintController__GrapeCity_ActiveReports_Printing_PrintProgressEventHandler_GrapeCity_ActiveReports_Printing_PrintAbortedEventHandler_System_Action_System_Exception__" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.#ctor(System.Func{System.Drawing.Printing.PrintController},GrapeCity.ActiveReports.Printing.PrintProgressEventHandler,GrapeCity.ActiveReports.Printing.PrintAbortedEventHandler,System.Action{System.Exception})">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.-ctor.html#GrapeCity_ActiveReports_Win_Printing_Printer__ctor_System_Func_System_Drawing_Printing_PrintController__GrapeCity_ActiveReports_Printing_PrintProgressEventHandler_GrapeCity_ActiveReports_Printing_PrintAbortedEventHandler_System_Action_System_Exception__">Printer(Func&lt;PrintController&gt;, PrintProgressEventHandler, PrintAbortedEventHandler, Action&lt;Exception&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.html">Printer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonDefaultPageSettings" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonDefaultPageSettings">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonDefaultPageSettings.html#GrapeCity_ActiveReports_Win_Printing_Printer_CommonDefaultPageSettings">CommonDefaultPageSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets page settings in platform independent format that are used as defaults for all pages to be printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonPaperKind" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPaperKind">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPaperKind.html#GrapeCity_ActiveReports_Win_Printing_Printer_CommonPaperKind">CommonPaperKind</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the paper size for the page. The size is specified in hundredths of an inch.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonPaperSize" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPaperSize">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPaperSize.html#GrapeCity_ActiveReports_Win_Printing_Printer_CommonPaperSize">CommonPaperSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the paper size for the page. The size is specified in hundredths of an inch.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonPrinterSettings" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPrinterSettings">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPrinterSettings.html#GrapeCity_ActiveReports_Win_Printing_Printer_CommonPrinterSettings">CommonPrinterSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a PrinterSettings in platform independent format that specifies where and how the document is printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_Landscape" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.Landscape">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.Landscape.html#GrapeCity_ActiveReports_Win_Printing_Printer_Landscape">Landscape</a>
        </td>
        <td class="markdown level1 summary"><p>Landscape</p>
<p>There is a potential problem if some one uses the DefaultPageSettings.Landscape to change the
the landscape instead of Printer.Landscape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PaperHeight" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PaperHeight">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PaperHeight.html#GrapeCity_ActiveReports_Win_Printing_Printer_PaperHeight">PaperHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Paper height in inches.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PaperKind" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PaperKind">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PaperKind.html#GrapeCity_ActiveReports_Win_Printing_Printer_PaperKind">PaperKind</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of paper.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PaperSize" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PaperSize">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PaperSize.html#GrapeCity_ActiveReports_Win_Printing_Printer_PaperSize">PaperSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the paper size for the page. The size is specified in hundredths of an inch.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PaperSizes" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PaperSizes">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PaperSizes.html#GrapeCity_ActiveReports_Win_Printing_Printer_PaperSizes">PaperSizes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the paper sizes that are supported by this printer. Paper size in hundredths of an inch.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PaperWidth" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PaperWidth">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PaperWidth.html#GrapeCity_ActiveReports_Win_Printing_Printer_PaperWidth">PaperWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Paper width in inches.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PrintController" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PrintController">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PrintController.html#GrapeCity_ActiveReports_Win_Printing_Printer_PrintController">PrintController</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the print controller that guides the printing process.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PrinterName" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PrinterName">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PrinterName.html#GrapeCity_ActiveReports_Win_Printing_Printer_PrinterName">PrinterName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the printer to use.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_PrinterSettings" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.PrinterSettings">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.PrinterSettings.html#GrapeCity_ActiveReports_Win_Printing_Printer_PrinterSettings">PrinterSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the printer that prints the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_VisibleBounds" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.VisibleBounds">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.VisibleBounds.html#GrapeCity_ActiveReports_Win_Printing_Printer_VisibleBounds">VisibleBounds</a>
        </td>
        <td class="markdown level1 summary"><p>VisibleBounds</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.Dispose.html#GrapeCity_ActiveReports_Win_Printing_Printer_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the unmanaged resources used by the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a> and optionally releases the managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_HandleAsyncPrintingError_System_Exception_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.HandleAsyncPrintingError(System.Exception)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.HandleAsyncPrintingError.html#GrapeCity_ActiveReports_Win_Printing_Printer_HandleAsyncPrintingError_System_Exception_">HandleAsyncPrintingError(Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_LoadSettings_System_IO_BinaryReader_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.LoadSettings(System.IO.BinaryReader)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.LoadSettings.html#GrapeCity_ActiveReports_Win_Printing_Printer_LoadSettings_System_IO_BinaryReader_">LoadSettings(BinaryReader)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_OnBeginPrint_System_Drawing_Printing_PrintEventArgs_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.OnBeginPrint(System.Drawing.Printing.PrintEventArgs)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.OnBeginPrint.html#GrapeCity_ActiveReports_Win_Printing_Printer_OnBeginPrint_System_Drawing_Printing_PrintEventArgs_">OnBeginPrint(PrintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_OnEndPrint_System_Drawing_Printing_PrintEventArgs_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.OnEndPrint(System.Drawing.Printing.PrintEventArgs)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.OnEndPrint.html#GrapeCity_ActiveReports_Win_Printing_Printer_OnEndPrint_System_Drawing_Printing_PrintEventArgs_">OnEndPrint(PrintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_OnPrintPage_System_Drawing_Printing_PrintPageEventArgs_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.OnPrintPage(System.Drawing.Printing.PrintPageEventArgs)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.OnPrintPage.html#GrapeCity_ActiveReports_Win_Printing_Printer_OnPrintPage_System_Drawing_Printing_PrintPageEventArgs_">OnPrintPage(PrintPageEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_OnQueryPageSettings_System_Drawing_Printing_QueryPageSettingsEventArgs_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.OnQueryPageSettings(System.Drawing.Printing.QueryPageSettingsEventArgs)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.OnQueryPageSettings.html#GrapeCity_ActiveReports_Win_Printing_Printer_OnQueryPageSettings_System_Drawing_Printing_QueryPageSettingsEventArgs_">OnQueryPageSettings(QueryPageSettingsEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_Reinitialize" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.Reinitialize">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.Reinitialize.html#GrapeCity_ActiveReports_Win_Printing_Printer_Reinitialize">Reinitialize()</a>
        </td>
        <td class="markdown level1 summary"><p>Reinitialize</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_SaveSettings_System_IO_BinaryWriter_" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.SaveSettings(System.IO.BinaryWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.SaveSettings.html#GrapeCity_ActiveReports_Win_Printing_Printer_SaveSettings_System_IO_BinaryWriter_">SaveSettings(BinaryWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonBeginPrint" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonBeginPrint">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonBeginPrint.html">CommonBeginPrint</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Printing.Printer.Print.html#GrapeCity_ActiveReports_Printing_Printer_Print">Print()</a> method is called and before the first page of the document prints.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonEndPrint" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonEndPrint">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonEndPrint.html">CommonEndPrint</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the last page of the document has printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonPrintPage" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPrintPage">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonPrintPage.html">CommonPrintPage</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the output to print for the current page is needed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Printing_Printer_CommonQueryPageSettings" data-uid="GrapeCity.ActiveReports.Win.Printing.Printer.CommonQueryPageSettings">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Printing.Printer.CommonQueryPageSettings.html">CommonQueryPageSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs immediately before each <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Printing.Printer.PrintPage.html">PrintPage</a> event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
