Free Support Forum - aspose.com

Aspose.word document.print method

Im finding that the Print method is taking an absolute age to complete.

Im creating a sample document (<100Kb) and then running the following line of code

Dim doc as Document=getMySampleDoc()

Dim settings as New System.Drawing.Printing.PrinterSettings()

settings.PrinterName="\\MyServer\MyPrinter"

doc.Print(settings,"MyAsposeDoc")

The doc does eventually appear on the print queue but anything up to an hour later!

If I change the printer to a local printer then it appears on the queue immediately

If I send a document to printer from notepad or word directly, the doc appears on print queue immediately

Any help appreciated


This message was posted using Email2Forum by hammad.abbasi.

Hi,


Thanks for your inquiry. I have already answered your query here in this post. Please follow that thread for further proceedings.