Class PrinterSettings
PrinterSettings class
Specifies information about how a document is printed, including the printer that prints it.
public class PrinterSettings
Constructors
Properties
Name | Description |
---|
Collate { get; set; } | Gets or sets a value indicating whether the print out is collated. |
Copies { get; set; } | Gets or sets the number of copies to print. |
DefaultPageSettings { get; } | Gets the default page settings for this printer. |
Duplex { get; set; } | Gets or sets the printer’s duplex setting. |
FromPage { get; set; } | Gets or sets the first page to print. |
MaximumPage { get; set; } | Gets or sets the highest FromPage or ToPage which may be selected in a print dialog box. |
MinimumPage { get; set; } | Gets or sets the lowest FromPage or ToPage which may be selected in a print dialog box. |
PrinterName { get; set; } | Gets or sets the name of the printer. |
PrinterUri { get; set; } | Get or sets the URI of the network printer. |
PrintFileName { get; set; } | Indicates the name of the printerfile. |
PrintRange { get; set; } | Gets or sets the pages the user has asked to print. |
PrintToFile { get; set; } | Indicates whether to print to a file instead of a port. |
ToPage { get; set; } | Gets or sets the last page to print. |
Methods
Name | Description |
---|
override ToString() | Provides some interesting information about the PrinterSettings in String form. |
See Also