[]
Represents the settings of the SystemPrinter class.
public sealed class SystemPrinter
| Name | Description |
|---|---|
| SystemPrinter() | Initializes a new instance of SystemPrinter class. |
| Name | Description |
|---|---|
| CanDuplex | Determines whether or not the report can be duplexed while printing. |
| Collate | Determines whether all the pages of the report should be printed before another copy of the report. |
| Color | Determines whether or not the report will print in color. |
| Copies | Determines the number of copies to print. |
| DpiX | Gets the horizontal resolution of the SystemPrinter object. |
| DpiY | Gets the vertical resolution of the SystemPrinter object. |
| Duplex | Gets or sets the report document setting for double-sided printing. |
| FileName | Gets or sets the file name used to print to a file. |
| FromPage | Sets the starting page in a print job. |
| Graphics | Draws the page to the printer. |
| Landscape | Determines whether or not the report will be landscaped for printing. |
| MaxPage | Sets the total page count in the progress dialog when doing custom printing. |
| PaperHeight | Gets or sets the paper height for printing. |
| PaperSize | Gets or sets the paper size for the page. |
| PaperSizes | Returns a reference to the collection of paper sizes the printer supports. |
| PaperSource | Gets or sets the paper source for the page. |
| PaperSources | Returns a reference to the collection of paper sources the printer supports. |
| PaperWidth | Sets or returns the width of the paper used to print the report. |
| PhysicalOffsetX | Returns the measurement in pixels of the non-printable section on the left side of the page. |
| PhysicalOffsetY | Returns the measurement in pixels of the non-printable section at the top of the page. |
| Port | Gets or sets the current printer port. |
| Ports | Returns the collection of printer ports available. |
| PrinterName | Gets or sets the name of the printer to use. |
| PrinterNames | Returns the collection of printer names available. |
| PrinterResolution | Gets or sets the printer resolution for the page. |
| PrinterResolutions | Returns a collection of the available printer resolutions. |
| PrinterSettings | Gets the printer settings associated with the page. |
| ToPage | Sets the number of the last page to be printed. |
| Name | Description |
|---|---|
| AbortJob() | Aborts the SystemPrinter print job initialized by the StartJob method. |
| EndJob() | Ends the SystemPrinter print job initialized by the StartJob method. |
| EndPage() | Ends a specific page in a SystemPrinter print job initialized by the StartPage method. |
| Escape(string) | Allows escape codes to be entered. |
| PrintDialog() | Shows a SystemPrinter print dialog. |
| SetupDialog() | Shows a SystemPrinter setup dialog. |
| StartJob(string) | Starts a SystemPrinter print job. |
| StartPage() | Starts a specific page in a SystemPrinter print job. |