[]
Specifies information about how a document is printed, including the printer that prints it. This interface is used instead of System.Drawing.Printing.PrinterSettings.
public interface IPrinterSettings
Name | Description |
---|---|
CanDuplex | Gets a value indicating whether the printer supports double-sided printing. |
Collate | Gets or sets a value indicating whether the printed document is collated. |
Copies | Gets or sets the number of copies of the document to print. |
DefaultPageSettings | Gets the default page settings for this printer. |
Duplex | Gets or sets the printer setting for double-sided printing. |
FromPage | Gets or sets the page number of the first page to print. |
IsDefaultPrinter | Gets a value indicating whether the PrinterName property designates the default printer, except when the user explicitly sets PrinterName. |
IsPlotter | Gets a value indicating whether the printer is a plotter. |
IsValid | Gets a value indicating whether the PrinterName property designates a valid printer. |
LandscapeAngle | Gets the angle, in degrees, that the portrait orientation is rotated to produce the landscape orientation. |
MaximumCopies | Gets the maximum number of copies that the printer enables the user to print at a time. |
MaximumPage | Gets or sets the maximum FromPage or ToPage that can be selected in a System.Windows.Forms.PrintDialog. |
MinimumPage | Gets or sets the minimum FromPage or ToPage that can be selected in a System.Windows.Forms.PrintDialog. |
PaperSizes | Gets the paper sizes that are supported by this printer. |
PaperSources | Gets the paper source trays that are available on the printer. |
PrintFileName | Gets or sets the file name, when printing to a file. |
PrintRange | Gets or sets the page numbers that the user has specified to be printed. |
PrintToFile | Gets or sets a value indicating whether the printing output is sent to a file instead of a port. |
PrinterName | Gets or sets the name of the printer to use. |
SupportsColor | Gets a value indicating whether this printer supports color printing. |
ToPage | Gets or sets the number of the last page to print. |