Free Support Forum -

Set the name of the print job

I'm using version of Aspose.Words.

Is there a way to set the document name that will show up in the print queue? Right now, if I create a document object and call document.print, then the document name in the print queue is set to "document". If I print the same file using Microsoft Word, the document name in the print queue is "Word - MyFile.doc".

Is there a way to set the document name that shows up in the print queue to the name of the file? The reason I ask is because I need to write an application that can keep up with the status of a set of files as they are going though the print queue by using WMI queries (job = New ManagementObject("Win32_PrintJob='" & jobName & "'")). I could do that if the items in the print queue were different. But, they all show up as 'document'.




<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. The latest version of Aspose.Words supports this. Please see the following link for more information:

You can download the latest version from here:

Best regards.

What is the oldest version of Aspose.Words that supports this new Document.Print() that takes a ‘document name’ parameter? Is there any other way to do this should we not have access to that version of Aspose.Words?

Just a note, I’m using v6.2 and it doesn’t have it.



Thanks for your request. This feature was introduced in 8.0.0 version of Aspose.Words:

Every Aspose license carries one-year subscription for free upgrades to new versions released during this time. To check an expiration date of your license open the license file using notepad. You will see the following tags:


It means that you can free upgrade to version of Aspose.Words published before 02/18/2011.

Best regards.