com.spire.doc.printing
Class PrinterSettings

java.lang.Object
  extended by com.spire.ms.Printing.PrinterSettings
      extended by com.spire.doc.printing.PrinterSettings

public class PrinterSettings
extends com.spire.ms.Printing.PrinterSettings

Specifies information about how a document is printed, including the printer that prints it.


Constructor Summary
PrinterSettings()
          Initializes a new instance of the PrinterSettings class.
 
Method Summary
 PageSettings getDefaultPageSettings()
          Gets the default page settings for this printer.
 void setDuplex(Duplex value)
          Sets the printer setting for double-sided printing.
 void setPrinterName(java.lang.String value)
          Sets the name of the printer to use.
 void setPrintFileName(java.lang.String value)
          Sets the file name, when printing to a file.
 void setPrintToFile(boolean value)
          Sets a value indication whether the printing output is sent to a file instead of a port.
 

Constructor Detail

PrinterSettings

public PrinterSettings()
Initializes a new instance of the PrinterSettings class.

Method Detail

setPrinterName

public void setPrinterName(java.lang.String value)
Sets the name of the printer to use.

Overrides:
setPrinterName in class com.spire.ms.Printing.PrinterSettings
Parameters:
value -

setPrintToFile

public void setPrintToFile(boolean value)
Sets a value indication whether the printing output is sent to a file instead of a port.

Overrides:
setPrintToFile in class com.spire.ms.Printing.PrinterSettings
Parameters:
value -

setPrintFileName

public void setPrintFileName(java.lang.String value)
Sets the file name, when printing to a file.

Overrides:
setPrintFileName in class com.spire.ms.Printing.PrinterSettings
Parameters:
value -

setDuplex

public void setDuplex(Duplex value)
Sets the printer setting for double-sided printing.

Parameters:
value -

getDefaultPageSettings

public PageSettings getDefaultPageSettings()
Gets the default page settings for this printer.

Overrides:
getDefaultPageSettings in class com.spire.ms.Printing.PrinterSettings
Returns: