See this should work shouldn't it?

<cfsetting showdebugoutput="No" />
<cfhttp url="http://www.google.com.au"; resolveurl="Yes"></cfhttp>
<cfdocument format="PDF" name="pdf"
saveAsName="#expandPath('pdf.pdf')#"><cfoutput>#TRIM(CFHTTP.FileContent)#</c
foutput></cfdocument>

But its not saveing the file..... 

-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Thursday, 18 September 2008 3:27 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


or (following on from Chris)

screen-scrape with CFHTTP and *then* use cfdocument.

(I hope this isn't checking how a design looks on different operating
systems or browsers ... that's a totally different kettle of fish)



On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch <[EMAIL PROTECTED]>
wrote:
>
> On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis <[EMAIL PROTECTED]>
wrote:
>> I have a requirement to generate a PDF and/or JPG of a website page.  
>> Can anyone provide and recommendations to achieve this reliably?
>
> <cfdocument format="PDF" ...>...</cfdocument>
>
>
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> September meeting: It's Going To Be Brilliant
> Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
> http://apugs2008september.eventbrite.com
>
> >
>





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to