Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: print iframe

  1. #1
    Regular Coder
    Join Date
    May 2004
    Thanked 0 Times in 0 Posts

    print iframe

    Helllo all
    I have a page that contains an iframe window. I would like to place a print link within the iframe window. Is it possible to place the print button within the iframe and only print the contents of the iframe window or do I have to place the print button on the parent window??

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    the U.S. of freakin' A.
    Thanked 158 Times in 149 Posts
    Are your iframe contents local, or are you linking to someone else's site and server?

    To place a print button inside the iframe itself, the page would have to be local...I don't think there is a way around this if the page is from someone elses's site...

    As far as printing just the iframe window itself, there is a way to do this with javascript, but I don't know how easy it is, and I don;t know how much javascript you know...

    If you do a search for "print iframe" on this message board (see link at the top of this page), there is message string that addresses almost this exact same issue:


    It usually helps if you do a search before posting a repeat question....just FYI

    hope this helps....
    Last edited by chump2877; 01-24-2005 at 06:35 AM.
    Regards, R.J.


    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

  • #3
    New Coder
    Join Date
    Jan 2009
    Thanked 0 Times in 0 Posts

    How to print an iframe without the URL?

    Hi all,

    I am printing an iframe in javascript. But the url appears in the web page also comes to the print out. Can I know a way to avoid this issue?


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts