It works fine if I pass in yahoo or google address but when I pass in an
intranet address.. the pdf isn't generated. It just hangs. If I use the
native method with file protocol it returns a plain pdf w/ no styles. Any
help would be greatly appreciated.
CFOBJECT ACTION=""> TYPE="COM"
CLASS="APWebGrabberCF.Object"
NAME="WebGrabber">
CFOBJECT ACTION=""> TYPE="COM"
CLASS="APServerCF.Object"
NAME="APServer">
CFSET keywds = "activePDF example">
CFSET APServer.PDFKeywords = keywds>
CFSET APServer.OutputDirectory = ExpandPath("results")>
CFSET WebGrabber.Prt2DiskSettings = APServer.ToString()>
CFSET WebGrabber.EngineToUse = 1>
!--- <CFSET sURL =
"file://e:\Inetpub\wwwroot\InSite\CFExamples\gary\reportlayout.html
<file://e:\Inetpub\wwwroot\InSite\CFExamples\gary\reportlayout.html> "> --->
CFSET sURL = "http://indev/CFExamples/gary/reportlayout.html?pass=1
<http://indev/CFExamples/gary/reportlayout.html?pass=1> ">
CFSET WebGrabber.URL = "">
CFSET sessionResults = WebGrabber.DoPrint("127.0.0.1",64320)>
CFSET waitResults = WebGrabber.Wait("127.0.0.1",64320,180,"")>
CFSET APServer.FromString(WebGrabber.Prt2DiskSettings)>
CFSET rCode = APServer.Wait(600)>
CFSET pdf = ExpandPath("results") & "/" & APServer.NewUniqueID & ".pdf">
<http://www.wng.com/>
Tim Do
Programmer/Analyst
Western National Group
949.862.6231
www.wng.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

