Specify Job or Document Name while printing with Aspose.Cells
Contents
[
Hide
]
You can specify Job or Document Name while printing your workbook or worksheet using the WorkbookRender or SheetRender objects. Aspose.Cells provides the WorkbookRender.ToPrinter(printerName, jobName) and SheetRender.ToPrinter(printerName, jobName) methods which you can use to specify Job Name while printing your workbook or worksheet
Specify Job or Document Name while printing with Aspose.Cells
The sample code loads the source Excel file and then sends it to printer by specifying the job or document name using the WorkbookRender.ToPrinter(printerName, jobName) and SheetRender.ToPrinter(printerName, jobName) methods.
Sample Code