print method

print()

Prints the whole document to the default printer.

def print(self):
    ...

print(options)

Prints the whole document to the default printer.

def print(self, options):
    ...
ParameterTypeDescription
optionsaspose.diagram.saving.PrintSaveOptionsThe print options.

print(printer_name)

Print the whole document to the specified printer,using the standard (no User Interface) print controller.

def print(self, printer_name):
    ...
ParameterTypeDescription
printer_namestrThe name of the printer.Can be Null

Remarks

If printerName is Null or empty will be used default printer.

print(printer_settings)

Prints the document according to the specified printer settings,using the standard (no User Interface) print controller.

def print(self, printer_settings):
    ...
ParameterTypeDescription
printer_settingsaspose.pydrawing.printing.PrinterSettingsThe printer settings to use.

Remarks

The System.Drawing.Printing.PrinterSettingsobject allows you to specify the printer to print on, the range of pages of to print and other options.

print(printer_name, options)

Print the whole document to the specified printer,using the standard (no User Interface) print controller.

def print(self, printer_name, options):
    ...
ParameterTypeDescription
printer_namestrThe name of the printer.Can be Null
optionsaspose.diagram.saving.PrintSaveOptionsThe print options.

Remarks

If printerName is Null or empty will be used default printer.

print(printer_settings, options)

Prints the document according to the specified printer settings,using the standard (no User Interface) print controller.

def print(self, printer_settings, options):
    ...
ParameterTypeDescription
printer_settingsaspose.pydrawing.printing.PrinterSettingsThe printer settings to use.
optionsaspose.diagram.saving.PrintSaveOptionsThe print options.

Remarks

The System.Drawing.Printing.PrinterSettingsobject allows you to specify the printer to print on, the range of pages of to print and other options.

print(printer_settings, document_name)

Prints the document according to the specified printer settings,using the standard (no User Interface) print controller and a document name.

def print(self, printer_settings, document_name):
    ...
ParameterTypeDescription
printer_settingsaspose.pydrawing.printing.PrinterSettingsThe printer settings to use.
document_namestrThe document name to display (for example, in a print status dialog box or printer queue) while printing the document.

print(printer_name, document_name)

Prints the document,using the standard (no User Interface) print controller and a document name.

def print(self, printer_name, document_name):
    ...
ParameterTypeDescription
printer_namestrThe name of the printer.Can be Null
document_namestrThe document name to display (for example, in a print status dialog box or printer queue) while printing the document.

print(printer_settings, document_name, options)

Prints the document according to the specified printer settings,using the standard (no User Interface) print controller and a document name.

def print(self, printer_settings, document_name, options):
    ...
ParameterTypeDescription
printer_settingsaspose.pydrawing.printing.PrinterSettingsThe printer settings to use.
document_namestrThe document name to display (for example, in a print status dialog box or printer queue) while printing the document.
optionsaspose.diagram.saving.PrintSaveOptionsThe print options.

print(printer_name, document_name, options)

Prints the document,using the standard (no User Interface) print controller and a document name.

def print(self, printer_name, document_name, options):
    ...
ParameterTypeDescription
printer_namestrThe name of the printer.Can be Null
document_namestrThe document name to display (for example, in a print status dialog box or printer queue) while printing the document.
optionsaspose.diagram.saving.PrintSaveOptionsThe print options.

See Also