Hello,
Please help with the issue below. I need my Aspose object to use the print setting object provided but it looks like its not using what is provided. I am not sure what the issue is. When I print same with MSWord it does print 1-16 pages with duplex. Aspose is printing all the pages and non duplex.
Any ideas ?
mobjMainAsposeDoc.Open("XYZ.Doc")
Dim lPrintSettings As New System.Drawing.Printing.PrinterSettings
Dim lPaperSize As New System.Drawing.Printing.PaperSize
lPrintSettings.Duplex = True
lPrintSettings.Copies = 1
lPrintSettings.FromPage = 1
lPrintSettings.ToPage = 16
'lPrintSettings.DefaultPageSettings.PaperSize =lPaperSize.
mobjMainAsposeDoc.Print(lPrintSettings)