to_printer method
Contents
[
Hide
]to_printer
Render worksheet to Printer
def to_printer(self, printer_name):
...
Parameter | Type | Description |
---|---|---|
printer_name | str | the name of the printer , for example: “Microsoft Office Document Image Writer” |
to_printer
Render worksheet to Printer
def to_printer(self, printer_settings):
...
Parameter | Type | Description |
---|---|---|
printer_settings | aspose.pydrawing.printing.PrinterSettings | the settings of printer, e.g. PrinterName, Duplex |
to_printer
Render worksheet to Printer
def to_printer(self, printer_name, job_name):
...
Parameter | Type | Description |
---|---|---|
printer_name | str | the name of the printer , for example: “Microsoft Office Document Image Writer” |
job_name | str | set the print job name |
to_printer
Render worksheet to Printer
def to_printer(self, printer_settings, job_name):
...
Parameter | Type | Description |
---|---|---|
printer_settings | aspose.pydrawing.printing.PrinterSettings | the settings of printer, e.g. PrinterName, Duplex |
job_name | str | set the print job name |
to_printer
Render worksheet to Printer
def to_printer(self, printer_name, print_page_index, print_page_count):
...
Parameter | Type | Description |
---|---|---|
printer_name | str | the name of the printer , for example: “Microsoft Office Document Image Writer” |
print_page_index | int | the 0-based index of the first page to print, it must be in Range [0, SheetRender.PageCount-1] |
print_page_count | int | the number of pages to print, it must be greater than zero |
Remarks
NOTE: This method is now obsolete. Instead, please use ToPrinter(string PrinterName) and ImageOrPrintOptions.PageIndex, PageCount to set the first page and the number of pages to print. This property will be removed 12 months later since December 2021. Aspose apologizes for any inconvenience you may have experienced.
See Also
- module
aspose.cells.rendering
- class
SheetRender