We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Issue / Question when printing a document

Hi


We are looking to use the Aspose Word library to replace word within our application. We have an issue when we print the document. Our software integrates with another application which monitors the print queue on the machine and interfaces with it. e.g. we tell this third party application that we have sent [My Document Name].docx to the printer and it then monitors the queue and performs some additional work.

The issue we would appear to have is when we send a document to the printer - AsposeWordsPrintDocument.Print - the name that is appearing in the printer queue is simply “document”. The OriginalFileName property is set as we would expect (ie there is a filename in this property) but is there an additional property we need to set manually?

Thanks
Ed

Hi Ed,


Thanks for your inquiry.

I think you can just use the DocumentName property of the AsposeWordsPrintDocument class to specify the file name during printing.

Please let us know if there are any other issues.

Thanks,

Adam


Thanks - just the job and all working as we would hope.

Ed