• Resolved cbrendlinger

    (@cbrendlinger)


    I have embedded an iframe on a page which is actually a functioning excel spreadsheet. When I use the element id that I have assigned to the iframe along with print-o-matic, it prints the spreadsheet just fine except, it never captures changes. I would like to be able to print the results of the calculations done in the spreadsheet, not the way it looks initially. I don’t know if this is even possible because to me, it seems like the order of operations would need to change so that the print option is made available after the calculations. If you have any thoughts, I would appreciate you sharing them. This is a really great plugin. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Does the Iframe belong to same domain?
    A link would be most helpful here.

    Thread Starter cbrendlinger

    (@cbrendlinger)

    No, the iframe is external. I am embedding an excel spreadsheet saved on my Onedrive. Thank you for taking a look. https://yourexitmap.com/exit-planning-valuation-sanity-check/

    Plugin Contributor twinpictures

    (@twinpictures)

    I am afraid I have some sad news for you.
    Since the iframe content is on another domain, the content inside the iframe doesn’t get included when the browsers builds the DOM. the jQuery clone function just clones the iframe with its attributes but without the content inside. It is like copy-pasting the <iframe src=”SOMEURL”>. So, it sends a new HTTP request for the requested iframe… new request = no user modifications = sad cbrendlinge.

    You might check with Onedrive and see what they recommend by way of printing. Does it work when you simply use the print dialogue directly out of the browser: File > Print? Sorry we can not be of more assistance on this issue.

    Thread Starter cbrendlinger

    (@cbrendlinger)

    I thought this might be the case but I really appreciate you looking into it. I can get it to print the entire page with updates but it splits the spreadsheet across multiple pages and I was hoping to provide a cleaner solution. Thank you so much for your help!

    Plugin Contributor twinpictures

    (@twinpictures)

    Wish we could provide a more satisfactory answer. thank you for your understanding. Make it a great day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Close but not quite working with iframe’ is closed to new replies.