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

InitializationTimeout Property

Gets/Sets initialization timeout value.

int InitializationTimeout { get; set; }

Property InitializationTimeout As Integer

def getInitializationTimeout(self)
def setInitializationTimeout(self, value)
int getInitializationTimeout() throws PrinterException
void setInitializationTimeout(int value) throws PrinterException
function getInitializationTimeout() 
function setInitializationTimeout($value) 
BclPrnResult GetInitializationTimeout(BclPrinter* pPrinter, int* poutVal);
BclPrnResult SetInitializationTimeout(BclPrinter* pPrinter, int newVal);
Property InitializationTimeout As Long

bepprint -initTimeout <seconds>

Type:

Long (milliseconds)

Remarks

This timeout value is used during easyPDF initialization.  Initialization is done when easyPDF is ready for printing (open host application, open input document, initialize printer driver).

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.PrintJob

' Set initialization timeout value to 1 minutes
oPrintJob.InitializationTimeout = 1 * 60000

' Set page conversion timeout value to 1 minutes
oPrintJob.PageConversionTimeout = 1 * 60000

' Set file conversion timeout value to 5 minutes
oPrintJob.FileConversionTimeout = 5 * 60000

oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"