Hello,I have downloaded the 10.1 verson.But I get an error. This is what we used to do for printing to a print job on the server:
public static void Print(Aspose.Words.Document document, string printerName, string jobName, bool isWait)
if (document == null)
throw new ArgumentNullException("document");
// Use Aspose.Words to convert the document to XPS and store in a memory stream.
MemoryStream stream = new MemoryStream();
document.SaveToXps(0, document.PageCount, stream, null);
stream.Position = 0;
Print(stream, printerName, jobName, isWait);
}Jowever the SaveToXps doesn't work anymore.
What should I use now to print to a stream which can be added to a printerName and JjobName?