easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

QueueWaitTimeout Property

Gets/Sets queue wait timeout value.


Long (milliseconds)


Since Outlook cannot perform multiple conversions at the same time, each conversion request via PrintOut method will be put into queue, and they are converted one at a time. A waiting print job will timout if it waits for more than the value specified in QueueWaitTimeout property.

Timeout value is in milliseconds. Set to zero if you want to wait indefinitely.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.OutlookPrintJob
' Set queue waiting timeout value to 2 minutes
oPrintJob.QueueWaitTimeout = 2 * 60000
oPrintJob.PrintOut "C:\test\input.msg", "C:\test\output.pdf"