Hello,
I’m trying to print a document using the XpsPrintHelper Class you suggested in Aspose.Words.Samples. I must print the document with a custom page size. If I open the document in Microsoft Word and print it, it has the correct size and the correct paper tray is used. If I print it with XpsPrintHelper on the same printer, it takes the wrong paper tray (A4). I saved the XPS memory stream to the file system and opened it, and it seems that this file has the correct size.
Can I specify the page size when I print it with XpsPrintHelper?
Thanks in advance.