Class PrintersConfiguration
Dialog for configuring the device, text-only driver and POS escape sequences (cut paper, open drawer) of Report Manager's configurable printer slots, persisting the settings to a per-user or system-wide reportman.ini file.
Inheritance
PrintersConfiguration
Implements
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class PrintersConfiguration : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
View SourcePrintersConfiguration()
Declaration
public PrintersConfiguration()
Fields
View SourceStreamResult
Declaration
public MemoryStream StreamResult
Field Value
| Type | Description |
|---|---|
| MemoryStream |
configstream
Declaration
public Stream configstream
Field Value
| Type | Description |
|---|---|
| Stream |
printernames
Declaration
public Strings printernames
Field Value
| Type | Description |
|---|---|
| Strings |
Methods
View SourceDispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
View SourceInitialize()
Declaration
public void Initialize()
ShowPrintersConfiguration(Form)
Declaration
public static MemoryStream ShowPrintersConfiguration(Form ParentForm)
Parameters
| Type | Name | Description |
|---|---|---|
| Form | ParentForm |
Returns
| Type | Description |
|---|---|
| MemoryStream |
ShowPrintersConfiguration(Form, Strings, Stream, EventPrinterNamesHandler)
Declaration
public static MemoryStream ShowPrintersConfiguration(Form ParentForm, Strings printernames, Stream configstream, EventPrinterNamesHandler OnGetNames)
Parameters
| Type | Name | Description |
|---|---|---|
| Form | ParentForm | |
| Strings | printernames | |
| Stream | configstream | |
| EventPrinterNamesHandler | OnGetNames |
Returns
| Type | Description |
|---|---|
| MemoryStream |