I am using the following code to print the excel workbook, but it doesn't seem to respect the copies number I input in the print dialogue, it always just print one copy, I am not sure this is a bug or I miss to set up some properties?
MyWorkBook = New Workbook("C:\Users\wmeng\Desktop\ChartTest1.xlsx")
Dim options As New Aspose.Cells.Rendering.ImageOrPrintOptions()
Hi <span style=“font-size:12.0pt;font-family:“Times New Roman”,“serif”;
mso-fareast-font-family:“Times New Roman”;mso-ansi-language:EN-CA;mso-fareast-language:
ZH-CN;mso-bidi-language:AR-SA”>Amjad ,
Thanks for your update, this solution doesn’t meet our requirement. We want to take the copies number from print dialog which users has choice to select how many copies to print, not hard code in the program.
when I use this wr.ToPrinter(pdlg.PrinterSettings) statement to print, I checked the copies properties value in the pdlg.PrinterSetting is correct number, but it doesn’t print the number of copies when it actually print. Somehow I think this maybe a bug.
I have logged a ticket with an id “CELLSNET-43133” for your issue into our database. We need to thoroughly investigate and look into it if there is an issue when
printing multiple copies of the document using the Printer dialog box
while rendering to Printer by Aspose.Cells’ WorkbookRender APIs. We will look into it soon.
Once we have any update on it, we will let you know here.
Good to know that it figures out your issue now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.