Free Support Forum - aspose.com

Printing: Document Name

Hi,

When printing a document, the document name as displayed by the printer popup is "document" rather than the actual document name that is printed. Is there a way to do this? I've reviewed the properties on the PrinterSettings class, but was unable to find any that suited my need.

Thanks

Nolan

Hi Nolan,

Thanks for you inquiry.

You can use one of the Print overloads which accept both a PrinterSettings object and a String, which is the name of the document. Please see the link here: http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.document.print_overload_4.html

If you have any further queries, please feel free to ask.

Thanks,