Free Support Forum -

Using the SheetToPrinter method

Does Aspose.Cells v 4.5.0 have a method to determine the default PrinterName for the computer running the application?


Well, there is no such api for the task yet, we will look into it soon.

Thank you.


Please get the printer name with the following codes :

System.Drawing.Printing.PrinterSettings.StringCollection printers= System.Drawing.Printing.PrinterSettings.InstalledPrinters;
for (int i = 0; i < printers.Count; i++)