PrinterSettings
Specifies information about how a document is printed, including the printer that prints it, when printing from a Windows Forms application.
Contains a collection of PaperSize objects.
Contains a collection of PaperSource objects.
Contains a collection of PrinterResolution objects.
Contains a collection of String objects.
Gets the names of all printers installed on the computer.
Gets a value indicating whether the printer supports double-sided printing.
Gets or sets a value indicating whether the printed document is collated.
Gets or sets the number of copies of the document to print.
Gets the default page settings for this printer.
Gets or sets the printer setting for double-sided printing.
Gets or sets the page number of the first page to print.
Gets a value indicating whether the PrinterName property designates the default printer, except when the user explicitly sets PrinterName.
Gets a value indicating whether the printer is a plotter.
Gets a value indicating whether the PrinterName property designates a valid printer.
Gets the angle, in degrees, that the portrait orientation is rotated to produce the landscape orientation.
Gets the maximum number of copies that the printer enables the user to print at a time.
Gets the paper sizes that are supported by this printer.
Gets the paper source trays that are available on the printer.
Gets or sets the name of the printer to use.
Gets all the resolutions that are supported by this printer.
Gets or sets the file name, when printing to a file.
Gets or sets the page numbers that the user has specified to be printed.
Gets or sets a value indicating whether the printing output is sent to a file instead of a port.
Gets a value indicating whether this printer supports color printing.
Gets or sets the number of the last page to print.
public PrinterSettings()
Initializes a new instance of the PrinterSettings class.
Creates a copy of this PrinterSettings.
Returns a Graphics that contains printer information that is useful when creating a PrintDocument.
Returns a Graphics that contains printer information, optionally specifying the origin at the margins.
Returns a Graphics that contains printer information associated with the specified PageSettings.
Creates a Graphics associated with the specified page settings and optionally specifying the origin at the margins.
Creates a handle to a DEVMODE structure that corresponds to the printer settings.
Creates a handle to a DEVMODE structure that corresponds to the printer and the page settings specified through the pageSettings parameter.
Creates a handle to a DEVNAMES structure that corresponds to the printer settings.
Gets a value indicating whether the printer supports printing the specified image file.
Returns a value indicating whether the printer supports printing the specified image format.
Copies the relevant information out of the given handle and into the PrinterSettings.
Copies the relevant information out of the given handle and into the PrinterSettings.