WaitTimeAfterPageIsLoaded Property

Gets/Sets time to wait before printing after the page is completely loaded.


Type: Long (milliseconds)

Remarks

For a HTML page containing an embedded object such as Java applet, they are sometimes not printed correctly because the applet rendering can happen after the page is completely loaded. If you encounter such problem, use this property to wait until the rendering from the embedded object is finished.

Example Usage


Set oPrinter = CreateObject("easyPDF.Printer.5")

Set oPrintJob = oPrinter.IEPrintJob

' wait 5 seconds after page is loaded
oPrintJob.WaitTimeAfterPageIsLoaded = 5000

oPrintJob.PrintOut "C:\input.htm", "C:\output.pdf"

 

 

<<