I may upgrade my Aspose.Words license to use the new rendering engine to convert docs to pdf and print to printers.
- Do I need Aspose.pdf for any reason?
- Can you show sample code to print to a specific printer, and a specific printer tray. Is this a built in .Net process to get to the printer and tray? It is very easy in Word VBA, where I use code such as:
With objWord.Dialogs(wdDialogFilePrintSetup) .Printer = ActivePrinterValue .DoNotSetAsSysDefault = True .Execute() End With objWrdDoc.PageSetup.FirstPageTray = TrayValue objWrdDoc.PageSetup.OtherPagesTray = TrayValue objWrdDoc.PrintOut
I have a program I wrote that uses Word VBA to store the TrayValue in the registry. Do you have sample code on how Aspose can print directly to the printer and tray.