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):
...
| Parameter | Type | Description |
|---|---|---|
| options | aspose.diagram.saving.PrintSaveOptions | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_name | str | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_settings | aspose.pydrawing.printing.PrinterSettings | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_name | str | The name of the printer.Can be Null |
| options | aspose.diagram.saving.PrintSaveOptions | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_settings | aspose.pydrawing.printing.PrinterSettings | The printer settings to use. |
| options | aspose.diagram.saving.PrintSaveOptions | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_settings | aspose.pydrawing.printing.PrinterSettings | The printer settings to use. |
| document_name | str | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_name | str | The name of the printer.Can be Null |
| document_name | str | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_settings | aspose.pydrawing.printing.PrinterSettings | The printer settings to use. |
| document_name | str | The document name to display (for example, in a print status dialog box or printer queue) while printing the document. |
| options | aspose.diagram.saving.PrintSaveOptions | The 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):
...
| Parameter | Type | Description |
|---|---|---|
| printer_name | str | The name of the printer.Can be Null |
| document_name | str | The document name to display (for example, in a print status dialog box or printer queue) while printing the document. |
| options | aspose.diagram.saving.PrintSaveOptions | The print options. |
See Also
- module aspose.diagram
- class Diagram