function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ricky MartinRicky Martin 

How to view the external webpage and show as the PDF

I have tried the following cod to render as PDF, but website is not render when using the render as PDF.
If I remove the PDF, the webpage is loading.

    Code:
   
     <apex:page render="pdf">
I jsut use the fram to laod the page here.
    // external webstie link (ex: bing.com)
    </apex:page>
bob_buzzardbob_buzzard
According to the Visualforce Developer's Guide, iframes are unsafe to use when generating PDFs, which usually translates to your PDF will break. 
Avidev9Avidev9
Few days back I wrote a small JS component to create PDF from a URL . Was never tested for a external page but you can try to modify it to make it work , You can find the same here http://blogforce9.blogspot.in/2014/05/pdfattacher-attach-visualforce-pdf.html

I feel like you may face Cross Domain issue with JS.